https://github.com/mujadded/svm-linear-classifier-with-pytorch
https://github.com/mujadded/svm-linear-classifier-with-pytorch
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mujadded/svm-linear-classifier-with-pytorch
- Owner: Mujadded
- License: mit
- Created: 2023-03-16T23:28:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-18T22:34:36.000Z (over 3 years ago)
- Last Synced: 2025-06-03T21:18:52.191Z (about 1 year ago)
- Language: Jupyter Notebook
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
- License: LICENSE
Awesome Lists containing this project
README
# Linear Classifier with SVM loss funtion
A Simple implementation of Linear Classifier with SVM loss funtion using pyTorch.
This uses GPU and also vectorized Python to be most optimized.
## Files
`linear_classifier.py` has the main code for Linear Classifier with SVM
`test_classifier.ipynb` has the playgroud where this is tested.
Example of Linear Classifier:
```
Trainning Accuracy: 0.34, Validation Accuracy: 0.33
Final Accuracy on Test: 33.00%
```