5.4.2 Evaluating and Interpreting Models
Data Analytics
Once a model is built, it is important to check how well it performs and to understand the results it provides. This is called model evaluation.
5.4.2.1 Performance Metrics
Performance metrics help us measure how well a model is doing. Some common metrics include:
- Error Metrics
Error metrics measure how much the model's predictions differ from the actual values. In our grocery example, if the model predicts a monthly grocery bill of 8,000 rupees but the actual bill is 10,000 rupees, the difference is the error.
- Accuracy Metrics
Accuracy metrics tell us how many of the model's predictions were correct. For example, if a model predicts whether a student will pass or fail an exam, accuracy measures how often the model was right.