0PricingLogin
Data Science Academy · Lesson

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

  1. The fit and predict Contract
  2. Features X and Target y
  3. Train a Linear Regression
  4. Score Your First Model
← Back to Data Science Academy