Skip to content

dummy_learner

DummyModel(output_names)

Bases: Model

Dummy model that predicts zeros.

This model is useful for testing purposes.

Initialize the model.

Parameters:

Name Type Description Default
output_names list[str]

The names of the output features.

required
Source code in src/flowcean/learners/dummy_learner.py
16
17
18
19
20
21
22
def __init__(self, output_names: list[str]) -> None:
    """Initialize the model.

    Args:
        output_names: The names of the output features.
    """
    self.output_names = output_names

DummyLearner

Bases: SupervisedLearner

Dummy learner that learns nothing.

This learner is useful for testing purposes.