summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-01-23 16:53:19 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-01-23 16:53:19 +0100
commit21a8de382ce2fff0ba740856f60ba135b1d925dd (patch)
tree890076b40d32386bcbfd67266d1e1766dd9c2fb5 /bin
parent69592785a4f9b308b6204f2277a8f51d7ab152eb (diff)
analyze-archive: pass static=True to static xv (ensures force_tree=False)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/analyze-archive.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py
index b5cf618..bc0c5de 100755
--- a/bin/analyze-archive.py
+++ b/bin/analyze-archive.py
@@ -600,9 +600,11 @@ def main():
ts = time.time()
if xv_method == "montecarlo":
- static_quality, _ = xv.montecarlo(lambda m: m.get_static(), xv_count)
+ static_quality, _ = xv.montecarlo(
+ lambda m: m.get_static(), xv_count, static=True
+ )
elif xv_method == "kfold":
- static_quality, _ = xv.kfold(lambda m: m.get_static(), xv_count)
+ static_quality, _ = xv.kfold(lambda m: m.get_static(), xv_count, static=True)
else:
static_quality = model.assess(static_model)
timing["assess static"] = time.time() - ts