I would prefer not using the word "from scratch" in the title of the videos as this video is not for newbies to the ML who want to code linear regression model and you are using build in one....
@minhle314152 жыл бұрын
indeed
@animativity74008 күн бұрын
this video gives the best explaination.
@dr.satyendrasingh5576 Жыл бұрын
Awesome video... thanks👍
@GregHogg Жыл бұрын
You're very welcome!!
@aondonguaddai12073 жыл бұрын
Awesome, I am having a challenge, after running the last part of the code (sklearn_model = LinearRegression().fit(X_train,y_train) sklearn_y_prediction = sklearn_model.predict(X_train) it keeps on giiving me this error () sklearn_y_prediction.shape) (Input contains NaN, infinity or a value too large for dtype('float64'). I have checked to see if the are any NaN values but there are none
@GregHogg3 жыл бұрын
Have you made sure of this by removing all of the null rows in the data frame with df = df.dropna()?
@aondonguaddai12073 жыл бұрын
@@GregHogg Yes just did and it works fine now. thanks.
@GregHogg3 жыл бұрын
@@aondonguaddai1207 Awesome
@LostGirlAt22 Жыл бұрын
Thank you so much for this video
@GregHogg Жыл бұрын
Very welcome!
@lewismurigi36239 ай бұрын
@GregHogg Thank you Sir. You have really helped me to do my Exam today. More Blessing Sir
@relaxingsounds6049 ай бұрын
if i have a sample (e.g., ftse100) and I have 10 years worth of data for each of my variables: do i need to do 10 separate regressions (for each year); or, take average (of yearly data points) over 10 years and do a single one. OR, could I somehow do a single regression whilst including all data points ??
@zhengyangfei5599 Жыл бұрын
Here, we manually checked the correlation and eliminated those that are not significant. Is there any way to implement an algorithm that does it for us?
@GregHogg Жыл бұрын
Yeah there's an algorithm for everything really haha
@hannukoistinen5329 Жыл бұрын
If you want to be a Data Scientist in Python, forget it!! R is the tool for REAL data science/analytics!
@MrGatward2 жыл бұрын
So is it true that f(x1, x2, x3) = p1x1 + p2x2 + p3x3 where pi is the ith value of the prediction model?
@MrGatward2 жыл бұрын
And how do you know what pi is? Thanks
@PoorvaSharma-t4l5 ай бұрын
from where can i access the dataset
@damirzhanzakov3 ай бұрын
brother this is not from scratch
@arsheyajain70553 жыл бұрын
Awesome!!!
@GregHogg3 жыл бұрын
Woot!!!
@anthonychung29072 жыл бұрын
what to do if the x-axis is time series ?
@faisalsal1 Жыл бұрын
Jump to 1:49 to skip bla bla bla ...
@amoghmbabu65072 жыл бұрын
great video !!!
@GregHogg2 жыл бұрын
Thank you.
@polusanisriman8424 Жыл бұрын
@@GregHogg Your video is misleading.. From scratch means building regressor object which can do normalization, gradient descent, predict values from answer, accuracy visualization etc etc using Numpy and Matplotlib. EQUATIONS!!!!
@deepeshjha95028 ай бұрын
Bro ruined the whole video just by importing the model.
@GregHogg8 ай бұрын
Looking back on this video, I completely 100% agree. I think I forgot in the middle that I was supposed to do that part in numpy
@ryannflin128511 күн бұрын
Don't click bait man
@zsnowboardern9332 Жыл бұрын
i am confused. why do we want to do complicated things when we can do simple things please send me your thoughts. this video is great with all the explanations
@tiagosilva8562 жыл бұрын
where is the dataframe?
@jacklinetum5460 Жыл бұрын
Hi , Check on the spelling of dataframe. It should be DataFrame. Not Dataframe