YouTube

Got a YouTube account?

New: enable viewer-created translations and captions on your YouTube channel!

English subtitles

← Lasso Prediction with sklearn Quiz - Intro to Machine Learning

Get Embed Code
4 Languages

Showing Revision 3 created 05/25/2016 by Udacity Robot.

  1. Now you've helped me fit my regression, I want to be able to predict a label for
  2. a new point.
  3. So the question is, what's the next line of code that I should write?
  4. So just to be concrete about it,
  5. let's say the new point has the features 2 and 4.
  6. So type the line of code that you would put after performing the fit
  7. that would predict a label for a new point.