Regarding the dataset used in the lowess section

the dataset used in thr implementation of locally weighted regression when plotted gives a curve like scatter plot in the video but

the dataset that I downloaded from the repo gives me a linear scatter plot after normalising.

is there any issue with the dataset? please provide the link of the right dataset

Hey @settingsingh, you used this dataset na

??

Yes the same dataset, on plotting X and Y the data points are seen linear not in curve

Hey @settingsingh, i checked the file again, there is no problem with the file, download it again, here is the ss where i checked it,

Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. :blush:

Yes, the way you did, it worked fine in my notebook too

PLease tell me what wrong was I doing here, because this code gives me a linear plot

https://drive.google.com/open?id=1vTGSgpKXx3DATPqstNhaqFUIvL_EFR7y

Hey @settingsingh, run these three cells in order.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

Okay so I faced the same issue and I have figured out that in the video Prateek sir had Assigned the Y matrix with the values of X instead of mapping the values of Y.

The code in the video : Y = np.mat(X)
Corrected code : Y = np.mat(Y)

We got a linear plot because we assigned the values of X to Y matrix and it eventually became an X vs X plot instead of an X vs Y plot.

Hope I’ve cleared your issue.