Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NotificationsYou must be signed in to change notification settings

michalinabijak/numpy_algorithms

Repository files navigation

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


[8]ページ先頭

©2009-2025 Movatter.jp