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

КОМЕНТАРІ • 78

  • @krithwal1997
    @krithwal1997 2 роки тому +50

    He is not a teacher , He is a Savior ❤

  • @mylifeandfood
    @mylifeandfood Рік тому +16

    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.

  • @iftikharahmad2481
    @iftikharahmad2481 Рік тому +12

    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.

  • @suyashdongre
    @suyashdongre Рік тому +2

    I Think I found a hidden gem on UA-cam. THANK YOU SO MUCH for making such high quality videos :)

  • @namansethi1767
    @namansethi1767 2 роки тому

    Best channel on youtube to learn data science, Specially in hindi

  • @bhaskargg6018
    @bhaskargg6018 Рік тому +5

    your explanation is clear to understand the multiple linear regression topic, thankyou for sharing your knowledge to the data science community

  • @PiyushKumar-ku6yz
    @PiyushKumar-ku6yz Рік тому +1

    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)".

  • @aniketraut71
    @aniketraut71 3 місяці тому

    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.

  • @abhinagmal1940
    @abhinagmal1940 2 роки тому +10

    CampusX having best content than others , Thank You Sir!!!

  • @inspiredteaching4468
    @inspiredteaching4468 2 роки тому +14

    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

    • @SagarGupta-ue1dr
      @SagarGupta-ue1dr Рік тому

      can someone pin the link of one note

    • @vivekmahajan3253
      @vivekmahajan3253 Рік тому

      Thank very much bro you made my day

    • @keshavkarki7775
      @keshavkarki7775 Рік тому

      Really thankful 👍👍👍👍 I was in trouble due to this error only from past 2 days

    • @mdmojiburbabu
      @mdmojiburbabu Рік тому

      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

    • @sanskaripatrick7191
      @sanskaripatrick7191 10 місяців тому

      thanks a lot man. Saved a lot of time

  • @sachink1224
    @sachink1224 Рік тому +1

    You are fantastic sir, you are really teach in-depth, Thank You so much sir👌👌

  • @balrajprajesh6473
    @balrajprajesh6473 2 роки тому

    greatest teacher ever!

  • @studentstruggle7450
    @studentstruggle7450 4 місяці тому +1

    teaching manner is amazing tq great sir

  • @vikashgupta-ec6wq
    @vikashgupta-ec6wq 6 місяців тому

    truly a gem
    great teaching

  • @mentalgaming2739
    @mentalgaming2739 6 місяців тому

    Best Explanation Ever Love your Videos

  • @manojchowdarypokuri9016
    @manojchowdarypokuri9016 Рік тому

    Thank You so much for clear explanation.content is vey good than other channels

  • @nishagera6051
    @nishagera6051 Рік тому +1

    Thank uh so much sir for explaining so nicely 👍👍

  • @anubhavrai5612
    @anubhavrai5612 2 місяці тому

    Hats off to you man👒, never learned 3d plane like this before...

  • @todaystrending1992
    @todaystrending1992 3 роки тому

    Thank you sir , god bless you ❤️❤️❤️ you are great .

  • @ritikkumar876
    @ritikkumar876 Рік тому +1

    aap bhut aacha padhate h

  • @narendraparmar1631
    @narendraparmar1631 6 місяців тому

    Really helpful lecture.
    Thanks sir😀

  • @Ajay_Verma45
    @Ajay_Verma45 8 місяців тому

    Very nice explanation. Thank you sir

  • @AkashKumar-bs9cv
    @AkashKumar-bs9cv 2 роки тому +6

    you are awesome , i have never seen content like this . your teaching style is great

  • @arpitalodha4687
    @arpitalodha4687 Рік тому

    sir u r superb really i paid fees for this course in simplilearn but its worst n u r best of best

  • @something_went_wrong167
    @something_went_wrong167 8 місяців тому

    Thankyou sir for this informative video

  • @preetisrivastava1624
    @preetisrivastava1624 Рік тому +1

    I have become your fan sir

  • @ParthivShah
    @ParthivShah 4 місяці тому +1

    Thank You Sir.

  • @gauravpundir97
    @gauravpundir97 Рік тому

    Great Explanation

  • @Vipulghadi
    @Vipulghadi 2 роки тому

    Sir you are great

  • @ScienceSpark3
    @ScienceSpark3 Рік тому

    best content out there

  • @AlgoTribes
    @AlgoTribes 2 роки тому

    Guru ji Pranaam

  • @heetbhatt4511
    @heetbhatt4511 9 місяців тому

    Thank you sir

  • @mdmojiburbabu
    @mdmojiburbabu Рік тому +3

    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

    • @flakky626
      @flakky626 10 місяців тому

      Bruh are you a fresher? I mean how can you do those? I have no clue whatsover

    • @rushikeshdane5855
      @rushikeshdane5855 5 місяців тому

      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)

  • @19_ec_animeshshukla48
    @19_ec_animeshshukla48 10 місяців тому

    I dont know how should i thank u sirr

  • @akzork
    @akzork 2 роки тому

    For the first time in my life, I am enjoying maths.

  • @Noob31219
    @Noob31219 Рік тому

    you are great

  • @ruchikumari5868
    @ruchikumari5868 5 місяців тому

    Thankyou sir

  • @kidscreator2268
    @kidscreator2268 3 роки тому

    great sir

  • @AbdulRahman-zp5bp
    @AbdulRahman-zp5bp 2 роки тому

    UNDERRATED!!!!

  • @devbhattacharya153
    @devbhattacharya153 Рік тому

    Thanks a lot sir:)

  • @core4032
    @core4032 2 роки тому +3

    CampusX having best content than others , Thank You Sir

    • @749srobin
      @749srobin 2 роки тому

      lets complete the ML playlist together , lets connect on discord . what u think?

    • @core4032
      @core4032 2 роки тому

      @@749srobin definitely

    • @hritikroshanmishra3630
      @hritikroshanmishra3630 11 місяців тому

      @@core4032 complete ho gya to?

  • @prathameshingavale2936
    @prathameshingavale2936 2 роки тому

    Very nice explanation. Thank you sir❤️💯

  • @tanmayshinde7853
    @tanmayshinde7853 2 роки тому

    hidden gem

  • @JACKSPARROW-ch7jl
    @JACKSPARROW-ch7jl Рік тому

    Thanxxx

  • @paritoshkumar7422
    @paritoshkumar7422 5 місяців тому

    Awesome SIr

  • @furry2fun
    @furry2fun 10 місяців тому

    sir which notepad do you use for making digital notes

  • @juancarlosgomezsala8098
    @juancarlosgomezsala8098 3 роки тому

    Thanks for the lesson.
    Only a problem. The variable "final" is not defined.

  • @Atharwaah
    @Atharwaah Рік тому +1

    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.

  • @mahashreer7887
    @mahashreer7887 3 роки тому +1

    Bro i do ppt multiple linear Regression what i can do

  • @rose9466
    @rose9466 Рік тому

    Hi Sir, Can i use these videos as reference for blog post

  • @muhammadjunaid7822
    @muhammadjunaid7822 2 роки тому

    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

  • @jonmasson3311
    @jonmasson3311 Рік тому

    G.O.A.T.

  • @Whymetho.
    @Whymetho. 4 місяці тому +1

    You used "Final" in the code but it was not declared before so it is giving error

  • @sukritiguin5637
    @sukritiguin5637 2 роки тому

    please upload more and more video

    • @749srobin
      @749srobin 2 роки тому

      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

  • @creatortoro3513
    @creatortoro3513 Місяць тому

    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

  • @tarunchauhan2339
    @tarunchauhan2339 Рік тому

    sir can you provide these notes

  • @messiisthebest
    @messiisthebest Рік тому

    where is forward selection and backward elimination

  • @kindaeasy9797
    @kindaeasy9797 6 місяців тому +1

    n dimension wali eq galat hai, vo n+1 dimension ki ho gyi

  • @shwetkumar8370
    @shwetkumar8370 Рік тому

    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

  • @SagarGupta-ue1dr
    @SagarGupta-ue1dr Рік тому

    can someone pin the link of one note

  • @balavikaram8547
    @balavikaram8547 Рік тому

    hello