2 Replies Latest reply on Jan 12, 2018 8:51 AM by Intel Corporation

    ML 101 LinearRegression Lesson 4

    svsavage

      I am studying ML 101, on lesson 4 I used some data from the Congressional Budget Office and plotted some results.  I created a github wealth-cbo.

      Here is a plot of the result .  What did I do wrong to get this plot?

      top10wealth.png

        • 1. Re: ML 101 LinearRegression Lesson 4
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hi,

          We are looking into it and will come back shortly.

          Thanks,
          Rishabh

          • 2. Re: ML 101 LinearRegression Lesson 4
            Intel Corporation
            This message was posted on behalf of Intel Corporation

            Hi,

            I went to your code and the ML lesson you referred.
            I have attached an image with some plots from your code and the lesson.
            1) In plot 4 (From lesson) - We are plotting same data with linear, ridge and lasso regression.
            2) In plots 1,2 and 3, we are plotting different data with linear regression only:
               Plot 1 - Plotting percent of wealth of top 10%
               Plot 2 - Plotting percent of wealth who are between 50% to 90%.
               Plot 3 - Plotting percent of wealth of bottom 50%.

            Finally, in your example you are combining 3 plots, which are coming as expected.

            Thanks,
            Rishabh