Skip to content

alexchsieh/Feature-Selection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Feature Selection

Implemented the Feature Selection Method using Forward Selection and Backward Elimination.

Had heavy inspiration from my classmates & Professor Eamonn Keogh from UCR.

Installation

clone the repo

https://github.com/alexchsieh/Feature-Selection.git

Tools

install pip for pandas

sudo apt install python3-pip

install pandas

pip install pandas

Usage example

run the program

python3 main.py

use a testing data set

./tests/Small_Data.txt

sample forward selection solution

Finished search! The best feature subset is [6, 1], which has an accuracy of 95.0%

sample backward elimination solution

Finished search! The best feature subset to remove is [5, 2, 4, 3], which has an accuracy of 95.0%

Contributing

  1. Fork it (https://github.com/alexchsieh/Feature-Selection/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

Implemented the Feature Selection Method using Forward Selection and Backward Elimination.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages