Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
This task aims to consolidate and cleanup the scripts for stepwise linear regression and stepwise GLM as builtin functions.
- Create a new builtin function for stepGLM (the details can be copied from scripts/algorithms/StepGLM.dml)
- Refactor the stepLm and stepGLM functions to internally call lm and glm respectively (no code duplication)
- Devise a generic step-X function which allows passing second order functions of any regressor or classifier (via eval)