Three main ML concepts
To talk about ML you need three basic concepts: data, features and a model. They form the basis of any ML system. Let us cover them with a clear example — predicting an apartments price.
Data
Data is the examples a model learns on. For predicting an apartments price, the data is a table of sold apartments: each has known characteristics and the real sale price. The more and better the data, the better the model learns.
Features
Features are the characteristics of each example by which the model draws a conclusion. For an apartment the features are: area, number of rooms, floor, district, condition. The model learns to link features to the answer (price). Choosing good features is critical: "area" is useful for price, "wallpaper color" — hardly.
The model
A model is what learns from data to find the link between features and the answer. After training, the model can predict: give it the features of a new apartment (not in the data) — it predicts the price based on learned patterns.
Training and prediction — two stages
Working with an ML model splits into two stages: training (the model learns on data with known answers) and prediction (the trained model is applied to new data). First we learn on the past, then apply to the new. Understanding this split is the key to everything that follows.
Rule: data is examples for training, features describe an example, the model is what learns to link features to the answer. Good data and features decide everything.
🧠 What are features in ML?