Giter Club home page Giter Club logo

fashion's Introduction

Fashion

Training AI machine learning models on the Fashion MNIST dataset.

Read the full article at Image Recognition for Fashion with Machine Learning

What is Fasion-MNIST?

Fashion-MNIST is a dataset consisting of 70,000 images (60k training and 10k test) of clothing objects, such as shirts, pants, shoes, and more. Each example is a 28x28 grayscale image, associated with a label from 10 classes. The 10 classes are listed below.

The dataset was designed as a plug-and-play replacement for the traditional MNIST handwritten digit recognizing dataset. Both datasets use the same scale and type of image files, along with the same number of classification labels (10), for usage with machine learning models.

The Dataset

Download the dataset as a series of 4 zipped files:

Train Images Train Labels Test Images Test Labels

The dataset can be loaded in R by using the same script for loading the traditional MNIST dataset. Additionally, images can be displayed in the same manner, by calling the showDigit method.

Labels

Each training and test example is assigned to one of the following labels:

Label Description
0 T-shirt/top
1 Trouser
2 Pullover
3 Dress
4 Coat
5 Sandal
6 Shirt
7 Sneaker
8 Bag
9 Ankle boot

Pre-trained Models

You can find a set of pre-trained models included in this repository for immediate loading into the R environment.

Loading Your Own Images

You can load your own (color) images of shirts, pants, or shoes by reading any 28x28 image, converting to grayscale, and extracting the single channel of bytes from grayscale. Once loaded, you can classify the result using a trained machine learning model, based on the fashion-mnist dataset.

Accuracy

The trained models have achieved the following accuracies (train/test) on 30k images as shown below. A detailed list of accuracies is also available.

Baseline Algorithm (always predicts the most frequently occurring clothing item)

12%/10%

Support Vector Machine (svmRadial)

91%/87%

Gradient Boosting Machine (gbm)

90%/85%

Neural Network (multinom)

84%/78%

LogitBoost

81%/75%

References

The MNIST Database of Handwritten Digits

The Fashion-MNIST Database

Zalando

License

MIT

Author

Kory Becker http://www.primaryobjects.com

fashion's People

Contributors

primaryobjects avatar

Stargazers

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