Machine Learning Tutorial Python - 3: Linear Regression Multiple Variables

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 717

  • @codebasics
    @codebasics  2 года назад +11

    Check out our premium machine learning course with 2 Industry projects: codebasics.io/courses/machine-learning-for-data-science-beginners-to-advanced

    • @honeymilongton8401
      @honeymilongton8401 2 года назад

      hii sir if possible can you please post slides also sir

    • @sglanka4335
      @sglanka4335 2 года назад

      Sir i am your fan now, i finished my degree in statistics ,mathematics ,and computer scinece but we did not have any practise In machine learning , i am following you and try to learn in this very well and after that i want to build my own company , currently i am working as a combined maths teacher but i need to change my career as a data scientist , i love to learn from you sir

  • @flamboyantperson5936
    @flamboyantperson5936 6 лет назад +154

    After reading that you do this tutorial after 9 to 6 job I really appreciate your work and now I can understand why you take time to make a new video. It's really hard to give weekend for making videos because we already have lot of other things to do at weekend. Thank you so much for all the effort you put it's really awesome.

  • @nayyershahzad8051
    @nayyershahzad8051 3 года назад +76

    You are gifted with a great skill of conveying difficult things in an easier and simpler manner! Excellent work!

    • @codebasics
      @codebasics  3 года назад +5

      Thank you! Cheers!

    • @narottamaswal3978
      @narottamaswal3978 3 года назад +1

      @@codebasics Sir if I take the same area, rooms and age given in the csv then why its not showing the same price as that ?

    • @limbadhiren
      @limbadhiren 2 года назад

      @@narottamaswal3978 yaa median are different...

    • @edu_tech7594
      @edu_tech7594 8 месяцев назад

      @@limbadhiren I got the median value 4

  • @ketan27j
    @ketan27j 5 лет назад +20

    After going through many youtubers, tutors, I was not able to start with the ML concepts,coding. Your content is awesome, very easy to understand. Thanks for these videos & your time. Appreciated...

    • @codebasics
      @codebasics  5 лет назад +2

      I am glad Ketan that this was useful to you.

  • @akhileshyadav9862
    @akhileshyadav9862 3 года назад +15

    Most unrated vedio for regression
    I watched 5 videos including nptel,'s and edureka but you are great deserves millions like

  • @codebasics
    @codebasics  4 года назад

    Exercise solution: github.com/codebasics/py/blob/master/ML/2_linear_reg_multivariate/Exercise/exercise_answer.ipynb
    How to learn coding for beginners | Learn coding for free: ruclips.net/video/CptrlyD0LJ8/видео.html

  • @omikacooray5333
    @omikacooray5333 3 месяца назад

    This video was posted 6 years ago but it's still very helpful and very understandable, when people on RUclips were talking about linear regression i thought building a model would be very hard but it seems a bit easier and also sir you have an excellent talent to teach harder things to people like me . Thank you very much .

  • @codebasics
    @codebasics  4 года назад +9

    Step by step roadmap to learn data science in 6 months: ruclips.net/video/H4YcqULY1-Q/видео.html
    Machine learning tutorials with exercises:
    ruclips.net/video/gmvvaobm7eQ/видео.html
    5 FREE data science projects for your resume with code: ruclips.net/video/957fQCm5aDo/видео.html

    • @harris7294
      @harris7294 4 года назад +1

      sir in solution of multi_feature_linear _regg
      median_test_score = math.floor(d['test_score(out of 10)'].mean())
      you gave variable name as median but calculated mean , that alters the solution
      mean is 7 (floor _value)
      median is 8 (floor_value)

  • @rohan2852
    @rohan2852 4 года назад +31

    Hey, first of all thank you for the great tutorials.
    I'd like to point out one thing. Regression with multiple variables is "Multiple Regression" and not "Multivariate regression", unless we are predicting more than 1 outcome.
    Since in the video you are predicting only the price, i.e., only one output, it's "Multiple Regression".

    • @jamestanaka686
      @jamestanaka686 3 года назад +1

      Yes, this video is about univariate multiple linear regression. I am actually looking for multivariate case.. I have a question here that is multivariate case just a repeated method of univariate case i.e. doing univariate iteratively for multiple DVs is equivalent to multivariate case?

    • @shahbazpathan1228
      @shahbazpathan1228 3 года назад +1

      I spent half an hr to clear this confusion. Indeed, it is a multiple regression.

  • @kishoresofi
    @kishoresofi 6 лет назад +5

    Hi there, i have watched a few of your videos on Pandas and LinearRegression since this morning and I must say, it is very easy to follow you. I appreciate you are not too fast allowing time to catch up. Thanks for the learnings.

  • @sohamnavadiya6969
    @sohamnavadiya6969 6 лет назад +31

    I like the way you are explaining terms and logic. I realty appreciate your effort. Please share more video like this. Don't stop to make more video on machine learning. keep it up

    • @codebasics
      @codebasics  5 лет назад +3

      Soham thanks for the comment, yes I am continuing ml series with deep learning now

    • @travelclimb
      @travelclimb 4 года назад +1

      @@codebasics very helpful! Thank for the videos and playlist

  • @mdabuseum9991
    @mdabuseum9991 4 года назад +5

    Exercise result:
    reg.predict([[2,9,6]])
    >>>array([[53205.96797671]])
    reg.predict([[12,10,10]])
    >>>array([[92002.18340611]])
    Note : my result is little bit different from your "exercise_answer.ipynb" because you told to take meadian of test_score but did mean.
    your result:
    reg.predict([[2,9,6]])
    >>>array([[53713.86677124]])
    reg.predict([[12,10,10]])
    >>>array([[93747.79628651]])
    Thanks for this amazing tutorial

    • @eternalsgaming2467
      @eternalsgaming2467 7 месяцев назад

      Can you tell how did you convert the experience string column to integer

    • @chetankumar5190
      @chetankumar5190 6 месяцев назад

      @@eternalsgaming2467 from word2number import w2n
      df = pd.DataFrame(df)
      # Function to convert experience string to number and handle NaN
      def convert_experience(x):
      if pd.isna(x):
      return 0 # Replace NaN with 0
      try:
      return w2n.word_to_num(x) # Convert text to number
      except ValueError:
      return 0 # Replace non-convertible strings with 0
      # Apply the function to the 'experience' column
      df['experience'] = df['experience'].apply(convert_experience)
      # Print the DataFrame after conversion
      print(df)

    • @Tuoc_Nguyen
      @Tuoc_Nguyen 6 месяцев назад

      @@eternalsgaming2467 import word2number
      word_list = df1.experience
      list_number = []
      word_list = word_list.dropna()
      for word in word_list:
      number = w2n.word_to_num(word)
      list_number.append(number)
      df1.loc[~df1.experience.isna(), 'experience'] = list_number
      this is my way

    • @priyam4680
      @priyam4680 5 месяцев назад +1

      @@eternalsgaming2467 dfHiring['experience'] = dfHiring['experience'].apply(lambda x: w2n.word_to_num(x) if isinstance(x,str) else x)
      dfHiring['experience'] = dfHiring['experience'].fillna(0)

    • @shirohige614
      @shirohige614 Месяц назад

      @@eternalsgaming2467 here you go sir
      df.fillna({'experience':'zero','test_score(out of 10)':md},inplace=True)
      df.experience = df['experience'].astype(str)
      df['experience'] = df['experience'].apply(w2n.word_to_num)
      pehle nan values ki jgh zero rakha fir in sabko string format mein change kiya and then word2number library ka use karke un sabko badla
      seedha w2n.word_to_num(df.experience) isiliye nhi kiya kyuki w2n ko ek ek value chahiye hoti h rather than a column
      hope so aapko samajh aaya ho brother

  • @blownupdogsify
    @blownupdogsify 4 года назад +2

    Thanks so much for this video, worked perfectly. You teach better than most teachers that have ever tried to teach me to code in my life .

  • @riajmahmud4303
    @riajmahmud4303 Год назад

    You are the best machine learning teacher in RUclips.
    I discovered you so let but i hope i will cover up my project.

  • @TheuSh0w
    @TheuSh0w 6 лет назад +5

    Just wanted to thank you for your awesome teaching, keep up the good work! From all the content I've seen, yours is the most "hands-on" the perfect combination of theory and exercises applying said theory!

  • @bunniesarecutest
    @bunniesarecutest 3 года назад +8

    I spent so many hours trying to find answers and you answered all my questions in the video. Thank you very much! Excellent explanation!

    • @codebasics
      @codebasics  3 года назад

      Great to hear Elenie!

    • @jayvardhanjagarwal8973
      @jayvardhanjagarwal8973 3 года назад

      Sir u know what is wrong here. When u predict price for area=3000, badroom=3 and age=40 then it will be 44000 (approximately) but when u change the age=15 in this. Then price 100% less then 56000. But your prize is increased in this case which is abnormal.
      Can u explain it.

    • @dulangikanchana8237
      @dulangikanchana8237 3 года назад +1

      @@jayvardhanjagarwal8973 when the house is older the price of house value decreases.so that is why for area=3000, bedroom=3 and age=40 then predicted price will be 444,400 but when house is bit younger at same other features area=3000, bedroom=3 and age=15, predicted house price is 615,000. Yet i his actual data set for the features area=3000,age-15.bedroom=4, the actual price is 565,000, which is less than his predicted value for a house which is 15 years old,yet 3 bedrooms, as his model has a bit skewness.we cant expect models to be 100% accurate.but when they like over 80% accurate we use such models for our work purposes as they are fairly good models,difficult to get as such 80% or more accuracy

    • @meethamin427
      @meethamin427 3 года назад

      hey did you solve the problem ?? can u please send me the code , I am having problem to change the experience column in string to int

  • @moeintorabi2205
    @moeintorabi2205 4 года назад +20

    For the exercise, to change the object numbers to int, we can also use the Lambda function as follows:
    df.experience = df.experience.map(lambda x:w2n.word_to_num(x))

    • @VikasSharma-ck1wx
      @VikasSharma-ck1wx 4 года назад +1

      this snippet is not working throwing an error for using word 2 number file and showing error with word_to_num method

    • @priyanshunegi
      @priyanshunegi 4 года назад

      Thanks buddy..👍

    • @SS-rz6rp
      @SS-rz6rp 2 года назад +1

      @Jai Sharma try this: df.experience=df.experience.apply(w2n.word_to_num)

    • @kakumanigayatri5701
      @kakumanigayatri5701 2 года назад

      @@SS-rz6rp still showing same error. i think this is due to NaN. will you pls explain this. i am confused

    • @Fatima-gw7sm
      @Fatima-gw7sm 2 года назад

      @@kakumanigayatri5701 what type error?

  • @arpitjain5394
    @arpitjain5394 Год назад

    Great video. As per my understanding, Linear regression with multiple variables and multivariate regression are two different concepts. Linear regression with multiple variables deals with a single dependent variable and multiple independent variables, while multivariate regression deals with multiple dependent variables.

  • @shunsuke8301
    @shunsuke8301 6 месяцев назад

    The videos are truly excellent! Although I rarely leave comments on educational videos, your concise video series has been incredibly beneficial to me. I appreciate the way you seamlessly integrate teaching with practical coding examples. Keep up the great work

  • @PaoloCondo
    @PaoloCondo Год назад

    Thank you! Here's a comment to boost your RUclips algorithm! You deserve it.

  • @arrahman100
    @arrahman100 6 лет назад +1

    Your videos are saviour and i was trying to learn ML from different sources but still find your tutorials the best. You have nice & crisp explanations. One humble request please upload more videos on ML.

    • @arrahman100
      @arrahman100 6 лет назад

      @@codebasics I pray for good health and will wait for more videos..Happy Diwali!!

  • @regithabaiju
    @regithabaiju 4 года назад +2

    Very helpful and appreciate your way of teaching

  • @nazianuzhat5876
    @nazianuzhat5876 2 года назад +1

    Your lectures is so good. At first I faced some problems for the word to number function. Even after installation I write "from word2number import w2n" on my code, but it wasn't work. Then I restart my jupyter notebook & now it is working well. :D

  • @anthonyschilling7132
    @anthonyschilling7132 5 лет назад +3

    Only 3 videos in and I've learned a ton. Thank you so much!

  • @AnwerMehmood
    @AnwerMehmood 2 года назад +2

    Coolest personality of Machine Learning Knowledge. Thanx sir. Stay Blessed Always. A lot of prayers for you.

  • @binaykumar1616
    @binaykumar1616 3 года назад +1

    The way you are explaining, means you love teaching. I am a teacher, and on the basis of my experience I must say that you should teach in engineering colleges may part time.

    • @helloworld2740
      @helloworld2740 2 года назад +1

      sir he is already teaching in colledge
      Thank you

  • @bishnudas8638
    @bishnudas8638 6 месяцев назад

    These are really amazing video lectures for Machine Learning and start off with. Thank you.

  • @geek774
    @geek774 4 года назад +1

    so well explained..the best tutorial in youtube for machine learning..made it so easy to understand

  • @abhayagrahary2801
    @abhayagrahary2801 4 года назад +4

    This man teach in very easy way, while I'm so confused with linear and multiple regression, it give me a satisfied answer and rielf so, thanks❤ 😇

  • @briancantor6688
    @briancantor6688 3 года назад

    awesome job man you taught me in 10 minutes how to do something my professor couldnt teach me over a couple of lectures

    • @codebasics
      @codebasics  3 года назад

      I am happy this was helpful to you.

  • @vishalrai2859
    @vishalrai2859 4 года назад

    you are genius sir i learnt today many things my institute should watch your videos that how to teach students swiftly..
    thanks a lot sir continue helping us...

  • @doyoonkim4187
    @doyoonkim4187 2 года назад

    Thank you SO much for providing this video for free!

  • @sauravshrestha1890
    @sauravshrestha1890 2 года назад

    This is a great tutorial... I am starting my ML journey and your tutorial helped me learn in an easy way. Thank you

  • @aayush135
    @aayush135 2 года назад +2

    Great lectures.. You teach in one of the finest ways. I really appreciate your hard work and dedication towards these videos.

  • @snehadatta6031
    @snehadatta6031 4 года назад

    Hi,
    This works.
    First fill the blanks in the experience column with 'zero'
    ... and then use w2n.word_to_num
    df.experience = df.experience.fillna('zero')
    df.experience = df.experience.apply(lambda x: w2n.word_to_num(x))

    • @vidhanmaheshwari2082
      @vidhanmaheshwari2082 4 года назад

      Thanks @Sneha Datta , it helped.

    • @ankitgaur7695
      @ankitgaur7695 4 года назад

      Thanks a lot
      from where you got this code - " df.experience = df.experience.apply(lambda x: w2n.word_to_num(x))"
      why you have used "lambda x"
      it is not given in the original documentation at - pypi.org/project/word2number/
      i also checked the word2number official code snippet at github managed by the original contributer "Akshay Nagpal" -- github.com/akshaynagpal/w2n/blob/master/word2number/w2n.py.

    • @jaishankerkhatri1288
      @jaishankerkhatri1288 3 года назад

      This really helped a lot! Thanks :)

  • @DavidHernandez-cp4wu
    @DavidHernandez-cp4wu 6 лет назад +3

    Amazing videos!! Can't wait to watch upcoming ones on Machine Learning!

  • @bernsbuenaobra473
    @bernsbuenaobra473 5 лет назад +5

    In an actual case in work, there are many columns variables more rows that could run into thousands of rows, close to a hundred columns in which the interaction is not obvious. Agreed the first step is data preparation, data cleansing all NaN, missing rows/column elements given such situation it would better to do a preliminary data exploration by data mining or designed experiment to see what interacts what for what. This is the only time you can actually write out the linear equation actually which are composed of independent variables that either reinforce the prediction (all positive polarity} or that contradict it (all negative polarity).

    • @HafsaRkh
      @HafsaRkh 5 лет назад

      I agree with you...
      In real life data is much more complicated. Specially when we have multiple dependent variables as well instead only one....In real life scenarios thousands of variables (both independent/dependent) interact each other. To create a model for such a scenario is really challenging and benefit of AI can only be realized then....

  • @spacebidi706
    @spacebidi706 2 года назад +2

    Thank you for your efforts to explain us all these concepts in a soft way. I really appreciate

  • @fet1612
    @fet1612 5 лет назад +1

    10:28
    reg.predict(3000, 3, 40)
    Here, area = 3000, bedrooms = 3, age = 40. The output is an array of a value:
    array([444400.]).
    Notice, how this can be manually calculated.
    137.25*3000 + -26025*3 + -6825*40 + 383724.99999999983
    444399.9999999998 which is approximately equal to
    444400.
    Brilliant, codebasics
    !! Comprehensive. This simplified version of yours is highly commendable.

  • @jamesgray1210
    @jamesgray1210 3 года назад +1

    Thanks a lot - really helped me out here. So many videos overcomplicate things, but this was perfect for what I needed!

  • @fet1612
    @fet1612 5 лет назад +2

    9:00
    Now, we can find the predicted price of a house using the values we obtained. We have the equation,
    price = m1*area + m2*bedrooms + m3*age + b
    Now that we know the coefficients, m1, m2, m3, and the intercept, b, we can find the price.
    The given, the values of the three features will give us the predicted price, will be saved in our object variable,

  • @mwahmed9519
    @mwahmed9519 4 года назад

    Your instructions are very clear and easy to follow. It makes learning more easier and stress free.. thanks for helping..

  • @preetham4974
    @preetham4974 4 года назад

    The best tutorial all over the web.Using complex math words are not enough and not at all usefull.But explaining practically like you is what we who students want.You are my life saviour.I am trying to find how the coefficients are used to calculate predicted value since yesterday.I ended up here in this awsome tutorial.You got my subscribe and like.And will continue to get so.Thank you soo much

    • @codebasics
      @codebasics  4 года назад +1

      Preetham thanks for the comment. And yes majority of people use fency terms which I hate from the bottom of my heart. My mission on this channel is to break down concepts in easy terms. Happy learning 😊👍

    • @preetham4974
      @preetham4974 4 года назад

      @@codebasics I am glad that i found your channel.I am able to see the difference between the instructor i have in my course i am taking on udemy and you.He just started ML course with linear regression but due to major usage of fancy terms i am unable to understand.

    • @preetham4974
      @preetham4974 4 года назад

      @@codebasics Looking forward to get to learn more from your amazing channel.Please try to make video on Evaluation metrics for regression and classification.Thank you

  • @radhekrashna2148
    @radhekrashna2148 Год назад

    Thanks for providing amazing video
    Now I got to know about that codebasics is one of the top Indian channel for data science because you were uploading quality video with God explainetion from starting only
    I have seen many people they create short video and they just explain very easy concept so that people will feel bored and they will more reach to their channel and video

  • @piyushraj9561
    @piyushraj9561 5 лет назад

    Finally got the best machine learning tutorial please upload full machine learning series sir
    Thank u

    • @codebasics
      @codebasics  5 лет назад

      good to hear you liked it Piyush.

  • @hfe1833
    @hfe1833 5 лет назад +8

    Thank you for this helpful tutorial, I like the way your style,crystal cear and easy to follow.

    • @codebasics
      @codebasics  5 лет назад

      Dear,
      Thanks for your kind words.
      Stay in touch for more videos and share our channel if you really find it worth.

    • @shailypatel585
      @shailypatel585 4 года назад

      @@codebasics why we use median ??? why not mean?? ca i use somthing else instead of median?

  • @ManzoorHussain-gz1vk
    @ManzoorHussain-gz1vk 3 года назад +1

    Thank you very much, sir. Really appreciated. Lots of love from Turkey.

    • @codebasics
      @codebasics  3 года назад

      I am happy this was helpful to you.

  • @xavierfrans
    @xavierfrans 3 года назад +5

    I got the missing (NaN) bedroom value for 4. The median of bedroom i am getting is 4 (3, 3, 4, 5, 6). Thank you

    • @richardlonigro4178
      @richardlonigro4178 3 года назад

      Hi Xavier. I had the same issue. I needed to set df.bedrooms = df.bedrooms.fillna(median_bedrooms). When I had the issue you're facing, my code was just df.bedrooms.fillna(median_bedrooms) so i think i was just displaying the correct data set but not actually updating my data set with the correct data. hope it helps.

    • @vikaskulshreshtha
      @vikaskulshreshtha 3 года назад

      You can use interpolation method

  • @ziyang9909
    @ziyang9909 Год назад

    Good job~ Thank you~ Big hug from China.

  • @abrarfahad
    @abrarfahad 3 года назад

    Your explanation is clear and very easy to understand. I am amazed.
    And now I am your subscriber. :)

  • @vengalrao5772
    @vengalrao5772 3 года назад

    Thankyou thankyou thankyou thankyou thankyou thankyou thankyou thankyou thankyou thankyou thankyou thankyou thankyou thankyou thankyou thankyou thankyou thankyou ❤️❤️❤️❤️❤️❤️❤️❤️❤️ watched all videos at a time ....before I feel like don't I understand these topics ..but u made this topic easy 💫❤️

    • @codebasics
      @codebasics  3 года назад

      Most welcome 😊 I am happy this was helpful to you.

  • @ishanjoshi9529
    @ishanjoshi9529 2 года назад

    Thank you for the explanation, I have just started with machine learning in Python and it was really helpful.🙏
    Just nitpicking being from math background, the value for the field NaN will be min 4, to make sense of the dataset. 😅

  • @venkat157reddy
    @venkat157reddy 10 месяцев назад

    very good contribution to the learners..Thank you so much..

  • @priyankachore1617
    @priyankachore1617 2 года назад

    Hi sir your explaination style is tooo GOOD!!! here is a request to you that try to add more information into the topic please....

  • @Brenovisk7
    @Brenovisk7 4 года назад +3

    How can I make an ANOVA table to better analysis the statistics of this linear regression?
    Great Video!

  • @o1techacademy
    @o1techacademy 2 года назад

    Thank you very much Sir. I am going to use this tutorial to handle a contract.

  • @arijitRC473
    @arijitRC473 5 лет назад +1

    You are really awesome.... Please make more videos..... I can easily understand your tutorial....

  • @zeeshanqureshi6971
    @zeeshanqureshi6971 3 года назад +3

    Question: Why is the coefficient for the bedroom variable a negative number? Shouldn't more bedrooms make the price higher?

  • @subhajitadhikary155
    @subhajitadhikary155 4 года назад +7

    you explain very clearly sir, really great.
    The predicted salary for first candidate is 53205.987
    for second guy is 92002.18

  • @prakashr7861
    @prakashr7861 11 месяцев назад

    Pls put a video for Data cleaning.. Thank you video, it is easy to understand the concept clearly :)

  • @mechtorious
    @mechtorious 4 месяца назад +1

    If your notebook gives warning regarding "no variable for X" then you can train with this type of line. reg.fit(df[['area','bedrooms','age']].values,df.price.values)
    include the '.values' and it will be fine.

  • @yourlifeonpower
    @yourlifeonpower 7 месяцев назад

    Very helpful, very clear! Thank you so much!

  • @viduralochana235
    @viduralochana235 2 года назад

    you helped me with my final project. huge thanks

  • @BlindOptometrist
    @BlindOptometrist 2 года назад +1

    It would be nice to show the R^2 and which independent variable is effecting the dependent variable the most. This would allow people to know which variable to focus on when buying a house. I’ve never used Panda but it’s a simple line of code in R.

  • @saifullahshahen
    @saifullahshahen 3 года назад

    Helped me so much. You make my understanding about linear regression like liquid.

  • @kernelmedia4393
    @kernelmedia4393 3 года назад

    Excellent approach
    U saved my time

  • @srishtiuppal9373
    @srishtiuppal9373 4 года назад

    Actually got the clarity of the topic. Thank you for this video.

  • @fulltoss9805
    @fulltoss9805 4 года назад

    sir iam learning from your tutorial your really an amazing teacher.
    thank you very much sir

    • @codebasics
      @codebasics  4 года назад +1

      You are most welcome Jan Nisar

  • @lakshyapratapsigh3518
    @lakshyapratapsigh3518 3 года назад

    GREAT VIDEO SIR HELPING THOUSANDS

  • @rajsamant1
    @rajsamant1 5 лет назад +1

    sir, you have explained ML in such a easy way..thanks

  • @pkrockon200
    @pkrockon200 4 года назад

    Your all videos are fabulous....Keep it up & thanks for making such a amazing videos....

  • @frankservant5754
    @frankservant5754 Год назад

    Thanks as always for teaching us Sensei

  • @vinnverse
    @vinnverse 6 месяцев назад

    In the practice example, you have assigned the 'mean' value instead of the 'median' of the test_score values. That's why, there is a slight deviation in the predicted salaries when compared to the solution, 1) 53205.96 and 2) 92002.18

  • @rambaldotra2221
    @rambaldotra2221 3 года назад

    Thank You Very Much Sir You are saving the lives of lot of students ✨

  • @vasusachin8767
    @vasusachin8767 4 года назад +3

    Heartfelt Thanks for this excellent video series sir.
    I have a small doubt. when should we use the following dot(.), [ ], [[ ]]. please clarify.

  • @vandanabellani7585
    @vandanabellani7585 5 лет назад +1

    excellent video...Please Keep making more videos!!

    • @codebasics
      @codebasics  5 лет назад

      Hey Vandana,
      Thanks for your kind words. Stay in touch for more videos and share our channel if you really find it worth.

  • @souravde2283
    @souravde2283 4 года назад +1

    I very much like this tutorial. Thank you so much for providing this tutorial. :)

  • @ramkotha4726
    @ramkotha4726 4 года назад +3

    Wonderful tutorial Teach! Would like to know 'how to plot scatter plot from multiple independent variables and one dependent variable', which I think is the only missing piece in the video. Thanks in advance

  • @MuhammadHassan-xu2yb
    @MuhammadHassan-xu2yb 4 года назад +3

    Hi Sir
    If you upload all slides which is already discussed in your course it will be great.
    Thanks

  • @SwapperTheFirst
    @SwapperTheFirst 6 лет назад +1

    another great video, thanks.
    I slightly disagree with example setting and how you solved it.
    I think that average would be better for test score, not median as in main tutorial with house pricing.
    But even assuming that median would be better, you don't have to floor the median in this example, as you did with bedrooms. Obviously, bedrooms cannot be 3.4 or 5.6, but median or average test scores, especially for building an accurate linear model - can and should be.
    Thus my answer is slightly different - 53205 and 92002.
    Though, it is more art than hard science (average vs median and whether to round the median or not) and your tutorial and example were great, as usual.
    PS Did not know about word2number - neat idea. Though they say it should not work with 3.6 i have not had any problems with it.

  • @rameshthamizhselvan2458
    @rameshthamizhselvan2458 4 года назад

    So far no one had posted data drift and concept drift request you to please explain with the dataset... Thanks . I'm following your channel since 2018.

  • @sowjanyay3424
    @sowjanyay3424 2 года назад

    Excellent 👌👌👌👏

  • @shubhamjasani6365
    @shubhamjasani6365 3 года назад

    Thank you so much !!!!!
    very easy to learn from your tutorial.

  • @argiepoul7457
    @argiepoul7457 Год назад +1

    Perfect video but we need more exercises in larger datasets, can you provide at least a link or two?Thanks

  • @karansinghasane7509
    @karansinghasane7509 5 лет назад +1

    Amazing tutorial. Extremely easy to grasp. thankyou!

    • @codebasics
      @codebasics  5 лет назад

      Karan, I am happy you liked the content.

  • @pandeadhistanaya9781
    @pandeadhistanaya9781 5 лет назад +3

    nice video, it helps a lot for beginner like me, thank you very much :D

    • @codebasics
      @codebasics  5 лет назад

      Great, this is indeed designed for beginners only.

  • @yakoublarbi599
    @yakoublarbi599 9 месяцев назад

    Thank you Sir for this excellent video

  • @danijelbratina
    @danijelbratina 2 года назад +1

    Hey, have you ever done mulvariate multiple regression with several dependent variables (statistics used MANOVA, MANCOVA)? Would like to see a video on that especially explanation of benefits over several ANOVAS.

  • @jayantdikshit4181
    @jayantdikshit4181 4 года назад +1

    First of all thanks for making such a great videos. It helps a lots to Machine Learning learners.
    I have question --> How can we know that our prediction is optimal. Can we use MSE here to find minimal error.
    Please let me know. Your response will clear my doubt.
    Thanks in advance..

  • @aniketbrahmankar8009
    @aniketbrahmankar8009 3 года назад

    Seriously sir its really soooo helpful for me, thank you sir for your hard work for us

  • @petelok9969
    @petelok9969 2 года назад

    Really nice tutorial.

  • @darklords1984
    @darklords1984 3 года назад +7

    In the solution for the exercise (as given in github), you have taken the mean(for the test score). But the variable is named as "median_test_score". Is it how it is meant to be (I have pasted that part of the code)?
    median_test_score = math.floor(d['test_score(out of 10)'].mean())
    median_test_score

    • @michaelrall3916
      @michaelrall3916 3 года назад

      just found it as well. I guess it is a mistake. He said "median" in the recording as well.

  • @rparpa8863
    @rparpa8863 4 года назад

    excellent delivery.

  • @nyshamellina9481
    @nyshamellina9481 5 лет назад

    I learnt so many things in this tutorial ,Thank you.It is great tutorial.

  • @poojadixit5608
    @poojadixit5608 4 года назад

    Very informative video... thank you

  • @hareshmusti4027
    @hareshmusti4027 4 года назад

    great service

  • @gokulnaathbaskar9808
    @gokulnaathbaskar9808 2 года назад

    Beautiful!

  • @suparnashilchaity1694
    @suparnashilchaity1694 5 лет назад +1

    Really awesome 😍

  • @krishnakishorepeddisetti4387
    @krishnakishorepeddisetti4387 4 года назад

    I am really enjoying your tutorial.
    I have one question. What should we do if the data is skewed. How to proceed in such cases. Kindly add a video on it .it will be helpful.
    Thanks and Regards
    Kishore

  • @byteappple
    @byteappple 4 года назад

    Very well explained. Thank you sir!