Giter Site home page Giter Site logo

image_binary_classification_from_scratch's Introduction

Deep neural network for image binary classification

Intro


This is a project following the instruction from a deep learning online course Neural Networks and Deep Learning by Andrew Ng. We built a L layer ANN framework from scratch by implementing the forward and backward propagation as well as supportive functionalities such as image resize and crop, L2 normalization.

Datasets


The framework was applied to train two models for two different datasets:

  1. An images dataset consist of different kinds of street foods were labeled as "Hotdog" or "Not Hotdog". This dataset was inspired by the famous TV show Silicon Valley. [1] (pending)

  2. The original "Cat or Not Cat" dataset used in Andrew Ng's class.

Models


So far totally 3 examples trained for the cat/notcat dataset.

  1. A feed forward NN built from scratch. (accuracy 0.8)

  2. A feed forward NN built with pytorch. (accuracy 0.8)

  3. A CNN model with batch norm, early stop and augmentation implemented with pytorch. (accuracy 0.9)

Reference

[1] https://www.kaggle.com/dansbecker/hot-dog-not-hot-dog

image_binary_classification_from_scratch's People

Contributors

wushanyun64 avatar

Watchers

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