The factory to create the machine learning algorithms.
This module contains a factory to instantiate a
MLAlgo from its class name.
This factory also provides a list of available machine learning algorithms and allows
testing if a machine learning algorithm is available.
- class gemseo.mlearning.core.factory.MLAlgoFactory¶
This factory instantiates a
MLAlgofrom 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.