DDM#
- class frouros.detectors.concept_drift.streaming.ddm_based.DDM(config: Optional[DDMBaseConfig] = None, callbacks: Optional[Union[Callback, List[Callback]]] = None)#
DDM (Drift detection method) [gama2004learning] detector.
- References:
[gama2004learning]Gama, Joao, et al. “Learning with drift detection.” Advances in Artificial Intelligence–SBIA 2004: 17th Brazilian Symposium on Artificial Intelligence, Sao Luis, Maranhao, Brazil, September 29-Ocotber 1, 2004. Proceedings 17. Springer Berlin Heidelberg, 2004.
- property additional_vars: Optional[Dict[str, Any]]#
Additional variables property.
- Returns:
additional variables
- Return type:
Optional[Dict[str, Any]]
- property callbacks: Optional[List[Callback]]#
Callbacks property.
- Returns:
callbacks
- Return type:
Optional[List[Callback]]
- property config: ConceptDriftBaseConfig#
Config property.
- Returns:
configuration parameters of the estimator
- Return type:
ConceptDriftBaseConfig
- property min_error_rate: float#
Minimum error rate property.
- Returns:
minimum error rate to use
- Return type:
float
- property min_error_rate_plus_std: float#
Minimum error rate + std property.
- Returns:
minimum error rate + std to determine if a change is happening
- Return type:
float
- property min_std: float#
Minimum standard deviation property.
- Returns:
minimum standard deviation to use
- Return type:
float
- property num_instances: int#
Number of instances counter property.
- Returns:
Number of instances counter value
- Return type:
int
- reset() None#
Reset method.
- property status: Dict[str, bool]#
Status property.
- Returns:
status dict
- Return type:
Dict[str, bool]
- update(value: Union[int, float], **kwargs) Dict[str, Any]#
Update method.
- Parameters:
value (Union[int, float]) – value to update detector
- property warning: bool#
Warning property.
- Returns:
warning value
- Return type:
bool