Linear-Classifiers
Implementation of simple linear classifiers from scratch (in the models folder)
- Logistic regression (Logistic.py)
- Perceptron (Perceptron.py)
- SVM (SVM.py)
- Softmax (Softmax.py)
and run them on two different datasets
- Mushroom dataset: a simple categorical binary classification dataset. Please note that the labels in the dataset are 0/1, as opposed to -1/1 as in the lectures, so you may have to change either the labels or the derivations of parameter update rules accordingly.
- CIFAR-10: a multi-class image classification dataset