summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-12-03 10:44:45 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2021-12-03 10:44:45 +0100
commit570c89818a036ae9e5d48d32028cb5594494d7a1 (patch)
treeec21b710395f2ac1f0f5b2fa037a62a1a2ead4f4
parentbaae23bd2bd5342adecfe3d404d55f5df2dd4826 (diff)
model: Remove temporary ResKIL accuracy/power modeling hack
-rw-r--r--lib/model.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/model.py b/lib/model.py
index e5d1647..2bd8aa2 100644
--- a/lib/model.py
+++ b/lib/model.py
@@ -430,13 +430,6 @@ class AnalyticModel:
param_type=ParamType(self.by_name[name]["param"]),
)
- # temporary hack for ResKIL / kconfig-webconf evaluation of regression trees with function nodes
- if (
- with_function_leaves
- and attribute in "accuracy model_size_mb power_w".split()
- ):
- with_function_leaves = False
-
self.attr_by_name[name][attribute].build_dtree(
self.by_name[name]["param"],
self.by_name[name][attribute],