Skip to content

ntru0/DecisionTree_Classifier_WineSet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Preface

This project was a part of school assignment though I took liberty after finishing that course to tweak my code a bit.

Now in a public repository for demostration purposes.

Test Set

CSV data from here:

https://ocw.mit.edu/courses/15-097-prediction-machine-learning-and-statistics-spring-2012/resources/wine/

Decision Tree Classifier from Scratch

Watched this tutorial:

https://youtu.be/sgQAhG5Q7iY

The goal was to implement a Decision Tree Classifier from scratch.

Test Mode Toggle

As I debug the program, I added a DEBUG mode so my program doesn't print a chart/lots of info everytime I tweak a bit of the parameters and run the code over and over again.

Toggle on (1) or off (0) at your conveniences.

Running

Download numpy, pandas, and sklearn if you have not already.

Run via

python3 decisiontree_wine.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages