Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Saulo Martiello Mastelini committed Oct 26, 2023
1 parent bc9a979 commit efe7bb3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions river/drift/no_drift.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class NoDrift(base.DriftDetector):
>>> from river.datasets import synth
>>> dataset = synth.ConceptDriftStream(
... seed=93,
... seed=8,
... position=500,
... width=40,
... )
Expand All @@ -37,10 +37,10 @@ class NoDrift(base.DriftDetector):
>>> metric = metrics.Accuracy()
>>> evaluate.progressive_val_score(dataset.take(700), model, metric)
Accuracy: 69.96%
Accuracy: 76.25%
>>> model.n_drifts_detected()
1
2
>>> model.n_warnings_detected()
0
Expand All @@ -56,7 +56,7 @@ class NoDrift(base.DriftDetector):
>>> metric = metrics.Accuracy()
>>> evaluate.progressive_val_score(dataset.take(700), stationary_model, metric)
Accuracy: 71.10%
Accuracy: 76.25%
>>> stationary_model.n_drifts_detected()
0
Expand Down

0 comments on commit efe7bb3

Please sign in to comment.