Scalable model factory¶
This module contains the
ScalableModelFactory which is a factory
to create a
ScalableModel from its class name by means of the
ScalableModelFactory.create() method. It is also possible to get a list
of available scalable models
and to check is a type of scalable model is available
- class gemseo.problems.scalable.data_driven.factory.ScalableModelFactory¶
This factory instantiates a class:.ScalableModel 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 ScalableModel.
Searches in “GEMSEO_PATH” and gemseo.caches
- create(model_name, data, sizes=None, **parameters)¶
Create a scalable model.
Checks the availability of a scalable model.