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
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.