Wonderful video! I was able to follow along happily until the scatterplot command, for which I got the error, "TypeError: scatterplot() takes from 0 to 1 positional arguments but 2 were given". Had to change the command to sns.scatterplot(x=predictions, y=y_test). Everything else was perfect, and I learned a lot - THANK YOU!!!
I've given you the 1000th thumbs up today, If I could I would have given you another 10000. You deserve more than that for your video really easy to follow and to undesrtand. I can wait to watch other videos of you.Thanks a lot👍
I have watched endless Regression videos. I graduated with a math degree a couple years ago, and my programming skills are beginner level. I've done Datacamp stuff, youtube guided projects, you name it. This is by far the most concise, easy to follow, welcoming, calming video I have ever watched explaining how to do a regression project. I appreciate the quick definitions along the way, that help the audience including myself, not feel stupid lol. And explaining every small step really helps. Also the big picture explanation of how leverage this code and automate it, was helpful. Very few if any, ever talks about that step. I'm trying to get crack into the tech world and land a data job. Just this one video has truly given me the confidence, to not feel overwhelmed and that its obtainable. Sorry for the lengthy response haha Please keep making videos man, you rock!!
Excellent video. Please keep doing such videos more and more. Just one thing was missing in the video, I guess. Finally, how to check the model with some random values. Here is the code: # Creating a DataFrame with random data random_data = pd.DataFrame({ 'Avg. Session Length': [33.8], # Example value 'Time on App': [12.0], # Example value 'Time on Website': [34.4], # Example value 'Length of Membership': [5.4] # Example value }) # Make predictions prediction = lm.predict(random_data) print(f"Predicted Yearly Amount Spent: ${prediction[0]:.2f}")
I'm following 36:40 in the video but when I try to execute sns.scatterplot(predictions, y_test) I get an error: Scatterplot() takes from 0 to 1 positional arguments but 2 were given. Any solutions? I am using seaborn version 0.12.2 Could that be the issue?
After watching a lot of videos for Linear Regression your video is by far THE BEST!!! thanks. Just one thing couldn't use scatterplot got a 'scatterplot() takes from 0 to 1 positional arguments but 2 were given' error.
Hey. Nice video. There's just a thing I'm not sure about. Shouldn't normality, homoscedasticity and tests regarding residuals be done over y_train - predict, where predict is based on the training set? You verified the normality assumption on residuals of y_test - "predict_test". Which one is it?
The coefficient does not determine the most important. The magnitude of each variable varies in the formula. A small coefficient applied to a variable with more magnitude can be the most variance on the model
Today is Sept-5 and here we celebrate teachers day in india so I really want to thank you for making such videos and explaining every minute thing and complex things in such a simplistic way thank u so much dude
yo buddy,im also learning ml and just completed freecodecamp course but the sad thing is I learned theory mostly,not code so any suggestions?like how to start?i knew most of the things but in theory or you can say, i can understand code easily but couldnt write from scratch and for your knowledge, i havent watched this video yet...what should or where should I start now as I love ml,just having some trouble....