Skip to content

a custom forward-backward stepwise regression with python

Notifications You must be signed in to change notification settings

YpLarryWang/stepwise-regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stepwise Regression with Python

This is a custom forward-backward stepwise regression with python.

Enviroment

  • Python 3.6+

Packages

  • statsmodels 0.13.2
  • scipy 1.9.3
  • pandas 1.4.4
  • numpy 1.23.4
  • sklearn 1.0.2

The version requirements for pandas, numpy and sklearn are not strict, but you should try to install the above versions of scipy and statsmodels, because under certain versions, the two can be installed normally, but there will be version conflicts when running.

Set Up

  • Configure the environment
  • Prepare the data
  • Run main.py

Data

House Prices - Advanced Regression Techniques

About

a custom forward-backward stepwise regression with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages