
    =y!d                     P    d dl Z ddlmZ d Z e j         e                       dS )    N   )patch_sklearnc                  r   dd l } |                     dd| j                  }|                    dddd	           |                    d
d           |                    d| j        d           |                                }	 dd l}t                       n# t          $ r t          d           Y nw xY w|j
        g|j        z   t          _        d|j
        z   t                      v r$ t                      d|j
        z            |j         S dd l}|j        r|j        n|j        } ||j
        d           d S )Nr   z!python -m daal4py.sklearn_patchesz
            Run your Python script with Intel(R) Distribution for
            Python* patches of scikit-learn, optimizing solvers of
            scikit-learn with Intel(R) oneAPI Data Analytics Library.
            )progdescriptionformatter_classz-m
store_truemodulezExecutes following as a module)actiondesthelpnamezScript or module name)r   argszCommand line arguments)nargsr   z4Scikit-learn could not be imported. Nothing to patch___main__)run_name)argparseArgumentParserArgumentDefaultsHelpFormatteradd_argument	REMAINDER
parse_argssklearnr   ImportErrorprintr   r   sysargvglobalsrunpyr
   
run_modulerun_path)r   parserr   r   r    runfs         0lib/python3.11/site-packages/daal4py/__main__.py_mainr&      s   OOO$$0
 !> % @ @F \=  ? ? ?
%<===
h&85  7 7 7DF F F FDEEEEEF 	{TY&CH
TY'))##)wyyty)4955LLL#{>5DDZ((((((s   B B32B3)r   r   r   r&   exit     r%   <module>r*      sR   $ 


 " " " " " ") ) )B 	     r)   