Code Monkey home page Code Monkey logo

adityashrm21 / deep-learning-algorithms-implementation Goto Github PK

View Code? Open in Web Editor NEW
20.0 4.0 13.0 132 KB

Implementations of (Deep Learning + Machine Learning) Algorithms

Python 3.11% Jupyter Notebook 96.89%
deep-learning-algorithms deep-learning neural-networks implementation-of-algorithms implementation multilayer-perceptron restricted-boltzmann-machine machine-learning tensorflow decision-trees algorithm jupyter-notebook linear-regression logistic-regression decision-tree pytorch keras

deep-learning-algorithms-implementation's Introduction

(Deep Learning + Machine Learning) Algorithms Implementation

This repository contains implementation of various deep learning and machine learning algorithms in Python. Different library/packages will be used for the implementations like TensorFlow, Keras, PyTorch, Scikit-Learn, etc.

Note: This repository is under constant development and new implementations are being added regularly.

Multilayer Perceptron

  1. The jupyter notebook neural_net_from_scratch.ipynb contains the raw implementation in python for a basic Multilayer Perceptron.
  2. The python script neural_net_from_scratch.py is a cleaner version of the notebook version.
  3. The jupyter notebook tensorflow_mlp_regression.ipynb contains a tensorFlow implementation of a Multilayer Perceptron with an example using regression on California housing dataset from the scikit-learn library.
  4. The jupyter notebook tensorflow_mlp_classification.ipynb contains a tensorFlow implementation of a Multilayer Perceptron with an example using classification on the MNIST dataset.

Restricted Boltzmann Machine

  1. The script rbm_impl.py contains a basic implementation of a restricted boltzmann machine in python using only numpy.

Linear Regression

  1. The jupyter notebook linear_regression_scratch.ipynb contains basic implementation of linear regression in python using numpy on a randomly generated dataset. The optimization is done using full-batch gradient descent.
  2. The jupyter notebook linear_regression_tensorflow.ipynb contains an implementation of linear regression in python using TensorFlow on a randomly generated dataset. The optimization is done using GradientDescentOptimizer from TensorFlow.

Logistic Regression

  1. The jupyter notebook logistic_regression_scratch.ipynb contains basic implementation of logistic regression in python using numpy using the iris dataset. Two of the linearly inseparable species are combined together into one category. The optimization is done using full-batch gradient descent.
  2. The jupyter notebook logistic_regression_tensorflow.ipynb contains an implementation of logistic regression in python using TensorFlow on the iris dataset. The optimization is done using GradientDescentOptimizer from TensorFlow.
  3. he jupyter notebook logistic_regression_keras.ipynb contains a Keras implementation of logistic regression on the iris dataset. The optimization is done using Stochastic Gradient Descent.

Decision Trees

  1. The jupyter notebook decision_trees_sklearn.ipynb contains an implementation of the decision tree algorithm in Python using scikit-learn. The iris dataset is used to make a prediction using decision trees.
  2. The jupyter notebook decision_trees_scratch.ipynb contains an implementation of the decision tree algorithm in Python from scratch using numpy. The Spotify song attribute dataset is used to make a prediction using the decision trees and compared with the scikit-learn implementation.

CONTRIBUTING

Aim:

This repository contains the implementation of machine learning and deep learning algorithms from scratch as well as using different libraries like Keras, TensorFlow, PyTorch, etc. The goal is to have a single resource where people can find all kinds of possible implementations of basic algorithms in ML and DL so that this becomes a standard reference for base models and projects involving the use of these algorithms.

Follow the steps below to contribute:

  1. Fork the repository.
  2. Add the implementation of the algorithm with a clearly defined filename for the script or the notebook.
  3. Test the implementation thoroughly and make sure that it works with some dataset.
  4. Add a link with a short description about the file in the README.md.
  5. Create a pull request for review with a short description of your changes.
  6. Do not forget to add attribution for references and sources used in the implementation.

Sources:

deep-learning-algorithms-implementation's People

Contributors

adityashrm21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.