Skip to content

juliusberner/svm_tf_pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVM vs. PyTorch vs. TensorFlow

Linear soft-margin support-vector machine (gradient-descent) implementation in PyTorch and TensorFlow 2.x (and comparison to scikit-learn).

Teaching Material for Machine Learning in Physics VDSP-ESI Winter School 2020: Getting used to ML frameworks and in particular to automatic differentiation.

SVM

How-To use

  1. Local:

    • create virtual environment
    • clone the repository
    • install requirements.txt
    • start jupyter notebook and open svm_tf_pytorch.ipynb
  2. Colab: Link