akkudoktoreos.prediction.predictionabc

Abstract and base classes for predictions.

This module provides classes for managing and processing prediction data in a flexible, configurable manner. It includes classes to handle configurations, record structures, sequences, and containers for prediction data, enabling efficient storage, retrieval, and manipulation of prediction records.

This module is designed for use in predictive modeling workflows, facilitating the organization, serialization, and manipulation of configuration and prediction data in a clear, scalable, and structured manner.

Classes

PredictionBase()

Base class for handling prediction data.

PredictionContainer(*args, providers)

A container for managing multiple PredictionProvider instances.

PredictionImportProvider(*args, records, ...)

Abstract base class for prediction providers that import prediction data.

PredictionProvider(*args, records, ...)

Abstract base class for prediction providers with singleton thread-safety and configurable prediction parameters.

PredictionRecord(*, date_time, ...)

Base class for prediction records, enabling dynamic access to fields defined in derived classes.

PredictionSequence(*, records)

A managed sequence of PredictionRecord instances with list-like behavior.

PredictionStartEndKeepMixin()

A mixin to manage start, end, and historical retention datetimes for prediction data.