Skip to content

Commit

Permalink
Fixing test_batch.py issue (updating evaluation imports)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmgomes committed Apr 18, 2024
1 parent 7ff90bd commit 7efe451
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_batch.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from capymoa.datasets._datasets import ElectricityTiny
from capymoa.ssl.classifier._batch import BatchClassifierSSL
from capymoa.stream._stream import Schema, NumpyStream
from capymoa.evaluation.evaluation import prequential_SSL_evaluation
from capymoa.evaluation.evaluation import prequential_ssl_evaluation
import numpy as np


Expand Down Expand Up @@ -69,7 +69,7 @@ def test_batch_basic():

stream = NumpyStream(x, y)
learner = _DummyBatchClassifierSSL(batch_size, stream.schema, class_value_type=str)
prequential_SSL_evaluation(
prequential_ssl_evaluation(
stream=stream, learner=learner, label_probability=0.01, window_size=100
)

Expand All @@ -83,7 +83,7 @@ def test_batch_real():
assert stream.schema.get_num_attributes() == 6

learner = _DummyBatchClassifierSSL(128, stream.schema, class_value_type=str)
prequential_SSL_evaluation(
prequential_ssl_evaluation(
stream=stream,
learner=learner,
label_probability=0.01,
Expand Down

0 comments on commit 7efe451

Please sign in to comment.