DriftDetectorBase<T>
Base Classes · AiDotNet.DriftDetection
Base class for drift detectors providing common functionality.
Implements: IDriftDetector<T>
Known derived types: ADWIN<T>, DDMDriftDetector<T>, DDM<T>, EDDMDriftDetector<T>, EDDM<T>, PageHinkleyDriftDetector<T>, PageHinkley<T>
For Beginners
This base class provides the common infrastructure needed by all drift detectors: tracking observations, managing state, and calculating statistics.
Properties
| Property | Summary |
|---|---|
bool IsInDrift { get; set; } |
Gets or sets whether drift has been detected. |
bool IsInWarning { get; set; } |
Gets or sets whether a warning has been triggered. |
double DriftProbability { get; set; } |
Gets or sets the estimated drift probability. |
double EstimatedMean { get; set; } |
Gets or sets the estimated mean of observations. |
int ObservationCount { get; set; } |
Gets the total observation count. |
Methods
| Method | Summary |
|---|---|
bool AddObservation(T value) |
Adds a new observation to the detector. |
void Reset() |
Resets the detector to its initial state. |