Skip to content

xiaoyubai/sequential-forward-selection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

sequential-forward-selection

Implementation of sequential forward selection algorithm for linear regression

Instead of using RFE to do backward selection, I created a LinearRegression class that implements sequential forward selection, which involves starting with no variables in the model, testing the addition of each variable using a chosen model comparison criterion, adding the variable (if any) that improves the model the most, and repeating this process until none improves the model.

Modification from backward feature selection from:
https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/feature_selection/rfe.py

About

Implementation of sequential forward selection algorithm for linear regression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages