Free Open Datasets for Machine Learning & Data Science | Towards AI

The Best Public Datasets for Machine Learning and Data Science

What are the best datasets for machine learning? After scraping the web hours after hours, we have created a great cheat sheet for high quality and diverse machine learning datasets.

Stacy Stanford
Oct 2, 2018 · 8 min read

AUTHORS:

Stacy Stanford, Machine Learning Memoirs Inc.

Roberto Iriondo, Machine Learning Department, Carnegie Mellon University.

PUBLISHED:

October 2, 2018

LAST UPDATED:

May 15, 2019


A few things to keep in mind when searching for high-quality datasets:

1.- A high-quality dataset should not be messy, because you do not want to spend a lot of time cleaning data.

2.- A high-quality dataset should not have too many rows or columns, so it is easy to work with.

3.- The cleaner the data, the better — cleaning a large dataset can be incredibly time-consuming.

4.- Your end-goal should have a question/decision to answer, which in turn can be answered with data.

Dataset Finders

Google Dataset Search: Similar to how Google Scholar works, Dataset Search lets you find datasets wherever they’re hosted, whether it’s a publisher’s site, a digital library, or an author’s personal web page.

Kaggle: A data science site that contains a variety of externally contributed to interesting datasets. You can find all kinds of niche datasets in its master list, from ramen ratings to basketball data to and even Seattle pet licenses.

UCI Machine Learning Repository: One of the oldest sources of datasets on the web, and a great first stop when looking for interesting datasets. Although the data sets are user-contributed and thus have varying levels of cleanliness, the vast majority are clean. You can download data directly from the UCI Machine Learning repository, without registration.

VisualData: Discover computer vision datasets by category, it allows searchable queries.

Find Datasets | CMU Libraries: Discover high-quality datasets thanks to the collection of Huajin Wang, CMU.

General Datasets

Public Government Datasets

Data.gov: This site makes it possible to download data from multiple US government agencies. Data can range from government budgets to school performance scores. Be warned though: much of the data requires additional research.

Food Environment Atlas: Contains data on how local food choices affect diet in the US.

School system finances: A survey of the finances of school systems in the US.

Chronic disease data: Data on chronic disease indicators in areas across the US.

The US National Center for Education Statistics: Data on educational institutions and education demographics from the US and around the world.

The UK Data Service: The UK’s largest collection of social, economic and population data.

Data USA: A comprehensive visualization of US public data.

Housing Datasets

Boston Housing Dataset: Contains information collected by the U.S Census Service concerning housing in the area of Boston Mass. It was obtained from the StatLib archive and has been used extensively throughout the literature to benchmark algorithms.

Geographic Datasets

Google-Landmarks-v2: An improved dataset for landmark recognition and retrieval. This dataset contains 5M+ images of 200k+ landmarks from across the world, sourced and annotated by the Wiki Commons community.

Finance & Economics Datasets

Quandl: A good source for economic and financial data — useful for building models to predict economic indicators or stock prices.

World Bank Open Data: Datasets covering population demographics, a huge number of economic, and development indicators from across the world.

IMF Data: The International Monetary Fund publishes data on international finances, debt rates, foreign exchange reserves, commodity prices and investments.

Financial Times Market Data: Up to date information on financial markets from around the world, including stock price indexes, commodities, and foreign exchange.

Google Trends: Examine and analyze data on internet search activity and trending news stories around the world.

American Economic Association (AEA): A good source to find US macroeconomic data.

Machine Learning Datasets:

Imaging Datasets

xView: xView is one of the largest publicly available datasets of overhead imagery. It contains images from complex scenes around the world, annotated using bounding boxes.

Labelme: A large dataset of annotated images.

ImageNet: The de-facto image dataset for new algorithms, organized according to the WordNet hierarchy, in which hundreds and thousands of images depict each node of the hierarchy.

LSUN: Scene understanding with many ancillary tasks (room layout estimation, saliency prediction, etc.)

MS COCO: Generic image understanding and captioning.

COIL100 : 100 different objects imaged at every angle in a 360 rotation.

Visual Genome: Very detailed visual knowledge base with captioning of ~100K images.

Google’s Open Images: A collection of 9 million URLs to images “that have been annotated with labels spanning over 6,000 categories” under Creative Commons.

Labelled Faces in the Wild: 13,000 labeled images of human faces, for use in developing applications that involve facial recognition.

Stanford Dogs Dataset: Contains 20,580 images and 120 different dog breed categories.

Indoor Scene Recognition: A very specific dataset and very useful, as most scene recognition models are better ‘outside’. Contains 67 Indoor categories, and 15620 images.

Sentiment Analysis Datasets

Multidomain sentiment analysis dataset: A slightly older dataset that features product reviews from Amazon.

IMDB reviews: An older, relatively small dataset for binary sentiment classification features 25,000 movie reviews.

Stanford Sentiment Treebank: Standard sentiment dataset with sentiment annotations.

Sentiment140: A popular dataset, which uses 160,000 tweets with emoticons pre-removed.

Twitter US Airline Sentiment: Twitter data on US airlines from February 2015, classified as positive, negative, and neutral tweets

Natural Language Processing Datasets

HotspotQA Dataset: Question answering dataset featuring natural, multi-hop questions, with strong supervision for supporting facts to enable more explainable question answering systems.

Enron Dataset: Email data from the senior management of Enron, organized into folders.

Amazon Reviews: Contains around 35 million reviews from Amazon spanning 18 years. Data include product and user information, ratings, and plaintext review.

Google Books Ngrams: A collection of words from Google books.

Blogger Corpus: A collection of 681,288-blog posts gathered from blogger.com. Each blog contains a minimum of 200 occurrences of commonly used English words.

Wikipedia Links data: The full text of Wikipedia. The dataset contains almost 1.9 billion words from more than 4 million articles. You can search by word, phrase or part of a paragraph itself.

Gutenberg eBooks List: An annotated list of ebooks from Project Gutenberg.

Hansards text chunks of Canadian Parliament: 1.3 million pairs of texts from the records of the 36th Canadian Parliament.

Jeopardy: Archive of more than 200,000 questions from the quiz show Jeopardy.

Rotten Tomatoes Reviews: Archive of more than 480,000 critic reviews (fresh or rotten).

SMS Spam Collection in English: A dataset that consists of 5,574 English SMS spam messages

Yelp Reviews: An open dataset released by Yelp, contains more than 5 million reviews.

UCI’s Spambase: A large spam email dataset, useful for spam filtering.

Self-driving (Autonomous Driving) Datasets

Berkeley DeepDrive BDD100k: Currently the largest dataset for self-driving AI. Contains over 100,000 videos of over 1,100-hour driving experiences across different times of the day and weather conditions. The annotated images come from New York and San Francisco areas.

Baidu Apolloscapes: Large dataset that defines 26 different semantic items such as cars, bicycles, pedestrians, buildings, streetlights, etc.

Comma.ai: More than 7 hours of highway driving. Details include car’s speed, acceleration, steering angle, and GPS coordinates.

Oxford’s Robotic Car: Over 100 repetitions of the same route through Oxford, UK, captured over a period of a year. The dataset captures different combinations of weather, traffic, and pedestrians, along with long-term changes such as construction and roadworks.

Cityscape Dataset: A large dataset that records urban street scenes in 50 different cities.

CSSAD Dataset: This dataset is useful for perception and navigation of autonomous vehicles. The dataset skews heavily on roads found in the developed world.

KUL Belgium Traffic Sign Dataset: More than 10000+ traffic sign annotations from thousands of physically distinct traffic signs in the Flanders region in Belgium.

MIT AGE Lab: A sample of the 1,000+ hours of multi-sensor driving datasets collected at AgeLab.

LISA: Laboratory for Intelligent & Safe Automobiles, UC San Diego Datasets: This dataset includes traffic signs, vehicles detection, traffic lights, and trajectory patterns.

Bosch Small Traffic Light Dataset: Dataset for small traffic lights for deep learning.

LaRa Traffic Light Recognition: Another dataset for traffic lights. This is taken in Paris.

WPI datasets: Datasets for traffic lights, pedestrian and lane detection.

Clinical Datasets

MIMIC-III: Openly available dataset developed by the MIT Lab for Computational Physiology, comprising de-identified health data associated with ~40,000 critical care patients. It includes demographics, vital signs, laboratory tests, medications, and more.

Note:

If you are aware of other high-quality, public datasets, which you recommend to people for research and application of machine learning, deep learning, data science, etc. Please feel free to suggest them along with the reasons, why they should be included in the comments below or by emailing Stacy directly at sstanford@mlmemoirs.xyz.

If the reason is strong, we will analyze them and include them in this list. Also, please let us know your experience with using any of these datasets in the comments section.

Happy machine learning!


Acknowledgments:

The authors would like to thank the members of the AI Community for the immense support, along with constructive criticism in preparation of this article.

DISCLAIMER: The views expressed in this article are those of the author(s) and do not represent the views of Carnegie Mellon University, Machine Learning Memoirs Inc. nor other companies (directly or indirectly) associated with the author(s). These writings are not intended to be final products, yet rather a reflection of current thinking, along being a catalyst for discussion and improvement.


Recommended Stories:

Sources:

[1] https://cloud.google.com/public-datasets/

[2] https://guides.library.cmu.edu/c.php?g=844845&p=6191907

[3] https://www.forbes.com/sites/bernardmarr/2018/02/26/big-data-and-ai-30-amazing-and-free-public-data-sources-for-2018/#f3bdeb5f8aec

[4] https://github.com/takeitallsource/awesome-autonomous-vehicles#datasets

[5] https://medium.com/startup-grind/fueling-the-ai-gold-rush-7ae438505bc2

[6] https://www.dataquest.io/blog/free-datasets-for-projects/

[7] https://gengo.ai/datasets/the-best-25-datasets-for-natural-language-processing/

[8] https://github.com/awesomedata/awesome-public-datasets#machinelearning

[9] http://lib.stat.cmu.edu/datasets/

[10] Institutional Research and Analysis | Common Datasets | https://www.cmu.edu/ira/CDS/index.html

[11] Datasets and Project Suggestions | Andrew W. Moore | http://www.cs.cmu.edu/~awm/15781/project/data.html

[12] Datasets | Machine Learning Repository | MIT | https://ocw.mit.edu/courses/sloan-school-of-management/15-097-prediction-machine-learning-and-statistics-spring-2012/datasets/

[13] Datasets | MIT Lincoln Laboratory | https://www.ll.mit.edu/r-d/datasets

[14] Stanford Large Network Dataset Collection | Stanford University | https://snap.stanford.edu/data/

[15] Stanford Common Dataset | Stanford University | https://snap.stanford.edu/data/

[16] Datalab | UC Berkeley | http://www.lib.berkeley.edu/libraries/data-lab

[17] Exploring Datasets | Data Science at Berkeley | https://datascience.berkeley.edu/open-data-sets/

[18] DeepDrive | UC Berkeley | https://bdd-data.berkeley.edu/

Citation:

For attribution in academic contexts, please cite this work as

Stanford, et al., "The Best Public Datasets for Machine Learning and Data Science", Towards AI, 2018

BibTex citation:

@misc{stanford_2018,
title={The Best Public Datasets for Machine Learning and Data Science},
url={https://towardsai.net/datasets},
note={https://towardsai.net/datasets},
journal={Medium},
publisher={Towards AI},
author={Stanford, Stacy and Iriondo, Roberto},
year={2018},
month={Oct}
}

Towards AI

Towards AI, is the world’s fastest-growing AI community for learning, programming, building and implementing AI.

Stacy Stanford

Written by

News & Technology Editor, writing on AI, machine learning, startups, technology, and the web | Editor @towards_AI | Feedback: sstanford@towardsai.net

Towards AI

Towards AI, is the world’s fastest-growing AI community for learning, programming, building and implementing AI.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade