Skip to content

Commit 18ce8bd

Browse files
authored
Update test_learning.py
1 parent 2bba02e commit 18ce8bd

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/test_learning.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
import pytest
33
import math
44
from utils import DataFile
5-
from learning import (parse_csv, weighted_mode, weighted_replicate, DataSet,
6-
PluralityLearner, NaiveBayesLearner, NearestNeighborLearner,
7-
rms_error, manhattan_distance, mean_boolean_error, mean_error)
8-
5+
from learning import *
96

107

118
def test_euclidean():
@@ -157,4 +154,4 @@ def test_random_weights():
157154
assert len(test_weights) == num_weights
158155
for weight in test_weights:
159156
assert weight >= min_value and weight <= max_value
160-
157+

0 commit comments

Comments
 (0)