Skip to content

michalinabijak/numpy_algorithms

Repository files navigation

Numpy implementation of some ML Algorithms

This repo contains a numpy from-scratch implementation of some ML algorithms, initially designed for the MNIST Digit classification task (~3% error, averaged over 20 runs of 5 fold cross-validation)

  • kNN
  • 3 Layer MLP (ReLU & Softmax activations), Cross-Entropy Loss
  • Least Squares
  • Winnow
  • One-vs-One and One-vs-All Muliticlass Kernel Perceptron
  • logistic regression with AdaGrad optimiser
  • SVM (primal + dual)

Additional Functions

files: CV.py and helper_functions.py

  • random train/test split
  • Cross Validation
  • Gram Matrix (for polynomial and Gaussian kernels)
  • numerical gradient check

TODO: change output type from error rate to prediction

About

Numpy from-scratch implementation of ML Algorithms: Kernel Perceptron, kNN, MLP, and more

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy