gemseo.mlearning.core.algos.supervised_settings module#

Settings for the supervised machine learning algorithms.

Settings BaseMLSupervisedAlgoSettings(*, transformer=<factory>, parameters=<factory>, input_names=(), output_names=())[source]#

Bases: BaseMLAlgoSettings

The settings common to all the supervised 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:
  • transformer (Mapping[str, Any]) --

    By default it is set to <factory>.

  • parameters (Mapping[str, Any]) --

    By default it is set to <factory>.

  • input_names (Sequence[str]) --

    By default it is set to ().

  • output_names (Sequence[str]) --

    By default it is set to ().

Return type:

None

input_names: Sequence[str] = ()#

The names of the input variables

output_names: Sequence[str] = ()#

The names of the output variables