The link to code is - https://drive.google.com/file/d/1UrPICsCIgpQXSUotZwF_6FCZG8BjDWjv/view?usp=sharing . I am getting error in the last block of code even though I have written same code as of sir. Please tell why I am facing error.
Problem in Locally Weighted Regression Code
Hey @abhaygarg2001
Can you try running the code again? What I am guessing is that you created a variable named plotPrediction after writing the same named function. Hence, the function you intended wasn’t called. Restarting the kernel and running the code again might solve your problem.
Let me know the result.
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.