summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-01-06 08:34:26 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2022-01-06 08:34:43 +0100
commit09a1140ee677f633c28fb887692b417874402356 (patch)
tree8143f3cb8804d3eeb279a9ca83fea14a20665366 /test
parent30792ce0630d8f0768379d8e7e0b8556fbfa9894 (diff)
test: adjust validator usage for 2c5bcd77f2c952cc5269ca3e4b6e0a7323ebd085
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_ptamodel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ptamodel.py b/test/test_ptamodel.py
index cf8c60c..fec43ab 100755
--- a/test/test_ptamodel.py
+++ b/test/test_ptamodel.py
@@ -322,8 +322,8 @@ class TestSynthetic(unittest.TestCase):
model = PTAModel(by_name, parameter_names, arg_count)
validator = CrossValidator(PTAModel, by_name, parameter_names, arg_count)
- static_quality = validator.kfold(lambda m: m.get_static(), 10)
- param_quality = validator.kfold(lambda m: m.get_fitted()[0], 10)
+ static_quality, _ = validator.kfold(lambda m: m.get_static(), 10)
+ param_quality, _ = validator.kfold(lambda m: m.get_fitted()[0], 10)
# static quality reflects normal distribution scale for non-parameterized data