Score Your First Model
Reading the model's score method.
Is It Any Good?
Training a model is only half the job. Next you ask the real question: how well does it actually predict? 🧐
The score Method
Every estimator offers a score method that returns a single number summarizing performance. One call, one quick verdict.
model.score(X_test, y_test)All lessons in this course
- The fit and predict Contract
- Features X and Target y
- Train a Linear Regression
- Score Your First Model