Binary classification¶
Model | Dataset | Accuracy | F1 | Memory in Mb | Time in s |
---|---|---|---|---|---|
ADWIN Bagging | Bananas | 0.625967 | 0.448218 | 0.400658 | 942.73 |
ADWIN Bagging | Elec2 | 0.823773 | 0.776587 | 0.598438 | 8970.15 |
ADWIN Bagging | Phishing | 0.893515 | 0.879201 | 1.31008 | 568.218 |
ADWIN Bagging | SMTP | 0.999685 | 0 | 0.164217 | 8006.78 |
ALMA | Bananas | 0.506415 | 0.482595 | 0.0029211 | 68.9731 |
ALMA | Elec2 | 0.906427 | 0.889767 | 0.00435829 | 836.498 |
ALMA | Phishing | 0.8256 | 0.810764 | 0.0045805 | 29.7613 |
ALMA | SMTP | 0.764986 | 0.00178548 | 0.00309372 | 1361.61 |
AdaBoost | Bananas | 0.677864 | 0.645041 | 0.453154 | 876.714 |
AdaBoost | Elec2 | 0.880581 | 0.858687 | 13.5424 | 10153.7 |
AdaBoost | Phishing | 0.878303 | 0.863555 | 0.873312 | 552.609 |
AdaBoost | SMTP | 0.999443 | 0.404494 | 1.33633 | 6617.5 |
Adaptive Random Forest | Bananas | 0.88696 | 0.871707 | 15.3551 | 2603.02 |
Adaptive Random Forest | Elec2 | 0.876608 | 0.852391 | 22.3949 | 12397.6 |
Adaptive Random Forest | Phishing | 0.907926 | 0.896116 | 4.10291 | 743.377 |
Adaptive Random Forest | SMTP | 0.999685 | 0 | 0.327095 | 11543.4 |
Aggregated Mondrian Forest | Bananas | 0.889413 | 0.874249 | 17.2377 | 2954.75 |
Aggregated Mondrian Forest | Elec2 | 0.849904 | 0.819731 | 287.315 | 18206.6 |
Aggregated Mondrian Forest | Phishing | 0.904724 | 0.892112 | 3.39106 | 807.573 |
Aggregated Mondrian Forest | SMTP | 0.999863 | 0.734694 | 0.211749 | 5848.87 |
Bagging | Bananas | 0.634082 | 0.459437 | 0.703124 | 1170.85 |
Bagging | Elec2 | 0.840436 | 0.80208 | 2.28896 | 13164.5 |
Bagging | Phishing | 0.893515 | 0.879201 | 1.38826 | 633.136 |
Bagging | SMTP | 0.999685 | 0 | 0.207971 | 8814.84 |
Hoeffding Adaptive Tree | Bananas | 0.616531 | 0.42825 | 0.0618467 | 163.516 |
Hoeffding Adaptive Tree | Elec2 | 0.821258 | 0.787344 | 0.435328 | 2980.69 |
Hoeffding Adaptive Tree | Phishing | 0.874299 | 0.856095 | 0.142962 | 77.865 |
Hoeffding Adaptive Tree | SMTP | 0.999685 | 0 | 0.0241137 | 2094.95 |
Hoeffding Tree | Bananas | 0.642197 | 0.503405 | 0.0594654 | 93.5302 |
Hoeffding Tree | Elec2 | 0.795635 | 0.750834 | 0.938466 | 1485.98 |
Hoeffding Tree | Phishing | 0.879904 | 0.860595 | 0.132719 | 54.2758 |
Hoeffding Tree | SMTP | 0.999685 | 0 | 0.0170441 | 1543.56 |
Leveraging Bagging | Bananas | 0.828269 | 0.802689 | 3.23571 | 2747.95 |
Leveraging Bagging | Elec2 | 0.892653 | 0.871966 | 7.56535 | 18763.3 |
Leveraging Bagging | Phishing | 0.894315 | 0.877323 | 4.0114 | 1619.65 |
Leveraging Bagging | SMTP | 0.999674 | 0 | 0.164603 | 17549.6 |
Logistic regression | Bananas | 0.543208 | 0.197015 | 0.00424099 | 82.0689 |
Logistic regression | Elec2 | 0.822144 | 0.777086 | 0.005373 | 953.54 |
Logistic regression | Phishing | 0.8872 | 0.871233 | 0.00556469 | 29.2066 |
Logistic regression | SMTP | 0.999769 | 0.421053 | 0.00438309 | 1531.37 |
Naive Bayes | Bananas | 0.61521 | 0.413912 | 0.0140247 | 97.154 |
Naive Bayes | Elec2 | 0.728741 | 0.603785 | 0.0510378 | 1230.66 |
Naive Bayes | Phishing | 0.884708 | 0.871429 | 0.05723 | 38.528 |
Naive Bayes | SMTP | 0.993484 | 0.0490798 | 0.0201406 | 1826.47 |
Stacking | Bananas | 0.876203 | 0.859649 | 19.1946 | 5236.84 |
Stacking | Elec2 | 0.885458 | 0.864157 | 40.7547 | 22944.4 |
Stacking | Phishing | 0.895116 | 0.882722 | 8.72124 | 2411.41 |
Stacking | SMTP | 0.999685 | 0 | 4.88868 | 24733.2 |
Streaming Random Patches | Bananas | 0.871674 | 0.854265 | 10.5381 | 3551.41 |
Streaming Random Patches | Elec2 | 0.868884 | 0.843009 | 107.322 | 22969 |
Streaming Random Patches | Phishing | 0.913531 | 0.901996 | 6.59559 | 1436.69 |
Streaming Random Patches | SMTP | 0.999685 | 0 | 0.17817 | 18142.3 |
Voting | Bananas | 0.872617 | 0.849162 | 4.58403 | 2790.97 |
Voting | Elec2 | 0.84368 | 0.797958 | 5.7575 | 13925.5 |
Voting | Phishing | 0.896717 | 0.884512 | 4.8203 | 1436.72 |
Voting | SMTP | 0.999779 | 0.487805 | 4.60205 | 18069.8 |
Vowpal Wabbit logistic regression | Bananas | 0.551321 | 0 | 0.000646591 | 88.7248 |
Vowpal Wabbit logistic regression | Elec2 | 0.697475 | 0.459592 | 0.000646591 | 937.011 |
Vowpal Wabbit logistic regression | Phishing | 0.7736 | 0.669778 | 0.000646591 | 27.8334 |
Vowpal Wabbit logistic regression | SMTP | 0.999695 | 0.121212 | 0.000646591 | 1631.37 |
[baseline] Last Class | Bananas | 0.50953 | 0.452957 | 0.000510216 | 30.809 |
[baseline] Last Class | Elec2 | 0.853303 | 0.827229 | 0.000510216 | 341.39 |
[baseline] Last Class | Phishing | 0.515612 | 0.447489 | 0.000510216 | 11.9196 |
[baseline] Last Class | SMTP | 0.999601 | 0.366667 | 0.000510216 | 532.359 |
k-Nearest Neighbors | Bananas | 0.885073 | 0.870838 | 4.50996 | 2974.33 |
k-Nearest Neighbors | Elec2 | 0.853148 | 0.823642 | 4.76604 | 13503.4 |
k-Nearest Neighbors | Phishing | 0.881505 | 0.867145 | 4.59643 | 1552.65 |
k-Nearest Neighbors | SMTP | 0.999821 | 0.666667 | 4.51822 | 17961.1 |
sklearn SGDClassifier | Bananas | 0.546415 | 0.205026 | 0.00557804 | 621.426 |
sklearn SGDClassifier | Elec2 | 0.819099 | 0.772892 | 0.00680161 | 4291.77 |
sklearn SGDClassifier | Phishing | 0.8896 | 0.876122 | 0.00701618 | 167.984 |
sklearn SGDClassifier | SMTP | 0.999706 | 0.363636 | 0.00574303 | 7118.18 |
Try reloading the page if something is buggy
Datasets¶
Bananas
Bananas dataset.
An artificial dataset where instances belongs to several clusters with a banana shape. There are two attributes that correspond to the x and y axis, respectively.
Name Bananas
Task Binary classification
Samples 5,300
Features 2
Sparse False
Path /Users/mastelini/miniconda3/envs/river-benchmark/lib/python3.10/site-packages/river/datasets/banana.zip
Elec2
Electricity prices in New South Wales.
This is a binary classification task, where the goal is to predict if the price of electricity will go up or down.
This data was collected from the Australian New South Wales Electricity Market. In this market, prices are not fixed and are affected by demand and supply of the market. They are set every five minutes. Electricity transfers to/from the neighboring state of Victoria were done to alleviate fluctuations.
Name Elec2
Task Binary classification
Samples 45,312
Features 8
Sparse False
Path /Users/mastelini/river_data/Elec2/electricity.csv
URL https://maxhalford.github.io/files/datasets/electricity.zip
Size 2.95 MB
Downloaded True
Phishing
Phishing websites.
This dataset contains features from web pages that are classified as phishing or not.
Name Phishing
Task Binary classification
Samples 1,250
Features 9
Sparse False
Path /Users/mastelini/miniconda3/envs/river-benchmark/lib/python3.10/site-packages/river/datasets/phishing.csv.gz
SMTP
SMTP dataset from the KDD 1999 cup.
The goal is to predict whether or not an SMTP connection is anomalous or not. The dataset only contains 2,211 (0.4%) positive labels.
Name SMTP
Task Binary classification
Samples 95,156
Features 3
Sparse False
Path /Users/mastelini/river_data/SMTP/smtp.csv
URL https://maxhalford.github.io/files/datasets/smtp.zip
Size 5.23 MB
Downloaded True
Models¶
Logistic regression
Pipeline ( StandardScaler ( with_std=True ), LogisticRegression ( optimizer=SGD ( lr=Constant ( learning_rate=0.005 ) ) loss=Log ( weight_pos=1. weight_neg=1. ) l2=0. l1=0. intercept_init=0. intercept_lr=Constant ( learning_rate=0.01 ) clip_gradient=1e+12 initializer=Zeros () ) )
Aggregated Mondrian Forest
[]
ALMA
Pipeline ( StandardScaler ( with_std=True ), ALMAClassifier ( p=2 alpha=0.9 B=1.111111 C=1.414214 ) )
sklearn SGDClassifier
Pipeline ( StandardScaler ( with_std=True ), SKL2RiverClassifier ( estimator=SGDClassifier(eta0=0.005, learning_rate='constant', loss='log_loss', penalty=None) classes=[False, True] ) )
Vowpal Wabbit logistic regression
VW2RiverClassifier ()
Naive Bayes
GaussianNB ()
Hoeffding Tree
HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True )
Hoeffding Adaptive Tree
HoeffdingAdaptiveTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) bootstrap_sampling=True drift_window_threshold=300 drift_detector=ADWIN ( delta=0.002 clock=32 max_buckets=5 min_window_length=5 grace_period=10 ) switch_significance=0.05 binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True seed=42 )
Adaptive Random Forest
[]
Streaming Random Patches
SRPClassifier ( model=HoeffdingTreeClassifier ( grace_period=50 max_depth=inf split_criterion="info_gain" delta=0.01 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ) n_models=10 subspace_size=0.6 training_method="patches" lam=6 drift_detector=ADWIN ( delta=1e-05 clock=32 max_buckets=5 min_window_length=5 grace_period=10 ) warning_detector=ADWIN ( delta=0.0001 clock=32 max_buckets=5 min_window_length=5 grace_period=10 ) disable_detector="off" disable_weighted_vote=False seed=None metric=Accuracy ( cm=ConfusionMatrix ( classes=[] ) ) )
k-Nearest Neighbors
Pipeline ( StandardScaler ( with_std=True ), KNNClassifier ( n_neighbors=5 engine=SWINN ( graph_k=20 dist_func=FunctionWrapper ( distance_function=functools.partial(, p=2) ) maxlen=1000 warm_up=500 max_candidates=50 delta=0.0001 prune_prob=0. n_iters=10 seed=None ) weighted=True cleanup_every=0 softmax=False ) )
ADWIN Bagging
[HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True )]
AdaBoost
[HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True )]
Bagging
[HoeffdingAdaptiveTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) bootstrap_sampling=False drift_window_threshold=300 drift_detector=ADWIN ( delta=0.002 clock=32 max_buckets=5 min_window_length=5 grace_period=10 ) switch_significance=0.05 binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True seed=None ), HoeffdingAdaptiveTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) bootstrap_sampling=False drift_window_threshold=300 drift_detector=ADWIN ( delta=0.002 clock=32 max_buckets=5 min_window_length=5 grace_period=10 ) switch_significance=0.05 binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True seed=None ), HoeffdingAdaptiveTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) bootstrap_sampling=False drift_window_threshold=300 drift_detector=ADWIN ( delta=0.002 clock=32 max_buckets=5 min_window_length=5 grace_period=10 ) switch_significance=0.05 binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True seed=None ), HoeffdingAdaptiveTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) bootstrap_sampling=False drift_window_threshold=300 drift_detector=ADWIN ( delta=0.002 clock=32 max_buckets=5 min_window_length=5 grace_period=10 ) switch_significance=0.05 binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True seed=None ), HoeffdingAdaptiveTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) bootstrap_sampling=False drift_window_threshold=300 drift_detector=ADWIN ( delta=0.002 clock=32 max_buckets=5 min_window_length=5 grace_period=10 ) switch_significance=0.05 binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True seed=None ), HoeffdingAdaptiveTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) bootstrap_sampling=False drift_window_threshold=300 drift_detector=ADWIN ( delta=0.002 clock=32 max_buckets=5 min_window_length=5 grace_period=10 ) switch_significance=0.05 binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True seed=None ), HoeffdingAdaptiveTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) bootstrap_sampling=False drift_window_threshold=300 drift_detector=ADWIN ( delta=0.002 clock=32 max_buckets=5 min_window_length=5 grace_period=10 ) switch_significance=0.05 binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True seed=None ), HoeffdingAdaptiveTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) bootstrap_sampling=False drift_window_threshold=300 drift_detector=ADWIN ( delta=0.002 clock=32 max_buckets=5 min_window_length=5 grace_period=10 ) switch_significance=0.05 binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True seed=None ), HoeffdingAdaptiveTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) bootstrap_sampling=False drift_window_threshold=300 drift_detector=ADWIN ( delta=0.002 clock=32 max_buckets=5 min_window_length=5 grace_period=10 ) switch_significance=0.05 binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True seed=None ), HoeffdingAdaptiveTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) bootstrap_sampling=False drift_window_threshold=300 drift_detector=ADWIN ( delta=0.002 clock=32 max_buckets=5 min_window_length=5 grace_period=10 ) switch_significance=0.05 binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True seed=None )]
Leveraging Bagging
[HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True )]
Stacking
[Pipeline ( StandardScaler ( with_std=True ), SoftmaxRegression ( optimizer=SGD ( lr=Constant ( learning_rate=0.01 ) ) loss=CrossEntropy ( class_weight={} ) l2=0 ) ), GaussianNB (), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), Pipeline ( StandardScaler ( with_std=True ), KNNClassifier ( n_neighbors=5 engine=SWINN ( graph_k=20 dist_func=FunctionWrapper ( distance_function=functools.partial(, p=2) ) maxlen=1000 warm_up=500 max_candidates=50 delta=0.0001 prune_prob=0. n_iters=10 seed=None ) weighted=True cleanup_every=0 softmax=False ) )]
Voting
VotingClassifier ( models=[Pipeline ( StandardScaler ( with_std=True ), SoftmaxRegression ( optimizer=SGD ( lr=Constant ( learning_rate=0.01 ) ) loss=CrossEntropy ( class_weight={} ) l2=0 ) ), GaussianNB (), HoeffdingTreeClassifier ( grace_period=200 max_depth=inf split_criterion="info_gain" delta=1e-07 tau=0.05 leaf_prediction="nba" nb_threshold=0 nominal_attributes=None splitter=GaussianSplitter ( n_splits=10 ) binary_split=False min_branch_fraction=0.01 max_share_to_split=0.99 max_size=100. memory_estimate_period=1000000 stop_mem_management=False remove_poor_attrs=False merit_preprune=True ), Pipeline ( StandardScaler ( with_std=True ), KNNClassifier ( n_neighbors=5 engine=SWINN ( graph_k=20 dist_func=FunctionWrapper ( distance_function=functools.partial(, p=2) ) maxlen=1000 warm_up=500 max_candidates=50 delta=0.0001 prune_prob=0. n_iters=10 seed=None ) weighted=True cleanup_every=0 softmax=False ) )] use_probabilities=True )
[baseline] Last Class
NoChangeClassifier ()
Environment¶
Python implementation: CPython Python version : 3.12.9 IPython version : 8.29.0 river : 0.22.0 numpy : 2.0.2 scikit-learn: 1.5.1 pandas : 2.2.3 scipy : 1.14.1 Compiler : GCC 13.3.0 OS : Linux Release : 6.8.0-1021-azure Machine : x86_64 Processor : x86_64 CPU cores : 4 Architecture: 64bit