Commit 6df157f3 authored by Thomas Purcell's avatar Thomas Purcell
Browse files

Fix check models for systems with tests turned off

parent 56da771e
......@@ -4,7 +4,7 @@ from pathlib import Path
import numpy as np
model = ModelClassifier(
str("models/train_dim_2_model_0.dat"), str("models/test_dim_2_model_0.dat")
str("models/train_dim_2_model_0.dat")
)
assert model.percent_error < 1e-7
assert model.percent_test_error < 1e-7
......@@ -4,7 +4,7 @@ from pathlib import Path
import numpy as np
model = ModelRegressor(
str("models/train_dim_2_model_0.dat"), str("models/test_dim_2_model_0.dat")
str("models/train_dim_2_model_0.dat")
)
assert model.rmse < 1e-4
assert model.test_rmse < 1e-4
......@@ -4,7 +4,7 @@ from pathlib import Path
import numpy as np
model = ModelLogRegressor(
str("models/train_dim_2_model_0.dat"), str("models/test_dim_2_model_0.dat")
str("models/train_dim_2_model_0.dat")
)
assert model.rmse < 1e-4
assert model.test_rmse < 1e-4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment