A factory to create classification models.
This module contains a factory to instantiate a
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¶
This factory instantiates a
MLRegressionAlgofrom 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_PATHor 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_PATHenvironment variable or in a module starting with
gemseo_and referenced in the
- Return type
- create(ml_algo, **options)¶
Create an instance of a machine learning algorithm.
Check the availability of a machine learning algorithm.
Load an instance of machine learning algorithm from the disk.