Skip to content

thdai2000/20news

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

20news

text classification on 20 newsgroup, using model of perceptron, naive bayes, knn and svm

1.unzip "data.zip"

The final root directory should contain files: data_2, data_3, data_10, pre_processing, main.py, my_bayes.py, my_knn.py, my_perceptron.py, my_svm.py

2.run the command

run python main.py --class_num 10 --model bayes or simply python main.py (the default number of classes is 10, the default model is bayes) in the command line

About

text classification on 20 newsgroup, using model of perceptron, naive bayes, knn and svm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages