What is a Dataset

In Machine Learning, a dataset is just a collection of data that we use to train and test our models.

Think of it like an Excel sheet:


Features (Inputs)


Labels (Outputs / Targets)

Labels are like the final dish that we expect after cooking with the ingredients.


Example Dataset

Age Salary Hours Studied Passed (Label)
20 30,000 5 Yes
22 25,000 2 No
19 40,000 6 Yes
21 35,000 1 No