GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - michalinabijak/numpy_algorithms: Numpy from-scratch implementation of ML Algorithms: Kernel Perceptron, kNN, MLP, and more

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
CV.py
CV.py
 
 
MLP.py
MLP.py
 
 
README.md
README.md
 
 
helper_functions.py
helper_functions.py
 
 
kNN.py
kNN.py
 
 
least_squares.py
least_squares.py
 
 
logistic.py
logistic.py
 
 
perceptron.py
perceptron.py
 
 
winnow.py
winnow.py
 
 

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

basic-algorithmsfrom-scratchkernel-perceptronkernelsmachine-learning-algorithmsnumpyone-vs-allone-vs-oneone-vs-restpython

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.