Skip to content

Commit

Permalink
fix: adding tests for new ensembles
Browse files Browse the repository at this point in the history
  • Loading branch information
hmgomes committed May 30, 2024
1 parent 25f0f75 commit 7ecd80d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_classifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
HoeffdingAdaptiveTree,
SAMkNN,
DynamicWeightedMajority,
CSMOTE
CSMOTE,
LeveragingBagging,
OnlineAdwinBagging,
)
from capymoa.base import Classifier
from capymoa.base import MOAClassifier
Expand Down Expand Up @@ -58,6 +60,8 @@
(partial(SAMkNN), 82.65, 82.0, None),
(partial(DynamicWeightedMajority), 84.05, 89.0, None),
(partial(CSMOTE), 80.55, 79.0, None),
(partial(LeveragingBagging), 86.7, 91.0, None),
(partial(OnlineAdwinBagging), 85.25, 92.0, None),
],
ids=[
"OnlineBagging",
Expand All @@ -79,6 +83,8 @@
"SAMkNN",
"DynamicWeightedMajority",
"CSMOTE",
"LeveragingBagging",
"OnlineAdwinBagging",
],
)
def test_classifiers(
Expand Down

0 comments on commit 7ecd80d

Please sign in to comment.