kan-qi / UMLx

Analyze software architecture and generate insights about software development complexities, risks, and costs.
3 stars 0 forks source link

update the stepwise learning function. #631

Open kan-qi opened 5 years ago

kan-qi commented 5 years ago

The current implementation of the stepwise regression model:

image

The stepwise_linear_model initiate the model for some hyperparameter.

m_fit.step_lnr and m_predit.step_lnr will be alternatively called during the bootstrapping and cross validation processes.

try run the model training and testing processes from this file:

image

And then run this benchmark function:

image

The wikipedia page provides some background information. https://en.wikipedia.org/wiki/Stepwise_regression