gemseo.mlearning.core.algos.ml_algo_settings module#
Settings for the machine learning algorithms.
- Settings BaseMLAlgoSettings(*, transformer=None, parameters=None)[source]#
Bases:
BaseModel
The settings common to all the machine learning algorithms.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- parameters: StrKeyMapping [Optional]#
Other parameters.
- transformer: StrKeyMapping [Optional]#
The strategies to transform the variables.
The values are instances of
BaseTransformer
while the keys are the names of either the variables or the groups of variables, e.g."inputs"
or"outputs"
in the case of the regression algorithms. If a group is specified, theBaseTransformer
will be applied to all the variables of this group. IfIDENTITY
, do not transform the variables.