sklearn_pmml_model.auto_detect.base#

Module Contents#

Functions#

auto_detect_estimator(pmml, **kwargs)

Automatically detect and return the described estimator from PMML file.

auto_detect_classifier(pmml, **kwargs)

Automatically detect and return the described classifier from PMML file.

auto_detect_regressor(pmml, **kwargs)

Automatically detect and return the described regressor from PMML file.

detect_classifier(line)

Detect the type of classifier in line if present.

detect_regressor(line)

Detect the type of regressor in line if present.

sklearn_pmml_model.auto_detect.base.auto_detect_estimator(pmml, **kwargs)#

Automatically detect and return the described estimator from PMML file.

Parameters:
pmmlstr, object

Filename or file object containing PMML data.

sklearn_pmml_model.auto_detect.base.auto_detect_classifier(pmml, **kwargs)#

Automatically detect and return the described classifier from PMML file.

Parameters:
pmmlstr, object

Filename or file object containing PMML data.

sklearn_pmml_model.auto_detect.base.auto_detect_regressor(pmml, **kwargs)#

Automatically detect and return the described regressor from PMML file.

Parameters:
pmmlstr, object

Filename or file object containing PMML data.

sklearn_pmml_model.auto_detect.base.detect_classifier(line)#

Detect the type of classifier in line if present.

Parameters:
linestr, bytes

Line of a PMML file as a string.

pmmlstr, object

Filename or file object containing PMML data.

sklearn_pmml_model.auto_detect.base.detect_regressor(line)#

Detect the type of regressor in line if present.

Parameters:
linestr, bytes

Line of a PMML file as a string.

pmmlstr, object

Filename or file object containing PMML data.