Features X and Target y
Shaping inputs the library expects.
Inputs and Outputs
Supervised models learn a mapping from inputs to an output. The inputs are your features, and the output is what you want to predict. 🎯
Meet X and y
By convention, features go in a capital X and the target goes in a lowercase y. This naming shows up in nearly every example you read.
All lessons in this course
- The fit and predict Contract
- Features X and Target y
- Train a Linear Regression
- Score Your First Model