summaryrefslogtreecommitdiff
path: root/lib/functions.py
AgeCommit message (Collapse)AuthorLines
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
2021-03-02add hashbang to modulesDaniel Friesel-0/+1
2021-03-01get_fitted: also provide information on static (sub)modelsDaniel Friesel-0/+7
2021-02-26refactor param_info, show splits in analyze-archive outputDaniel Friesel-1/+76
2021-02-18refactor model generation from Analytic/PTAModel into ModelAttribute classDaniel Friesel-37/+20
Iteration over states/transitions and model attributes is no longer hardcoded into most model generation code. This should make support for decision trees and sub-states much easier.
2020-10-26blacken code; do not run lint check on external Python librariesDaniel Friesel-1/+1
2020-07-06move gplearn_to_function to functions moduleDaniel Friesel-0/+41
2020-07-03AnalyticFunction: Remove _ prefix from public attributesDaniel Friesel-10/+10
2020-07-03more consistent logging; use logger. instead of logging. where appropriateDaniel Friesel-4/+4
2020-07-02Use logging module for debug outputDaniel Friesel-18/+12
2020-05-28use black(1) for uniform code formattingDaniel Friesel-95/+155
2020-04-29Use relative module paths. PYTHONPATH=lib bin/... is no longer neededDaniel Friesel-1/+1
2019-10-02documentationDaniel Friesel-17/+16
2019-08-16documentationDaniel Friesel-3/+13
2019-08-14functions, utils: pydocstyleDaniel Friesel-37/+30
2019-08-13functions: documentation (WiP)Daniel Friesel-19/+17
2019-07-26add parameter normalization support to YAML DFA modelsDaniel Friesel-0/+12
2019-07-25lintDaniel Friesel-0/+3
2019-04-01add missing includeDaniel Friesel-1/+1
2019-02-07function_powerset: add default for num_argsDaniel Friesel-1/+1
2019-02-01move parameter detection / statistics methods to utils (for now)Daniel Friesel-2/+8
2019-02-01DokuDaniel Friesel-1/+9