Skip to content

Pattern Recognition homework4 in NYCU. This project is to implement the cross-validation and grid search using only NumPy and train the SVM model.

Notifications You must be signed in to change notification settings

secondlevel/Support-Vector-Machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Support-Vector-Machine

Pattern Recognition homework4 in NYCU.

This project is to implement the cross-validation and grid search using only NumPy and train the SVM model.

The sample code can be download in this link.

Requirement

$ conda create --name PR python=3.8 -y
$ conda activate PR
$ conda install matplotlib pandas scikit-learn -y

Training & Evaluation

You can use the following command to train SVM model and find the best parameters. After training the model, the program will automatically evaluate the model.

python 310551031_HW4.py

Result

This model can achieves 0.9010 on testing data.

About

Pattern Recognition homework4 in NYCU. This project is to implement the cross-validation and grid search using only NumPy and train the SVM model.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages