energy_fault_detector.core.model_factory

class ModelFactory(config)

Bases: object

Initialize the ModelFactory with a given configuration.

Parameters:

config (Config) – Configuration object containing model parameters.

property anomaly_score: AnomalyScore

Get the anomaly score model.

Returns:

The initialized anomaly score model.

Return type:

AnomalyScore

property autoencoder: Autoencoder

Get the autoencoder model.

Returns:

The initialized autoencoder model.

Return type:

Autoencoder

property data_preprocessor: DataPreprocessor

Get the data preprocessor model.

Returns:

The initialized data preprocessor model.

Return type:

DataPreprocessor

property threshold_selector: ThresholdSelector

Get the threshold selector model.

Returns:

The initialized threshold selector model.

Return type:

ThresholdSelector