Skip to content

mahmoodhegazy/COMP551Assignment2

Repository files navigation

COMP551Assignment2

Text Classification

#For preprocessing(removing stop words, pucntuations, and lemmatization):

Use utilities.py functions

#To run KNN:

##To run manually implemented KNN:

python knn.py

##To run scikit KNN:

cd SKLearn_Algorithms

python KNN_tfidf.py

#To run SVM:

cd SKLearn_Algorithms

##To run Linear Kernel SVM:

python SVM_linear.py

##To run RBF Kernel SVM:

python SVM_nonlinear.py

##To run grid search with linear SVM:

python SVM_GridSearch.py

About

Text Classification

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages