Coder Social home page Coder Social logo

janakhpon / ilearnmachinelearning.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ichtrojan/ilearnmachinelearning.js

0.0 1.0 0.0 57.15 MB

Thanks to this project I could combine my knowledge from two areas: machine learning and web development. The whole application is written in React using TypeScript and Redux, but the engine that drives it is TensorFlow.js - a modern library for training and deploying machine learning models.

Home Page: https://learn-machine-learning.herokuapp.com/

License: MIT License

Jupyter Notebook 10.83% Shell 0.89% HTML 1.39% TypeScript 71.06% JavaScript 0.99% CSS 14.85%

ilearnmachinelearning.js's Introduction

ILearnMachineLearning.js

Description

Thanks to this project I could combine my knowledge from two areas: machine learning and web development. The whole application is written in React using TypeScript and Redux, but the engine that drives it is TensorFlow.js - a modern library for training and deploying machine learning models. You can find a working app here or play with it on your computer.

# install dependencies
npm install

# serve with hot reload at localhost:3000
npm start

MNIST

MNIST dataset is widely known in the field of machine learning. It contains about 70000 examples of handwritten digits. Photos are black and white, normalized to fit into a 28x28 pixel bounding box and anti-aliased. This iconic dataset was used to train the model in Keras and then turned into a form understandable to TensorFlow.js and used as the heart of the first project. The whole process of creating the model has been described in the Medium article.

YOLO

Originally written in Darknet - open source neural network framework  -  YOLO performs really well in the tasks of locating and recognizing objects on the pictures. After converting to a form understandable to TensorFlow.js, I used Tiny YOLOv2 model to recognize objects in pictures sent by the user. All predictions are made on the client's side, without the need to send photos to the server.

Build Keras models

If you are interested in neural networks and would like to know how to create models used in this project, I encourage you to test the scripts on your computer.

# clone repository
git clone https://github.com/SkalskiP/ILearnMachineLearning.js.git

# navigate to models directory
cd ILearnMachineLearning.js/models

# install all required packages and dependencies as well as python environment
./setup.sh

# activate python environment
source .env/bin/activate

Related projects

If you're interested in machine learning, check out my other projects and check my profile on Kaggle.

Read more about In-Browser ML

  1. TensorFlow.js Tutorials & Guides
  2. Introducing TensorFlow.js: Machine Learning in Javascript
  3. Neural Network 3D Simulation
  4. YOLO: Real-Time Object Detection
  5. AI Experiments with Google
  6. Gentle guide on how YOLO Object Localization works with Keras
  7. How to implement a YOLO (v3) object detector from scratch in PyTorch: Part 1
  8. You only look once

ilearnmachinelearning.js's People

Contributors

skalskip avatar

Watchers

James Cloos 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.