Giter VIP home page Giter VIP logo

cifar10-image-recognition's Introduction

Cifar10-Image-recognition

After reading the Ng's article <single layer networks in unsupervised feature learning>. The paper is published in 2011. I try to practice this project.

All the codes are writen in Jupyter Notebook, so you guys could see the result clearly.

The naif K-means is just using the K-means to cluster the image, and see the result. Just for fun.

The version 1 there is something i wrongly unstood, but i will still poster.

The version 2, I got the good result. The basic idea of this article is following, for n*n patch do a K-means clustering, to get the hidden label. Then try to create dictionary for both the train and test image. Finally, using the standard classification model like SVM to do the classification. This idea quite like the bag-of-words in the image processing. The difference is that, in the normal way, we cluster those feature, howerver in this article we do the cluster for the patch.

The first is the soft dictionary, which means in the E step, we don't force the data belongs to the closest class, but using the probability to measure the relation.

The second is the hard dictionary, just standard K-means.

I use the SVM to be the final classification as Ng suggest in the article.

Also, after 6 months, I try this simple task with Pytorch, expericement with VGG-16 and the CNN network of my own.

cifar10-image-recognition's People

Contributors

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