gemseo / mlearning / regression

factory module

Regression model factory

This module contains a factory to instantiate a MLRegressionAlgo from its class name. The class can be internal to GEMSEO or located in an external module whose path is provided to the constructor. It also provides a list of available regression models and allows you to test if a regression model type is available.

class gemseo.mlearning.regression.factory.RegressionModelFactory[source]

Bases: gemseo.mlearning.core.factory.MLAlgoFactory

This factory instantiates a MLRegressionAlgo from its class name. The class can be internal to GEMSEO or located in an external module whose path is provided to the constructor.

Initializes the factory: scans the directories to search for subclasses of MLRegressionAlgo. Searches in “GEMSEO_PATH” and gemseo.mlearning.regression.