From 30b7b17e5f49ad91e16104e9d1ab3f12ef72d4fe Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 25 Feb 2022 16:35:53 +0100 Subject: only export model xv results for --export-xv --- bin/analyze-archive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/analyze-archive.py') 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 ) -- cgit v1.2.3