summaryrefslogtreecommitdiff
path: root/lib/functions.py
AgeCommit message (Collapse)AuthorLines
2022-06-15FOL, SKLearn: cast all parameters to intDaniel Friesel-2/+2
2022-06-14FOLFunction: _really_ add a static component.Daniel Friesel-6/+6
370650b5fe955b10fede14720130df0af8b452f4 was incomplete (only considered the second order part)
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 ↵Daniel Friesel-2/+6
scalar indexes
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
DataProcessor is now deprecated and no longer in use
2021-03-22ExternalTimerSync: Add drift compensationDaniel Friesel-0/+1
Use ExternalTimerSync for energytrace+timer. energytrace+LA code reuse is still to-do.
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
get_fitted_sub is no longer present, sub-state models are part of get_fitted now
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
2021-03-03Remove ModelInfo; add info to ModelFunction insteadDaniel Friesel-38/+12
2021-03-02ModelAttribute + sub-classes: add to_json methodDaniel Friesel-0/+27
2021-03-02ModelAttribute: remove get_fitted(), use .model_function, .model_info insteadDaniel Friesel-20/+23