Skip to content

bharathbs93/KNN-Decision-Trees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Simple KNN and Decision Tree Implementation on the 20newsgroup dataset

The link to the 20newsgroup dataset is as follows http://qwone.com/~jason/20Newsgroups/

Data is processed in order to get it into the tf matrix shape using R which is present as a R-Notebook

Once the tf-matrix is generated KNN and Decision Tree Classifiers are applied on it.

In order to run the classifiers before feature selection

Run

python full_feature.py

In order to run the classifers after feature selection, to calculate the best-K and score comparisons for various metrics

Run

python top_100.py

Full Report along with graphs present in report.pdf

About

Implementing a basic KNN and Decision Tree Classifier on the 20newsgroup dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages