Multiple Linear Regression | Geometric Intuition & Code
Вставка
- Опубліковано 13 тра 2021
- 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/campusx-official/1...
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.campusx.in/s/store
============================
📱 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 ❤
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.
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.
I Think I found a hidden gem on UA-cam. THANK YOU SO MUCH for making such high quality videos :)
Best channel on youtube to learn data science, Specially in hindi
your explanation is clear to understand the multiple linear regression topic, thankyou for sharing your knowledge to the data science community
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😂😂😂..
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.
CampusX having best content than others , Thank You Sir!!!
can someone pin the link of one note
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
You are fantastic sir, you are really teach in-depth, Thank You so much sir👌👌
greatest teacher ever!
teaching manner is amazing tq great sir
truly a gem
great teaching
Best Explanation Ever Love your Videos
Thank You so much for clear explanation.content is vey good than other channels
Thank uh so much sir for explaining so nicely 👍👍
Hats off to you man👒, never learned 3d plane like this before...
Thank you sir , god bless you ❤️❤️❤️ you are great .
aap bhut aacha padhate h
Really helpful lecture.
Thanks sir😀
Very nice explanation. Thank you sir
you are awesome , i have never seen content like this . your teaching style is great
can someone pin the link of one note
sir u r superb really i paid fees for this course in simplilearn but its worst n u r best of best
Thankyou sir for this informative video
I have become your fan sir
Thank You Sir.
Great Explanation
Sir you are great
best content out there
Guru ji Pranaam
Thank you sir
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)
I dont know how should i thank u sirr
For the first time in my life, I am enjoying maths.
you are great
Thankyou sir
great sir
UNDERRATED!!!!
Thanks a lot 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?
Very nice explanation. Thank you sir❤️💯
can someone pin the link of one note
hidden gem
Thanxxx
Awesome SIr
sir which notepad do you use for making digital notes
Thanks for the lesson.
Only a problem. The variable "final" is not defined.
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.
Bro i do ppt multiple linear Regression what i can do
Hi Sir, Can i use these videos as reference for blog post
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
G.O.A.T.
You used "Final" in the code but it was not declared before so it is giving error
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 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
sir can you provide these notes
where is forward selection and backward elimination
n dimension wali eq galat hai, vo n+1 dimension ki ho gyi
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
can someone pin the link of one note
hello