Sir,
Please have a look at my code at following link:
https://github.com/nikitamalhotra/nikita.malhotras-gmail.com/blob/master/LinearRegression/TR03%20-%20365%20Data%20Science%20-%20SLR%20With%20Comments.ipynb
There is an issue with Plot. I am unable see y labels correctly displaying. Please suggest.
And, the OLS() function is also throwing an error. I am not able to understand the reason.
Hi there, Nikita,
This is an issue with the plotting is related to matplotlib.
Try plotting only the major values. You are looking for something like:
plt.tick_params(axis='y', which='major')
Let us know if it worked!
Best,
The 365 Team