mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
ficed tests, indent, import in test_analysis
This commit is contained in:
parent
5d19853e7b
commit
8336174f01
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user