summaryrefslogtreecommitdiff
path: root/lib/functions.py
AgeCommit message (Expand)AuthorLines
2022-10-18--export-dref: calculate model complexityDaniel Friesel-0/+29
2022-09-22CART, XGB: Improve eval speed by predicting everything at onceDaniel Friesel-0/+38
2022-06-15FOL: Improve error messagesDaniel Friesel-1/+6
2022-06-15FOL, SKLearn: cast all parameters to intDaniel Friesel-2/+2
2022-06-14FOLFunction: _really_ add a static component.Daniel Friesel-6/+6
2022-06-14FOLFunction: Add a static (parameter-independent) model componentDaniel Friesel-4/+4
2022-06-10FOL: add a less variable-heavy second order variantDaniel Friesel-5/+9
2022-06-09FOL: repair second order functionDaniel Friesel-3/+16
2022-06-08FOL: Add JSON exportDaniel Friesel-4/+26
2022-06-03FOL: Add second order supportDaniel Friesel-4/+18
2022-06-03support ignoring 'irrelevant' parameters in FOL functionDaniel Friesel-1/+2
2022-06-03add first order linear functions for evaluation purposesDaniel Friesel-1/+84
2022-03-28StaticFunction#to_dot: round to two decimal placesDaniel Friesel-1/+3
2022-03-23RMT, CART, XGB: Add #leaves to dref exportDaniel Friesel-12/+32
2022-03-18CART export: use .left/.right instead of .child.left/.child.rightDaniel Friesel-5/+2
2022-03-17LMT: Fix max_depth and number_of_leaves gettersDaniel Friesel-2/+4
2022-03-10LMT max_depth is brokenDaniel Friesel-0/+1
2022-03-03functions: blackDaniel Friesel-3/+5
2022-03-03CART: to_json: use .left / .right instead of ."<=" / .">"Daniel Friesel-2/+2
2022-03-02CARTFunction: Add to_json method (adapted from Lennart Kaiser)Daniel Friesel-0/+44
2022-02-24AnalyticFunction: catch dividy by zero errors and the likesDaniel Friesel-1/+7
2022-02-21add dtree graphviz/dot export via --export-dot / to_dot()Daniel Friesel-0/+23
2022-02-07SplitFunction: Use mean of children for predicting unknown valuesDaniel Friesel-4/+10
2022-01-28PTAModel: Add force_tree optionDaniel Friesel-1/+5
2022-01-27add LMT support via https://github.com/cerlymarco/linear-treeDaniel Friesel-0/+4
2022-01-26Add tree attribute export for XGBoostDaniel Friesel-8/+26
2022-01-21add depth / #nodes accessor to sklearn CART modelDaniel Friesel-0/+26
2022-01-14fix categorial-to-scalar handler for categorial values unseen during trainingDaniel Friesel-1/+1
2022-01-10SKLearnRegressionFunction: handle unseen params in categorial_to_index modeDaniel Friesel-2/+13
2022-01-06sklearn (CART, XGBoost): support mapping of categorial parameter values to sc...Daniel Friesel-2/+6
2022-01-06add preliminary xgboost supportDaniel Friesel-1/+1
2022-01-05store decision tree attributes of xv models in dataref exportDaniel Friesel-0/+7
2021-12-23model: add sklearn CART support (CART with scalar features)Daniel Friesel-0/+30
2021-11-22handle fit errors in cross validationDaniel Friesel-1/+17
2021-11-17export number of dtree nodes to datarefDaniel Friesel-0/+9
2021-11-16Add env var for safe functions; disable unsafe functions in that caseDaniel Friesel-1/+7
2021-11-03Set DFATOOL_FIT_LINEAR_ONLY=1 to omit non-linear functions from regressionDaniel Friesel-18/+22
2021-07-12ModelAttribute, SplitFunction: Fix from_json methodsDaniel Friesel-0/+2
2021-05-10analyze-config, to_json: use paramNames in exported json nodesDaniel Friesel-19/+21
2021-04-20proper kconfig-webconf exportDaniel Friesel-0/+22
2021-03-22EnergyTraceWithLogicAnalyzer: Use ExternalTimerSync as wellDaniel Friesel-0/+22
2021-03-22ExternalTimerSync: Add drift compensationDaniel Friesel-0/+1
2021-03-10hardcode arg_support_enabled = TrueDaniel Friesel-2/+1
2021-03-05promote sub-state models to a first-class modeling citizenDaniel Friesel-2/+56
2021-03-05JSON: {function,value}_error -> {function,value}ErrorDaniel Friesel-6/+6
2021-03-05eval: remove unused function_args argumentDaniel Friesel-8/+6
2021-03-05Restore workload.pyDaniel Friesel-2/+9
2021-03-04Restore --export-energymodelDaniel Friesel-23/+47
2021-03-04Modelfunction.from_json_maybe: Handle "old" data format with "static" keyDaniel Friesel-0/+10
2021-03-04PTA State/Transition: Use ModelFunction instead of PTAAttributeDaniel Friesel-9/+73