Case File: A Straight Line
Fit your first real model: a straight line from distance to trip time, learned on the early trips and tested on the later ones. Read the slope, measure the error and R squared, then add parcels, weight and rain and see what each is worth in minutes. NumPy and pandas, on data generated for you alone.
Case File: A Straight Line
Fit your first real model: a straight line from distance to trip time, learned on the early trips and tested on the later ones. Read the slope, measure the error and R squared, then add parcels, weight and rain and see what each is worth in minutes. NumPy and pandas, on data generated for you alone.
In this lesson:
- machine-learning
- linear-regression
- polyfit
- lstsq
- r-squared
- python
- case-file
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans