Giter Site home page Giter Site logo

hrshtv / ml-from-scratch Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 3.0 11.3 MB

Some Machine Learning algorithms implemented by me, mostly from scratch

License: MIT License

Jupyter Notebook 100.00%
machine-learning-from-scratch ml-from-scratch machine-learning-algorithms machine-learning

ml-from-scratch's Introduction

Machine Learning Algorithms From Scratch

This is was mostly a 'practice' repository, containing some ML algorithms which I have implemented from scratch. I no longer update or maintain this.

  1. K Nearest Neighbours: Recommends movies from the TMDB 5000 movies dataset based on the list of genres given as input.

  1. Logistic Regression: Predicts how likely peope are to buy a product based on their gender, age, and salary.

  1. Simple Neural Network: 2-layered neural network which mimics the XOR gate, implemented(vectorized) from scratch using NumPy.

  1. Digit Classification: Dataset used: MNIST
    • Contains a binary classifier that labels all 0s as 1 and rest all digits as 0.
    • Also contains an extension of the above classifier that classifies all 10 digits with an accuracy of 94%.
    • Both of the above networks are 2-layered and are implemented(vectorized) from scratch using NumPy.

  1. Decison Trees: Decision Tree classifier implemented from scratch in python. Dataset used: Banknote authentication dataset

  1. Support Vector Machine: A simple C-SVM binary classifier. Dataset used: Breast Cancer Wisconsin Dataset

  1. K-Means Clustering:

  1. Principal Component Analysis:
    • Dataset used: AT&T Database of Faces
    • Applied the Principal Component Analysis (PCA) algorithm for dimensionality reduction on face images.

  1. Moving Averages
    • Dataset used: Air Quality Data Set
    • Applied Simple Moving Average (SMA), Cumulative Moving Average (CMA), Weighted Moving Average (WMA), Exponentially Weighted Average (EWMA) on the dataset, all functions are written in NumPy.

  1. Convolutions

  1. Histogram Equalization
    • Covers the theory behind histogram equalization

Contributers:

ml-from-scratch's People

Contributors

hrshtv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.