energy_fault_detector.core.model_factory
- class ModelFactory(config)
Bases:
objectInitialize 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:
- property autoencoder: Autoencoder
Get the autoencoder model.
- Returns:
The initialized autoencoder model.
- Return type:
- property data_preprocessor: DataPreprocessor
Get the data preprocessor model.
- Returns:
The initialized data preprocessor model.
- Return type:
- property threshold_selector: ThresholdSelector
Get the threshold selector model.
- Returns:
The initialized threshold selector model.
- Return type: