Dataset: A collection of related data used for analysis or for training and testing models, often stored as a table, a CSV file, or a set of files such as images.
Example
For a project, you download a public dataset of 50,000 used-car listings with columns for brand, year, kilometres driven, fuel type, and price, and use it to predict car prices.
Common Forms of Datasets
| Form | Example |
|---|---|
| CSV or Excel file | Sales records, student marks |
| Database tables | Customer and order data |
| JSON files | Data exported from an API |
| Image or text collections | Labelled photos, product reviews |
Training, Validation, and Test Sets
In machine learning, a dataset is usually split. The model learns from the training set, settings are tuned on the validation set, and final performance is measured on the test set the model has never seen. Testing on training data gives falsely good results.
Finding and Cleaning Datasets
- Sources: Kaggle, the UCI Machine Learning Repository, India's Open Government Data platform (data.gov.in), and public APIs.
- Check first: what each column means, how the data was collected, and its licence.
- Clean: handle missing values, remove duplicates, fix wrong types and formats, and look for outliers.
- Document: note every cleaning step, so others can repeat your work.
Related terms
- Data: what a dataset contains.
- Training: uses a dataset to teach a model.
- Testing (in Data & AI): uses a separate dataset to check a model.
- Data Analysis: often starts with a dataset.
Previous term: Database | Next term: Deadline
Related guides
- AI/ML vs Software Development
- Build a GitHub Portfolio That Gets You Internship Interviews
- Python Interview Questions Test
Frequently asked questions
What is a dataset?
A dataset is a collection of related data, such as a table of records, used for analysis or for training models.
Where can I find free datasets?
Kaggle, the UCI Machine Learning Repository, data.gov.in, and many public APIs offer free datasets.
What is the difference between a training and a test dataset?
The model learns from the training set. The test set is kept separate to measure how well it works on new data.
What does cleaning a dataset mean?
Fixing problems such as missing values, duplicates, wrong formats, and outliers before analysis.
Explore more internship terms
The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.
Browse all 199 terms