Skip to content

Latest commit

 

History

History

svm

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Installation

Install numpy

pip install -U numpy[alldeps]

Install scipy

pip install -U scipy[alldeps]

Install scikit-learn

pip install -U scikit-learn[alldeps]

You can install matplotlib, if required.

pip install matplotlib

Usage

Just run the following to train and test the SVM models.

python main.py

Note: Change the value of noOfTotalClasses, noOfTrainingVectors and noOfTestingVectors as required during execution.