Hindi Machine Learning Tutorial 8 - Logistic Regression (Binary Classification)

Sdílet
Vložit
  • čas přidán 16. 09. 2019
  • Logistic regression is used for classification problems in machine learning. This tutorial will show you how to use sklearn logisticregression class to solve binary classification problem to predict if a customer would buy a life insurance. At the end we have an interesting exercise for you to solve.
    #MachineLearningHindi #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource #LogisticRegression
    Code: github.com/codebasics/py/blob...
    Exercise: Open above notebook from github and go to the end.
    To download csv and code for all tutorials: go to github.com/codebasics/py, click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.
    Website: codebasicshub.com/
    Facebook: / codebasicshub
    Twitter: / codebasicshub

Komentáře • 65

  • @codebasicsHindi
    @codebasicsHindi  Před 2 měsíci

    To learn AI concepts in a simplified and practical manner check our course "AI for everyone": codebasics.io/courses/ai-for-everyone-your-first-step-towards-ai

  • @responsible_riders
    @responsible_riders Před rokem +2

    The great thing about you is a point-to-point explanation, no unnecessary talk.

  • @mazharbukhari786
    @mazharbukhari786 Před 3 lety +14

    I can't forget throughout my life. What I could not understand for the last 3 years, I could understand within 3 weeks. This is not a joke, it is a reality.

    • @codebasicsHindi
      @codebasicsHindi  Před 3 lety +5

      Mazhar, thank you my friend for your kind words of appreciation

  • @pkrockon200
    @pkrockon200 Před 4 lety +3

    Simply superb....One of the best series in you tube...

  • @sanahnahk7312
    @sanahnahk7312 Před 2 lety

    May you rise and shine ... superb explanation ! Thank you !

  • @PAWANKUMAR-el2zk
    @PAWANKUMAR-el2zk Před 2 lety

    Sir mene abhi tak jhan se bhi ML padhi h apke jaisa tarika nhi dekha padhane ka nice sir. 👍🏻

  • @anupbhalerao3239
    @anupbhalerao3239 Před 2 lety

    What a nice demonstration!!!!.......Keep it up👍

  • @rajeshpurshottamgupta8752

    bhai waah maza aa gaya kya mast vdo hai ek dum easy to understand keep it up sir

  • @ajmeershahtricks6666
    @ajmeershahtricks6666 Před 2 lety +1

    thank you sir the best way to learn ML,but sir the difficult part is in excersise and the easy one you explained ,

  • @syedsuhailahmed2868
    @syedsuhailahmed2868 Před 3 lety

    Absolutely amazing

  • @siddhantkaushik4606
    @siddhantkaushik4606 Před 3 lety +2

    amazing.
    astounding.
    bewildering.
    breathtaking.
    extraordinary.
    impressive.
    marvelous.
    miraculous.
    even all these adjectives are less to tell the quality of the video.
    Thanks a million.

    • @codebasicsHindi
      @codebasicsHindi  Před 3 lety +1

      oh you commented here in hindi channel too :) Thanks again.

  • @anupamkushwaha1311
    @anupamkushwaha1311 Před 4 lety

    Very great lecture sir, please upload more videos sir

  • @statisticsguruji856
    @statisticsguruji856 Před rokem

    nice explanation sir, thank you sir.😊

  • @introvertvsextrovert747
    @introvertvsextrovert747 Před 7 měsíci +1

    How logistic regression model is used for classification problem? Explain with suitable example
    Is this video is perfect of answer of this question?

  • @reviewbyanand
    @reviewbyanand Před 8 měsíci

    Great Explanation Sir

  • @trisha0309
    @trisha0309 Před rokem +1

    Thank you for the amazing tutorials. I need a bit help. I was seeing that in the exercise, and in your exercise files, you have removed the salary column but not one of the columns to avoid "dummy variable trap". I am confused now should i remove one more column to avoid "dummy variable trap' or not.
    kindly can you help on this.

  • @rakeshthakur9403
    @rakeshthakur9403 Před rokem

    Nice video thank you so much

  • @urveshpatel5605
    @urveshpatel5605 Před 3 lety

    Good content.

  • @bhaveshshirke7816
    @bhaveshshirke7816 Před 3 lety

    the way you tech is best ill suggest my friends this tutorial

  • @PrathameshOlekar
    @PrathameshOlekar Před 2 lety

    Nice Sir 👍

  • @anuskasinha8295
    @anuskasinha8295 Před 4 lety +1

    Nice sir

  • @preetiranichaudhary9758

    thanku so much for making such a nice tutorial..

  • @ranjanssharma7686
    @ranjanssharma7686 Před 4 lety +1

    Please tell me where to get numerical examples of Logistic Regression?

  • @recallthat1199
    @recallthat1199 Před 3 lety

    i have a file as an assignment and i that i have movies their views and rating. i have to predict the rating depending on the views so i need your suggestion on that.. so how to contact you.

  • @samirkumarram5402
    @samirkumarram5402 Před 3 lety

    I m not able to download the exrecise CSV file. It is showing too many requests. What should I do sir ? Help pls

  • @krishangopal4808
    @krishangopal4808 Před rokem

    Sir ek ek line ka explanation kitna aache se aap ne diya , dhanyawad.

  • @bhaskarsundarlalturkar5125

    from where i will get this csv file i.e. exel ?
    plz reply

  • @danishansari3955
    @danishansari3955 Před 3 lety

    salute to your explaination

  • @tryforenglish9551
    @tryforenglish9551 Před 7 měsíci

    ap bohot accha parate hai sir. sir ho to ap jaise.

  • @manvigupta1437
    @manvigupta1437 Před 4 lety

    you are best guru in the youtube . thanks for teaching.

  • @ajinkyaadhotre5336
    @ajinkyaadhotre5336 Před rokem

    11:44 best explanation for model fitting / training 🤣🤣🤣

  • @anime_on_data7594
    @anime_on_data7594 Před 3 lety

    I am practicing but i am unable to get the same data set to check my proagrame.

  • @rakeshthakur-nd5sk
    @rakeshthakur-nd5sk Před 3 lety

    Awesome video, but you are not showing to Logistic regression chart/graph.

  • @muhammadishaq-co4fu
    @muhammadishaq-co4fu Před rokem +2

    if someone's code not working due to 1D array use this instead
    x_train = x_train.values.reshape(-1, 1)
    y_train = y_train.values.reshape(-1, 1)
    x_test = x_test.values.reshape(-1, 1)
    y_test = y_test.values.reshape(-1, 1)

    • @LichKing91
      @LichKing91 Před rokem +2

      instead use
      X_train,X_test,y_train,y_test=train_test_split(df[['age']],df.bought_insurance,test_size=0.1)

  • @Gemreviewer
    @Gemreviewer Před 2 měsíci

    Why 2D array is used for X_train and 1D for y_train?

  • @PrathameshOlekar
    @PrathameshOlekar Před 2 lety

    Sir ARIMA ,SARIMA model per yak vedio bana dijiye

  • @rockfighter9974
    @rockfighter9974 Před rokem

    Hi Sir,
    Hope you are doing well
    It scores 83% accurate when I giving 20% data for testing.
    and scores 100% accurate when i giving 10% for testing.
    Please help me regarding for this.

  • @sovitkumar1067
    @sovitkumar1067 Před 3 lety

    Sometimes i got the score 0.8888, 0.7786666 and 1.0 also, why the score is different each time i run the code.

  • @dr.sikanderhans4077
    @dr.sikanderhans4077 Před 2 lety

    hello sir plz share this video exercise code

  • @Gnik27Singh06
    @Gnik27Singh06 Před rokem

    for better experience , switch to 2x speed

  • @hasnain-khan
    @hasnain-khan Před 4 lety

    I need help plz

  • @krishnamurari074cs-b8
    @krishnamurari074cs-b8 Před 3 lety

    Sir aur video banayo hindi me

  • @anantsharma5330
    @anantsharma5330 Před 4 lety

    The Exercise is not from what you have taught in previous 6-7 videos.

  • @krishangopal4808
    @krishangopal4808 Před rokem

    Sir lekin koi bhi Model 100 % accuracy kaise de skta hai 100% jaise to kuch hota nahi hai hai model me,q maine kiya woo show kiya teacher ko to unhone galat hai

    • @reviewbyanand
      @reviewbyanand Před 8 měsíci +1

      bro, what you said is completely correct but its only applicable in real-world or complex datasets and you get 100% accuracy because you may have used a dummy dataset not the real data. So what you get as an output is correct. I hope this will help you.

    • @krishangopal4808
      @krishangopal4808 Před 8 měsíci +1

      @@reviewbyanand thanks 👍

  • @faisalmakandar3955
    @faisalmakandar3955 Před rokem

    Insurance CSV file sir

  • @BeeruBlogs
    @BeeruBlogs Před rokem

    Where is pandas tutorial??

  • @mohammadshamsher9662
    @mohammadshamsher9662 Před 2 lety

    I
    got Model Score =81.10

  • @patelabhay3145
    @patelabhay3145 Před 3 lety

    1:58 banda kis ban....party ko vote karega hahahahahhaha btw best explanation ever sir

  • @ashishjha6191
    @ashishjha6191 Před 3 lety

    My training score and testing score of ur employee data is Training score: 0.7971375233354075Testing score: 0.7957333333333333 .Is it true or not.Please
    tell me sir.I am waiting for ur response

  • @vk19148
    @vk19148 Před 6 měsíci

    Video in Hindi, Comments in English 😂😂

  • @alok4289
    @alok4289 Před 3 lety

    Vote for bjp