Data Point
A “data point” is one small piece of evidence in your dataset—one recorded example of something you care about. It’s the basic unit that machine learning models learn from, one example at a time.
What it means technically
A data point (also called an observation or sample) is a single row in a typical dataset. It contains values for one or more variables. In ML language, those variables are often split into:
- Features: the input information (predictors), like square footage, number of bedrooms, and neighborhood.
- Label/target: the output you want to predict, like the house price (in supervised learning).
So one data point might be: (1,800 sq ft, 3 bedrooms, “Northside”) → $420,000.
How it looks in real datasets
- Exam scores: one student’s hours studied, attendance, and final score.
- Medical measurements: one patient’s age, blood pressure, cholesterol, and whether they developed a condition.
- Sales data: one transaction’s product, price, discount, and whether it was returned.
Why it matters in AI/ML
Models don’t learn from “the dataset” in the abstract—they learn from patterns across many data points. If data points are noisy, mislabeled, duplicated, or not representative, training can go wrong:
- Outliers (unusual data points) can skew models, especially simple ones like linear regression.
- Label errors can teach the model the wrong mapping from features to outcomes.
- Data leakage can sneak future information into a data point, inflating performance unrealistically.
In libraries like pandas and scikit-learn, data points are typically rows of a DataFrame or a 2D array, and training iterates over them in batches.
Data Point is a single recorded observation in a dataset, typically represented as one row: a vector of feature values (and possibly a label) for one entity, time, or event. It is the basic unit used to estimate distributions, compute summary statistics, and train or evaluate ML models. Example: one customer’s age, income, and purchase history (features) with churn yes/no (label).
Think of a big jar of jellybeans where each jellybean has a color, a size, and a flavor. If you pick one jellybean and write down its details, that single record is like a data point.
In statistics and AI/ML, a data point is one individual “row” of information—one example or observation. For a weather app, a data point might be “today in Chicago: 72°F, humid, cloudy.” For a photo classifier, a data point could be one image (often paired with a label like “cat” or “dog”). Many data points together help models learn patterns.