All Projects → HaotianMXu → Multiclass_LinearSVM_with_SGD

HaotianMXu / Multiclass_LinearSVM_with_SGD

Licence: other
A demonstration of how to use PyTorch to implement Support Vector Machine with L2 regularizition and multiclass hinge loss

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Multiclass LinearSVM with SGD

svm
Support Vector Machine in Javascript
Stars: ✭ 31 (-18.42%)
Mutual labels:  support-vector-machine
machine-learning
Python machine learning applications in image processing, recommender system, matrix completion, netflix problem and algorithm implementations including Co-clustering, Funk SVD, SVD++, Non-negative Matrix Factorization, Koren Neighborhood Model, Koren Integrated Model, Dawid-Skene, Platt-Burges, Expectation Maximization, Factor Analysis, ISTA, F…
Stars: ✭ 91 (+139.47%)
Mutual labels:  support-vector-machine
MLweb
Machine learning and scientific computing (linear algebra, statistics, optimization) javascript libraries, with an online lab.
Stars: ✭ 85 (+123.68%)
Mutual labels:  support-vector-machine
coursera-ml-py-sj
No description or website provided.
Stars: ✭ 41 (+7.89%)
Mutual labels:  support-vector-machine
AI-Project
Stock predictor using Machine Learning
Stars: ✭ 22 (-42.11%)
Mutual labels:  support-vector-machine

Multiclass_LinearSVM_with_SGD

A demonstration of how to use PyTorch to implement Support Vector Machine with one-vs.-all hinge loss. Weighted penalty of each class and square hinge loss are also available.

Requirements

  • PyTorch==0.2.0 with GPU support
  • Python==3.5

Approach

  • The key idea is to optimize a linear classifier with one-vs-all Hinge loss proposed by Dr. Weston and Dr. Watkins.
  • For more details, please refer the loss function in the code.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].