gemseo / mlearning / classification

Show inherited members

factory module

A factory to create classification models.

This module contains a factory to instantiate an MLClassificationAlgo from its class name.

It also provides a list of available classification models and allows testing if a classification model type is available.

class gemseo.mlearning.classification.factory.ClassificationModelFactory[source]

Bases: MLAlgoFactory

This factory instantiates an MLRegressionAlgo from its class name.

The class can be either internal or external. In this second case, it can be either implemented in a module referenced in the GEMSEO_PATH or in a module The class can be either internal or external. In the second case, it can be either implemented in a module referenced in the GEMSEO_PATH environment variable or in a module starting with gemseo_ and referenced in the PYTHONPATH environment variable.

Return type:

Any

failed_imports: dict[str, str]

The class names bound to the import errors.