Skip to content

Commit

Permalink
Tests for new ensembles.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paweł committed Nov 21, 2019
1 parent 2776b7e commit 8bcee6d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions strlearn/tests/test_ensembles.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,29 @@ def test_WAE():
evaluator.process(stream, clf)


def test_OOB():
"""Bare WAE."""
stream = get_stream()
clf = sl.ensembles.OOB()
evaluator = sl.evaluators.TestThenTrainEvaluator()
evaluator.process(stream, clf)

def test_OB():
"""Bare WAE."""
stream = get_stream()
clf = sl.ensembles.OnlineBagging()
evaluator = sl.evaluators.TestThenTrainEvaluator()
evaluator.process(stream, clf)

def test_UOB():
"""Bare WAE."""
stream = get_stream()
clf = sl.ensembles.UOB()
evaluator = sl.evaluators.TestThenTrainEvaluator()
evaluator.process(stream, clf)



def test_pp_WAE():
"""Post pruned WAE."""
stream = get_stream()
Expand Down

0 comments on commit 8bcee6d

Please sign in to comment.