{"id":17998397,"url":"https://github.com/primaryobjects/fashion","last_synced_at":"2025-03-26T05:30:50.177Z","repository":{"id":139343238,"uuid":"103687786","full_name":"primaryobjects/fashion","owner":"primaryobjects","description":"The Fashion-MNIST dataset and machine learning models.","archived":false,"fork":false,"pushed_at":"2017-10-24T13:34:00.000Z","size":30183,"stargazers_count":24,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-21T06:41:37.845Z","etag":null,"topics":["artificial-intelligence","artificial-neural-networks","classification","data-science","dataset","fashion","fashion-mnist","image-classification","image-recognition","machine-learning","mnist","r","supervised-learning","support-vector-machines","svm","xgboost"],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/primaryobjects.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-15T18:15:16.000Z","updated_at":"2023-08-30T05:10:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"ae7fcd1c-88d6-4790-90ca-952d9315e328","html_url":"https://github.com/primaryobjects/fashion","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Ffashion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Ffashion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Ffashion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Ffashion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primaryobjects","download_url":"https://codeload.github.com/primaryobjects/fashion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245597140,"owners_count":20641858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","artificial-neural-networks","classification","data-science","dataset","fashion","fashion-mnist","image-classification","image-recognition","machine-learning","mnist","r","supervised-learning","support-vector-machines","svm","xgboost"],"created_at":"2024-10-29T21:25:10.352Z","updated_at":"2025-03-26T05:30:50.170Z","avatar_url":"https://github.com/primaryobjects.png","language":"R","readme":"Fashion\n=======\n\nTraining AI machine learning models on the Fashion MNIST [dataset](https://github.com/zalandoresearch/fashion-mnist).\n\nRead the full article at [Image Recognition for Fashion with Machine Learning](http://www.primaryobjects.com/2017/10/23/image-recognition-for-fashion-with-machine-learning/)\n\n![](/data/test/pants1-28x28.png)\n![](/data/test/pants2-28x28.png)\n![](/data/test/shirt1-28x28.png)\n![](/data/test/shirt2-28x28.png)\n![](/data/test/shirt3-28x28.png)\n![](/data/test/sneaker1-28x28.png)\n![](/data/test/sneaker2-28x28.png)\n\n## What is Fasion-MNIST?\n\nFashion-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.\n\nThe dataset was designed as a plug-and-play replacement for the traditional [MNIST](http://yann.lecun.com/exdb/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.\n\n## The Dataset\n\nDownload the dataset as a series of 4 zipped files:\n\n[Train Images](/data/train-images-idx3-ubyte.gz)\n[Train Labels](/data/train-labels-idx1-ubyte.gz)\n[Test Images](/data/t10k-images-idx3-ubyte.gz)\n[Test Labels](/data/t10k-labels-idx1-ubyte.gz)\n\nThe dataset can be loaded in R by using the same [script](https://gist.github.com/brendano/39760) for loading the traditional MNIST dataset. Additionally, images can be displayed in the same manner, by calling the `showDigit` method.\n\n### Labels\n\nEach training and test example is assigned to one of the following labels:\n\n| Label | Description |\n| --- | --- |\n| 0 | T-shirt/top |\n| 1 | Trouser |\n| 2 | Pullover |\n| 3 | Dress |\n| 4 | Coat |\n| 5 | Sandal |\n| 6 | Shirt |\n| 7 | Sneaker |\n| 8 | Bag |\n| 9 | Ankle boot |\n\n## Pre-trained Models\n\nYou can find a set of [pre-trained models](https://github.com/primaryobjects/fashion/tree/master/data/models) included in this repository for immediate loading into the R environment.\n\n## Loading Your Own Images\n\nYou can [load](https://gist.github.com/primaryobjects/06c2deca989af9c1acf735521ba9db81#file-readpng2-r) 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.\n\n## Accuracy\n\nThe trained models have achieved the following accuracies (train/test) on 30k images as shown below. A detailed list of accuracies is also [available](https://github.com/zalandoresearch/fashion-mnist#benchmark).\n\n#### Baseline Algorithm (always predicts the most frequently occurring clothing item)\n12%/10%\n\n#### Support Vector Machine (svmRadial)\n91%/87%\n\n#### Gradient Boosting Machine (gbm)\n90%/85%\n\n#### Neural Network (multinom)\n84%/78%\n\n#### LogitBoost\n81%/75%\n\n## References\n\n[The MNIST Database of Handwritten Digits](http://yann.lecun.com/exdb/mnist/)\n\n[The Fashion-MNIST Database](https://github.com/zalandoresearch/fashion-mnist)\n\n[Zalando](https://jobs.zalando.com/tech/)\n\n## License\n\nMIT\n\n## Author\n\nKory Becker\nhttp://www.primaryobjects.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Ffashion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimaryobjects%2Ffashion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Ffashion/lists"}