Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 475 Bytes

File metadata and controls

9 lines (5 loc) · 475 Bytes

MNIST Supervised Image Learning with SVM and Logisitc Regression

One .py file exists for logistic regression (log_reg.py) and another exists for SVM (SVM.py). Either can be run in PyCharm, or in a terminal using "python log_reg.py" and "python SVM.py). The programs can be run as-is, or after tuning some or all of the following hyperparameters:

num_epochs is the number of epochs

learn_rate is the step size for SGD

momentum is the momentum magnitude for SGD_Momentum