:py:mod:`sklearn_pmml_model.auto_detect.base` ============================================= .. py:module:: sklearn_pmml_model.auto_detect.base Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: sklearn_pmml_model.auto_detect.base.auto_detect_estimator sklearn_pmml_model.auto_detect.base.auto_detect_classifier sklearn_pmml_model.auto_detect.base.auto_detect_regressor sklearn_pmml_model.auto_detect.base.detect_classifier sklearn_pmml_model.auto_detect.base.detect_regressor .. py:function:: auto_detect_estimator(pmml, **kwargs) Automatically detect and return the described estimator from PMML file. :Parameters: **pmml** : str, object Filename or file object containing PMML data. .. !! processed by numpydoc !! .. py:function:: auto_detect_classifier(pmml, **kwargs) Automatically detect and return the described classifier from PMML file. :Parameters: **pmml** : str, object Filename or file object containing PMML data. .. !! processed by numpydoc !! .. py:function:: auto_detect_regressor(pmml, **kwargs) Automatically detect and return the described regressor from PMML file. :Parameters: **pmml** : str, object Filename or file object containing PMML data. .. !! processed by numpydoc !! .. py:function:: detect_classifier(line) Detect the type of classifier in line if present. :Parameters: **line** : str, bytes Line of a PMML file as a string. **pmml** : str, object Filename or file object containing PMML data. .. !! processed by numpydoc !! .. py:function:: detect_regressor(line) Detect the type of regressor in line if present. :Parameters: **line** : str, bytes Line of a PMML file as a string. **pmml** : str, object Filename or file object containing PMML data. .. !! processed by numpydoc !!