Multiple Linear Regression | Geometric Intuition & Code
HTML-код
- Опубликовано: 14 окт 2024
- This video simplifies the concepts, providing a clear understanding of how to implement Multiple Linear Regression in Python. Enhance your regression skills with this hands-on tutorial.
Code used: github.com/cam...
Plotly: • Plotly tutorial for be...
Hyperplane : • Equation of a Hyper-pl...
============================
Do you want to learn from me?
Check my affordable mentorship program at : learnwith.camp...
============================
📱 Grow with us:
CampusX' LinkedIn: / campusx-official
CampusX on Instagram for daily tips: / campusx.official
My LinkedIn: / nitish-singh-03412789
Discord: / discord
E-mail us at support@campusx.in
He is not a teacher , He is a Savior ❤
definitely
Firstly the explanations are too good and one of the best that I have come across.Thank you!
There is one small correction to the code in github. At line 224... the final data set is used before it has been created so it would throw an error. It should be as below.
xGrid, yGrid = np.meshgrid(y, x)
final = np.vstack((xGrid.ravel().reshape(1,100),yGrid.ravel().reshape(1,100))).T
z_final = lr.predict(final).reshape(10,10)
z = z_final
can someone pin the link of one note
Thank very much bro you made my day
Really thankful 👍👍👍👍 I was in trouble due to this error only from past 2 days
NameError: name 'final' is not defined:
The issue in your focal cell is that the variable final is not defined before it is being used in the lr.predict() method. This is why you are getting a NameError stating that 'final' is not defined.
To fix this issue, you need to move the line of code where final is defined before the line where lr.predict() is called. Here's the updated code:
[By defining final before using it in the lr.predict() method, the error should be resolved.]
x = np.linspace(-5, 5, 10)
y = np.linspace(-5, 5, 10)
xGrid, yGrid = np.meshgrid(y, x)
final = np.vstack((xGrid.ravel().reshape(1,100),yGrid.ravel().reshape(1,100))).T
z_final = lr.predict(final).reshape(10,10)
z = z_final
thanks a lot man. Saved a lot of time
The quality of these videos is way greater than the paid platforms. The patience with which he explains and the clarity of doubts that students might have is incredible. Thank you Sir.
Happy Teachers Day Sir.. I am fresher in Data Science from a non-coding background and I have learned a lot from your videos. Thanks a lot for such good and explanatory videos.
Same nanum data science student
wahoo amazing, I don't find such a great teacher in my life He was a gem. Look how he explains very simply and amazingly.
your explanation is clear to understand the multiple linear regression topic, thankyou for sharing your knowledge to the data science community
CampusX having best content than others , Thank You Sir!!!
can someone pin the link of one note
I Think I found a hidden gem on RUclips. THANK YOU SO MUCH for making such high quality videos :)
you are awesome , i have never seen content like this . your teaching style is great
can someone pin the link of one note
teaching manner is amazing tq great sir
you have explained this very well , Iam on a data science professional course but still referring your videos to understand it
thank you
You are fantastic sir, you are really teach in-depth, Thank You so much sir👌👌
CampusX having best content than others , Thank You Sir
lets complete the ML playlist together , lets connect on discord . what u think?
@@749srobin definitely
@@core4032 complete ho gya to?
Best channel on youtube to learn data science, Specially in hindi
sir u r superb really i paid fees for this course in simplilearn but its worst n u r best of best
aap bhut aacha padhate h
NameError: name 'final' is not defined:
The issue in your focal cell is that the variable final is not defined before it is being used in the lr.predict() method. This is why you are getting a NameError stating that 'final' is not defined.
To fix this issue, you need to move the line of code where final is defined before the line where lr.predict() is called. Here's the updated code:
[By defining final before using it in the lr.predict() method, the error should be resolved.]
x = np.linspace(-5, 5, 10)
y = np.linspace(-5, 5, 10)
xGrid, yGrid = np.meshgrid(y, x)
final = np.vstack((xGrid.ravel().reshape(1,100),yGrid.ravel().reshape(1,100))).T
z_final = lr.predict(final).reshape(10,10)
z = z_final
Bruh are you a fresher? I mean how can you do those? I have no clue whatsover
x = np.linspace(-5, 5, 10)
y = np.linspace(-5, 5, 10)
xGrid, yGrid = np.meshgrid(y, x)
final = np.vstack((xGrid.ravel().reshape(1,100),yGrid.ravel().reshape(1,100))).T
z_final = lr.predict(final).reshape(10,10)
Hats off to you man👒, never learned 3d plane like this before...
Thank You so much for clear explanation.content is vey good than other channels
such a great man , hats off you !!🙌
Best Explanation Ever Love your Videos
Thank uh so much sir for explaining so nicely 👍👍
truly a gem
great teaching
Thank You Sir.
amazing explanation, but in video there is a echo problem
Very nice explanation. Thank you sir
Really helpful lecture.
Thanks sir😀
I have become your fan sir
sir in this
x = np.linspace(-5, 5, 10)
y = np.linspace(-5, 5, 10)
xGrid, yGrid = np.meshgrid(y, x)
z_final = lr.predict(final).reshape(10,10) # here final in not defined
z = z_final
final = np.vstack((xGrid.ravel().reshape(1,100),yGrid.ravel().reshape(1,100))).T
'final' is not defined
greatest teacher ever!
Thanks for the lesson.
Only a problem. The variable "final" is not defined.
For the first time in my life, I am enjoying maths.
Hello sir,
Recently I watched your Multiple Regression video and after I that started to work upon a Prediction problem. After completing all the steps then I tried to plot Regression Plane onto that but I am unable to do so. I have 5 I/P columns and 1 O/P col. Can u please help me with this.
Thankyou sir for this informative video
Thank you sir , god bless you ❤️❤️❤️ you are great .
I dont know how should i thank u sirr
Very nice explanation. Thank you sir❤️💯
can someone pin the link of one note
Great Explanation
You used "Final" in the code but it was not declared before so it is giving error
best content out there
Hi Sir, Can i use these videos as reference for blog post
sir which notepad do you use for making digital notes
Guru ji Pranaam
Thankyou sir
Whoever is getting the 'final' name not defined error just move the "final = np.vstack((xGrid.ravel().reshape(1,100),yGrid.ravel().reshape(1,100))).T
" right before "z_final = lr.predict(final).reshape(10,10)".
Thanks man😂😂😂..
Sir you are great
Awesome SIr
Thank you sir
you are great
Sir, I'm facing issue at 18:16
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
in ()
2 y = np.linspace(-5,5,10)
3 xGrid,yGrid = np.meshgrid(y,x)
----> 4 z_final = lr.predict(final).reshape(10,10)
5 z = z_final
6 final = np.vstake((xGrid.ravel().reshape(1,100),yGrid.ravel().reshape(1,100))).T
NameError: name 'final' is not defined
working in google colab.....anyone pls help
Bro i do ppt multiple linear Regression what i can do
where is forward selection and backward elimination
great sir
hidden gem
Thanxxx
n dimension wali eq galat hai, vo n+1 dimension ki ho gyi
UNDERRATED!!!!
Thanks a lot sir:)
sir! how to solve this error
NameError Traceback (most recent call last)
in ()
3 y = np.linspace(-5, 5, 10)
4 xGrid, yGrid = np.meshgrid(y, x)
----> 5 final
6 z_final = lr.predict(final).reshape(10,10)
7
NameError: name 'final' is not defined
please upload more and more video
this is my first ML algorithm , Would continue the playlist , need a study companion to learn things better through discussions and trial and run , would you like to join ? your comment is recent so thought of asking you first
sir can you provide these notes
G.O.A.T.
done
can someone pin the link of one note
hello