ficed tests, indent, import in test_analysis

This commit is contained in:
Arthur Lu 2021-01-27 04:21:59 +00:00
parent 5d19853e7b
commit 8336174f01

View File

@ -15,6 +15,8 @@ from tra_analysis import Sort
from tra_analysis import StatisticalTest from tra_analysis import StatisticalTest
from tra_analysis import SVM from tra_analysis import SVM
from tra_analysis.equation.parser import BNF
def test_(): def test_():
test_data_linear = [1, 3, 6, 7, 9] test_data_linear = [1, 3, 6, 7, 9]
@ -145,8 +147,6 @@ def svm(data, labels, test_data, test_labels):
assert sig_kernel.predict([test_data[i]]).tolist() == [test_labels[i]] assert sig_kernel.predict([test_data[i]]).tolist() == [test_labels[i]]
test_equation()
def test_equation(): def test_equation():
parser = BNF() parser = BNF()