summaryrefslogtreecommitdiff
path: root/bin/analyze-archive.py
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-02-25 16:35:53 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2022-02-25 16:35:53 +0100
commit30b7b17e5f49ad91e16104e9d1ab3f12ef72d4fe (patch)
tree105ea27e3712de2e308b6c01bd740958e0fcb7a6 /bin/analyze-archive.py
parent52a0aaaca1427d5f3b35625f681dc44e01f4d8db (diff)
only export model xv results for --export-xv
Diffstat (limited to 'bin/analyze-archive.py')
-rwxr-xr-xbin/analyze-archive.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py
index a5706de..a725833 100755
--- a/bin/analyze-archive.py
+++ b/bin/analyze-archive.py
@@ -646,7 +646,6 @@ if __name__ == "__main__":
PTAModel, by_name, parameters, arg_count, force_tree=args.force_tree
)
xv.parameter_aware = args.parameter_aware_cross_validation
- xv.export_filename = args.export_xv
else:
xv_method = None
@@ -901,10 +900,12 @@ if __name__ == "__main__":
)
if xv_method == "montecarlo":
+ xv.export_filename = args.export_xv
analytic_quality, xv_analytic_models = xv.montecarlo(
lambda m: m.get_fitted()[0], xv_count
)
elif xv_method == "kfold":
+ xv.export_filename = args.export_xv
analytic_quality, xv_analytic_models = xv.kfold(
lambda m: m.get_fitted()[0], xv_count
)