Return to Video

Lasso Coefficients Quiz - Intro to Machine Learning

  • 0:00 - 0:02
    Now this is a tough quiz because we haven't done this before.
  • 0:02 - 0:05
    So you'll probably want to do to the documentation page to figure out
  • 0:05 - 0:06
    how to do this.
  • 0:06 - 0:07
    Here's the question.
  • 0:07 - 0:10
    Suppose now that I've done my fitting with my Lasso regression,
  • 0:10 - 0:13
    maybe I've predicted a point or two with it.
  • 0:13 - 0:17
    Let's say that I want to understand the effect of the fact that this is
  • 0:17 - 0:19
    a regularized regression,
  • 0:19 - 0:22
    which means that I want to look at the coefficients of the regression.
  • 0:22 - 0:25
    I want to see, for example, if it's setting any of them to, to zero or to
  • 0:25 - 0:31
    very small values, which is effectively the same as discarding those features.
  • 0:31 - 0:34
    In other words, I want to start accessing the information of which
  • 0:34 - 0:37
    features are the most important in my regression results.
  • 0:37 - 0:41
    So the question for you is what would you put in this box here
  • 0:41 - 0:43
    to print the coefficients of the regression?
  • 0:43 - 0:46
    So I've already given you the print command, and
  • 0:46 - 0:50
    the question is what line would you put in this box to access the coefficients?
Title:
Lasso Coefficients Quiz - Intro to Machine Learning
Description:

more » « less
Video Language:
English
Team:
Udacity
Project:
ud120 - Intro to Machine Learning
Duration:
0:51

English subtitles

Revisions Compare revisions