summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-07-06 11:20:32 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-07-06 11:20:32 +0200
commit1406e32aaa0466f5e43d270b0b10e54702210769 (patch)
tree30a971a01c8764dc6bf117ad6d956f7fb32666da /bin
parentf126d8b2d69e048627117f33f817cf22cc2e0e96 (diff)
Move CrossValidator to a separate validation module
Diffstat (limited to 'bin')
-rwxr-xr-xbin/analyze-archive.py6
-rwxr-xr-xbin/analyze-timing.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py
index 9a95c0b..bf9e511 100755
--- a/bin/analyze-archive.py
+++ b/bin/analyze-archive.py
@@ -115,7 +115,7 @@ import sys
from dfatool import plotter
from dfatool.dfatool import PTAModel, RawData, pta_trace_to_aggregate
from dfatool.dfatool import gplearn_to_function
-from dfatool.dfatool import CrossValidator
+from dfatool.validation import CrossValidator
from dfatool.utils import filter_aggregate_by_param
from dfatool.automata import PTA
@@ -651,7 +651,7 @@ if __name__ == "__main__":
)
print(
"{:10s} {}".format(
- "", param_info(state, attribute)["function"].model_args,
+ "", param_info(state, attribute)["function"].model_args
)
)
for trans in model.transitions():
@@ -666,7 +666,7 @@ if __name__ == "__main__":
)
print(
"{:10s} {:10s} {}".format(
- "", "", param_info(trans, attribute)["function"].model_args,
+ "", "", param_info(trans, attribute)["function"].model_args
)
)
diff --git a/bin/analyze-timing.py b/bin/analyze-timing.py
index 0747ed8..8c7ee5b 100755
--- a/bin/analyze-timing.py
+++ b/bin/analyze-timing.py
@@ -80,7 +80,7 @@ import sys
from dfatool import plotter
from dfatool.dfatool import AnalyticModel, TimingData, pta_trace_to_aggregate
from dfatool.dfatool import gplearn_to_function
-from dfatool.dfatool import CrossValidator
+from dfatool.validation import CrossValidator
from dfatool.utils import filter_aggregate_by_param
from dfatool.parameters import prune_dependent_parameters
@@ -428,7 +428,7 @@ if __name__ == "__main__":
)
print(
"{:10s} {:10s} {}".format(
- "", "", param_info(trans, attribute)["function"].model_args,
+ "", "", param_info(trans, attribute)["function"].model_args
)
)