Logistic Regression in Python | Logistic Regression Example | Machine Learning Algorithms | Edureka

🔥 Python Data Science Training (Use Code "𝐘𝐎𝐔𝐓𝐔𝐁𝐄𝟐𝟎"): www.edureka.co/data-science-p...
This Edureka Video on Logistic Regression in Python will give you basic understanding of Logistic Regression Machine Learning Algorithm with examples. In this video, you will also get to see demo on Logistic Regression using Python. Below are the topics covered in this tutorial:
1:10 What is Regression?
3:22 What is Logistic Regression: What & Why?
8:43 Linear Vs Logistic Regression
10:13 Logistic Regression Use Cases
12:14 Logistic Regression Example Demo in Python
Subscribe to our channel to get video updates. Hit the subscribe button above.
Machine Learning Tutorial Playlist: goo.gl/UxjTxm
PG in Artificial Intelligence and Machine Learning with NIT Warangal : www.edureka.co/post-graduate/...
#Edureka #EdurekaMachineLearning #logisticregression #logisticregressionpython #machinelearningalgorithms
- - - - - - - - - - - - - - - - -
About the Course
Edureka’s Course on Python helps you gain expertise in various machine learning algorithms such as regression, clustering, decision trees, random forest, Naïve Bayes and Q-Learning. Throughout the Python Certification Course, you’ll be solving real life case studies on Media, Healthcare, Social Media, Aviation, HR.
During our Python Certification Training, our instructors will help you to:
1. Master the basic and advanced concepts of Python
2. Gain insight into the 'Roles' played by a Machine Learning Engineer
3. Automate data analysis using python
4. Gain expertise in machine learning using Python and build a Real Life Machine Learning application
5. Understand the supervised and unsupervised learning and concepts of Scikit-Learn
6. Explain Time Series and it’s related concepts
7. Perform Text Mining and Sentimental analysis
8. Gain expertise to handle business in future, living the present
9. Work on a Real Life Project on Big Data Analytics using Python and gain Hands on Project Experience
- - - - - - - - - - - - - - - - - - -
Why learn Python?
Programmers love Python because of how fast and easy it is to use. Python cuts development time in half with its simple to read syntax and easy compilation feature. Debugging your programs is a breeze in Python with its built in debugger. Using Python makes Programmers more productive and their programs ultimately better. Python continues to be a favorite option for data scientists who use it for building and using Machine learning applications and other scientific computations.
Python runs on Windows, Linux/Unix, Mac OS and has been ported to Java and .NET virtual machines. Python is free to use, even for the commercial products, because of its OSI-approved open source license.
Python has evolved as the most preferred Language for Data Analytics and the increasing search trends on python also indicates that Python is the next "Big Thing" and a must for Professionals in the Data Analytics domain.
For more information, Please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll free).
Instagram: / edureka_learning
Facebook: / edurekain
Twitter: / edurekain
LinkedIn: / edureka

Пікірлер: 349

  • @edurekaIN
    @edurekaIN6 жыл бұрын

    Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For Edureka Python Machine Learning Course curriculum, Visit our Website: bit.ly/2OpzQWw

  • @srikanthkuchi7743

    @srikanthkuchi7743

    5 жыл бұрын

    Thank you so much

  • @kamakhyasingh9994

    @kamakhyasingh9994

    4 жыл бұрын

    It's an awesome explanation, Thank you very much, Please share the source code & datasets to my mail id : rkamakhya@gmail.com

  • @sanatansuryavikram

    @sanatansuryavikram

    3 жыл бұрын

    Shrey 1 second ago hi what if the labels , dependent variable is 7 and 8 do you have to change it to 0- and 1 or do i keep it as it is to perform logistic regression pleas reply asap.

  • @edurekaIN

    @edurekaIN

    3 жыл бұрын

    Hi Shrey, it has to be dichotomous. So if there are only two categories, you can transform the labels. Hope that solves your query.

  • @BriteRoy
    @BriteRoy5 жыл бұрын

    How do you speak so flawlessly without fumbling or pausing even for once. Hats off.

  • @sureshkumaratkuri1053
    @sureshkumaratkuri10535 жыл бұрын

    Excellent explanation. The way you prepare PPTs to explain the concepts is matchless in the industry. keep it up.

  • @ShubhamKumar-fy1fl
    @ShubhamKumar-fy1fl4 жыл бұрын

    In the world full of greed no one is providing knowledge for free. Edureka you are doing great job 👍

  • @himanshushekharsingh5270
    @himanshushekharsingh52704 жыл бұрын

    Just to clear my concept on logistic regression i searched L R and saw this video. It is perfectly explained by the instructor. Each and every part is well explained. Glad to see this video. A big thumbs up👍 and Thanks.

  • @astrovert.ed2321
    @astrovert.ed23213 жыл бұрын

    This one hour video has given immense clarity and confidence. Thanks team!

  • @poornaacharya6910
    @poornaacharya69105 жыл бұрын

    You guys are awesome! Explained the concept very clearly and in an understandable way. Thanks a lot!!!

  • @naynadhone5908
    @naynadhone59085 жыл бұрын

    Thank you mam.. got all the concepts...

  • @elebs_d
    @elebs_d5 жыл бұрын

    God bless you, Thank you so much for this

  • @sayanbanerjee362
    @sayanbanerjee3625 жыл бұрын

    "Over here" great job! 👍🏻

  • @sandeepkumarghosh9531
    @sandeepkumarghosh95314 жыл бұрын

    Great explanation within a short span of time.This lecture has been very helpful.Thank you mam!

  • @PushK-yu5ph
    @PushK-yu5ph4 жыл бұрын

    Great video and a very thorough and clear explanation . Helpful session for the day . Thanks a lot !!!

  • @abhayvashokan5580
    @abhayvashokan55805 жыл бұрын

    Awesome! Really liked it. Live presentations are never this good.

  • @puthayallaiah5586
    @puthayallaiah55865 жыл бұрын

    Thank you mam for vaulable class on logistics regrations and it gives a clear underatanding to me for alogirthms development in ML

  • @shashikantbharti3157
    @shashikantbharti31575 жыл бұрын

    Thank You, This tutorial is Very Nice

  • @DuyKDao
    @DuyKDao5 жыл бұрын

    Thx u. Very clear instruction

  • @shavkatyuldashov235
    @shavkatyuldashov2354 жыл бұрын

    It's so understandable lesson! Thank you.

  • @akshunair3367
    @akshunair33674 жыл бұрын

    Loved the way the lesson is taught.

  • @yaminiharikrishnan7461
    @yaminiharikrishnan74614 жыл бұрын

    Thank You, its a very helpful Video. Like to share share 2 points - 1) In Code line # 63 I could not import cross_validation from sklearn library, so I substituted with 'from sklearn.linear_model import LogisticRegression' and then it worked 2) I dropped "Fare" column and it gave a 100 % accuracy on test data !

  • @padhiyarkunalalk6342
    @padhiyarkunalalk63425 жыл бұрын

    Mem your teaching skill is excellent You explain point to point and in detail. #thnx for making this video

  • @shivaaryaprakash
    @shivaaryaprakash5 жыл бұрын

    You are very very efficient speaker and have delivered great analysis.. thank you

  • @deeptikhanvilkar5983
    @deeptikhanvilkar59835 жыл бұрын

    Very good explanation for each line of code. Loved it

  • @nitinmalhotra423
    @nitinmalhotra4234 жыл бұрын

    Thanks Edureka got all the concepts cleared.

  • @siddharthkshirsagar2545
    @siddharthkshirsagar25455 жыл бұрын

    Best explanation on regression so far thank u so much

  • @banothanilkumar1140
    @banothanilkumar11405 жыл бұрын

    Thanks you madam it very clear cut explanation

  • @abhisekdey9430
    @abhisekdey94304 жыл бұрын

    Thank you so much ma'am. Really its a great tutorial.

  • @Mithilesh165
    @Mithilesh1655 жыл бұрын

    Thanks Edureka....your videos are of high quality ...

  • @muhammadiqbalbazmi9275
    @muhammadiqbalbazmi92755 жыл бұрын

    Thanks a lot, Sister. Keep it up.

  • @bilalbaloch9366
    @bilalbaloch93665 жыл бұрын

    well explained , My concepts about logistic regression have cleared . Thank you

  • @edurekaIN

    @edurekaIN

    5 жыл бұрын

    Hey Bilal, we are glad you feel this way. Do subscribe and hit the bell icon to never miss an update from us in the future. Cheers!

  • @krishnaaggarwal9228
    @krishnaaggarwal92285 жыл бұрын

    very well explained ,thank you for such good explanation...

  • @abdellatifthabet568
    @abdellatifthabet5685 жыл бұрын

    thank you ma'am.. keep it up

  • @divyadarbe
    @divyadarbe4 жыл бұрын

    Thank you Madam! very good explanation

  • @kishanraval8079
    @kishanraval80793 жыл бұрын

    this is awesome my concept of logistic regression is clear now

  • @sureshkumarbevara8069
    @sureshkumarbevara80694 жыл бұрын

    Thank you, This is very helpful for my studies.

  • @edurekaIN

    @edurekaIN

    4 жыл бұрын

    Thanks Suresh!

  • @Raos-Academy
    @Raos-Academy6 жыл бұрын

    Thank you soo much very nice class

  • @sahilgoura691
    @sahilgoura6915 жыл бұрын

    The video is very nice. The way our concepts are getting cleared. Please give us the link to download the notebook which you created as titanic.

  • @swarnaharigmailcom
    @swarnaharigmailcom4 жыл бұрын

    very clearly explained.Hats off Mam

  • @darshanabhole
    @darshanabhole4 жыл бұрын

    helpfull..thnku

  • @pravinsamgir964
    @pravinsamgir9644 жыл бұрын

    Thank you... Really helpful.

  • @matitiudeforever8155
    @matitiudeforever81555 жыл бұрын

    perfect !! freaking awesome !!...subscribed

  • @edurekaIN

    @edurekaIN

    5 жыл бұрын

    Hey Matitiude, thanks for subscribing! We are glad you loved the video. Do take a look at our other videos too and stay tuned for future updates. Cheers!

  • @dikshaarora7616
    @dikshaarora76164 жыл бұрын

    Amazingly defined 👍 Thankyou

  • @adityapawar7279
    @adityapawar72795 жыл бұрын

    A very helpful video.Thank you for the brief tutorial on using Jupyter notebook.

  • @edurekaIN

    @edurekaIN

    5 жыл бұрын

    Hi Aditya, thank you for watching our video. Do subscribe, like and share to stay connected with us. Cheers!

  • @jayanthck1782
    @jayanthck17823 жыл бұрын

    Best explanation on logistic regression thank u so much..

  • @shreyastc8975
    @shreyastc89754 жыл бұрын

    Wonderful explaination. 👏👏

  • @shubhamsahai2492
    @shubhamsahai24923 жыл бұрын

    Great session! Thank you :)

  • @MayankGoel447
    @MayankGoel4474 жыл бұрын

    Thank you for such a wonderful lesson!

  • @madhur089
    @madhur0895 жыл бұрын

    thanks for video...liked it

  • @louisadibe3189
    @louisadibe31895 жыл бұрын

    Nice video,more way of wrangling the data to view NA : titanic_data.isnull().any()

  • @nigusssolomon7986
    @nigusssolomon79865 жыл бұрын

    Hi , your work is very help full and Thank you. But I was wandering how I can do a prediction for new data set which is not labeled (0 and 1) by using my trained machine and store it to excel.

  • @edurekaIN

    @edurekaIN

    5 жыл бұрын

    Hey Niguss, please do check this link to know more. www.jmp.com/support/downloads/pdf/jmp902/modeling_and_multivariate_methods.pdf

  • @vikashchoubey4570
    @vikashchoubey45704 жыл бұрын

    very much useful it is. thank you

  • @dikshamakkar2850
    @dikshamakkar28504 жыл бұрын

    Explanation is tooo good.... Thnkz alot😊

  • @sriharitha9985
    @sriharitha9985 Жыл бұрын

    I really felt very happy with your explanation, very useful for begginers

  • @edurekaIN

    @edurekaIN

    Жыл бұрын

    Glad it was helpful! Keep learning with us .

  • @gajendraraiec
    @gajendraraiec5 жыл бұрын

    You Guys are awesome.

  • @krutarthkhatri5243
    @krutarthkhatri52434 жыл бұрын

    best explanation of logistic regression

  • @viveksthanam
    @viveksthanam6 жыл бұрын

    Hello Can you also make a video on how to plot these predicted values.

  • @edurekaIN

    @edurekaIN

    6 жыл бұрын

    Hey Vivek, we will definitely look into your suggestions. We update our channel regularly, stay tuned and never miss out on our updates. Cheers :)

  • @mohammadmamun5193
    @mohammadmamun51935 жыл бұрын

    One of the best videos in detailed.thanks a lot

  • @edurekaIN

    @edurekaIN

    5 жыл бұрын

    Hey Mohammad, thanks for the compliment. We are glad you loved the video. Do subscribe and hit the bell icon to never miss an update from us in the future. Cheers!

  • @smnazmussadat9424
    @smnazmussadat94244 жыл бұрын

    Thanks, really helpful

  • @usmanmalik2182
    @usmanmalik21824 жыл бұрын

    Very well explain. Keep it up Edureka! Team

  • @swarupdas9103
    @swarupdas91034 жыл бұрын

    Great explanation,pls share me the datasets

  • @Yash-cu4gq
    @Yash-cu4gq5 жыл бұрын

    I really like ur explanation mam!! I have got answers for so many doubts with ur explanation. Can u please tell me where to find this excellent notes?? Want more videos on ML😊

  • @edurekaIN

    @edurekaIN

    5 жыл бұрын

    Hi Yashwanth, Thanks for the compliment. We are so glad to hear that you liked our videos. You can always refer to the Machine Learning Playlist of Edureka for more such helpful videos. Here's a link to the playlist kzread.info/dash/bejne/gp5k0MeShdOfhMY.html

  • @inderkaur3012
    @inderkaur30124 жыл бұрын

    Very well explained. The explanations are precise as well as on the point. Thank you. p.s: can you please provide the link to the dataset?

  • @vidyaranidhawal5904
    @vidyaranidhawal59044 жыл бұрын

    great efforts!! can you share the dataset?

  • @shubham_sb
    @shubham_sb3 жыл бұрын

    Thankyou ...was able to understand all the concept

  • @edurekaIN

    @edurekaIN

    3 жыл бұрын

    Thank you so much for the review ,we appreciate your efforts : ) We are glad that you have enjoyed your learning experience with us .Thank You for being a part of our Edureka team : ) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @sandeeppanchal8615
    @sandeeppanchal86155 жыл бұрын

    Hi, presentation is really good. Anybody can understand it easily. Thanks for such wonderful lecture. Input: Our prediction can go to ~ 82% if we can fill the null values in 'Age' column with average values and can be done by 2 methods. 1) Fill the null values with the value which is the average of all age. (df['Age].mean(). Where df variable name for our dataframe) 2) Fill the null values by taking the average values with respect to column 'Pclass'. Example: If average age of passengers travelling in 1st class is taken and fill the null values with respect to 1st class. Same is done for 2nd and 3rd class. Average age with respect to 'Pclass' can be assumed from the boxplot of seaborn with 'Age' as x and 'Pclass' as y. Method 2 is better over method 1. Look at the code to fill the null values in 'Age' with respect to 'Pclass'. (train is the variable name of dataframe) ********************************************************************************* def impute_age(cols): Age = cols[0] Pclass = cols[1] if pd.isnull(Age): if Pclass == 1: return 37 elif Pclass == 2: return 29 else: return 24 else: return Age train['Age'] = train[['Age','Pclass']].apply(impute_age,axis=1) ******************************************************************************* My prediction is as follows: Accuracy: 82.02247191011236 ******************************************************************************* Classification Report precision recall f1-score support 0 0.81 0.93 0.86 163 1 0.85 0.65 0.74 104 micro avg 0.82 0.82 0.82 267 macro avg 0.83 0.79 0.80 267 weighted avg 0.82 0.82 0.81 267 ******************************************************************************* Confusion Matrix: [[151 12] [ 36 68]] ******************************************************************************* Predicted 0 1 Actual 0 151 12 1 36 68

  • @rakhipatil2372
    @rakhipatil23725 жыл бұрын

    Nice video..Please provide the data set

  • @yash-vh9tk
    @yash-vh9tk3 жыл бұрын

    Wow. Great explanation

  • @nehareddy4619
    @nehareddy46192 жыл бұрын

    Simply wow. Excellent explanation by you mam. We need professors like u.

  • @edurekaIN

    @edurekaIN

    2 жыл бұрын

    Hi : ) We really are glad to hear this ! Truly feels good that our team is delivering and making your learning easier :) Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @80amnesia
    @80amnesia4 жыл бұрын

    very useful real case example

  • @rajasharma3513
    @rajasharma35135 жыл бұрын

    Thanks for giving simple short and meaning full information.Thanks

  • @edurekaIN

    @edurekaIN

    5 жыл бұрын

    Hey Raja, Thank you for appreciating our efforts. We are glad you loved the video. Do subscribe, like and share to stay connected with us!

  • @taranilakshmi9680
    @taranilakshmi96805 жыл бұрын

    Explained very clear, need to go bit slow.

  • @NamedAfterColor
    @NamedAfterColor4 жыл бұрын

    Thank you so much.

  • @dipunasreedevi2519
    @dipunasreedevi25194 жыл бұрын

    Wonderfull explanation..thanq edurekha 🙂 can u pls share me the datasets plz...

  • @shaikyasmin2559
    @shaikyasmin25595 жыл бұрын

    Thank you mam ,your video very clear ,good help us

  • @edurekaIN

    @edurekaIN

    5 жыл бұрын

    Thanks for the compliment Yasmin, we are glad you loved the video. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!

  • @shaikyasmin2559

    @shaikyasmin2559

    5 жыл бұрын

    @@edurekaIN OK mam

  • @gautamar1455
    @gautamar14554 жыл бұрын

    wow very rich in content explained well

  • @geetikabansal2196
    @geetikabansal21964 жыл бұрын

    Thankyou Soooooo Much Ma'am!!!!!!

  • @ArunKumar-mi2iq
    @ArunKumar-mi2iq2 жыл бұрын

    After many videos , I got a nice explanation. Kudos to you mam ❤️

  • @edurekaIN

    @edurekaIN

    2 жыл бұрын

    We are super happy that Edureka is helping you learn better. Your support means a lot to us and it motivated us to create even better learning content and courses experience for you . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @maheshvangala8472
    @maheshvangala84724 жыл бұрын

    Thank you so much 😍😍

  • @navinkrishnan9419
    @navinkrishnan94194 жыл бұрын

    Thank you!

  • @HJ-uy6ez
    @HJ-uy6ez2 жыл бұрын

    You did an excellent job, thank you very much!

  • @edurekaIN

    @edurekaIN

    2 жыл бұрын

    You're welcome 😊 Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @solankitarun911
    @solankitarun9114 жыл бұрын

    Thank u..😇

  • @ankitkaushal1592
    @ankitkaushal15923 жыл бұрын

    Very much helpful mam🤗

  • @dorianfra4160
    @dorianfra41605 жыл бұрын

    Thanks for this great video. Very helpful.

  • @edurekaIN

    @edurekaIN

    5 жыл бұрын

    Hey Dorian, glad you loved the video. Do subscribe and hit the bell icon to never miss an update from us in the future. Cheers!

  • @user-wn6bx4hj1y
    @user-wn6bx4hj1y Жыл бұрын

    can you provide dataset along with tutorial ? or link to get it? on kaggle many datasets are there with 'titanic' name

  • @edurekaIN

    @edurekaIN

    Жыл бұрын

    Hi ! Good to know that our videos are helping you to learn better 😊 Please share your mail id to share the data sheets, We’ll update you soon . Do subscribe the channel for more updates.

  • @hamzahilori6579
    @hamzahilori65792 жыл бұрын

    My goodness! How did you get this good at teaching. 👏👏👏

  • @edurekaIN

    @edurekaIN

    2 жыл бұрын

    You're welcome 😊 Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @Raja-tt4ll
    @Raja-tt4ll4 жыл бұрын

    It was a good video in titanic dataset, mean should be taken for age column instead of dropping na. Overall, the video was good and nice explanation.

  • @edurekaIN

    @edurekaIN

    4 жыл бұрын

    Thank you for appreciating our efforts. We are glad you loved the video. Do subscribe to our channel and stay connected with us.

  • @surendra2227
    @surendra22273 жыл бұрын

    Great explanation 👌 👍 👏 😀

  • @optimalsolutionprogramming1299
    @optimalsolutionprogramming12992 жыл бұрын

    Tremendous work with this presentation and project.

  • @edurekaIN

    @edurekaIN

    2 жыл бұрын

    Thank you for your review : ) We are glad that you found our videos /contents useful . We are also trying our best to further fulfill your requirements and enhance your expirence :) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @KamleshSharma-si2rq
    @KamleshSharma-si2rq5 жыл бұрын

    One of the best tutorial ever,Mam can you pls share the dataset and source code...Thank you.

  • @edurekaIN

    @edurekaIN

    5 жыл бұрын

    Hey Kamlesh, we are glad you loved the video. Do mention your email ID over here and we will send the files to you. Cheers!

  • @iqrabashir904
    @iqrabashir904 Жыл бұрын

    Please make tutorials on path planing in robotics and practical implementation

  • @msMUHAMMADBILALAWAN
    @msMUHAMMADBILALAWAN4 жыл бұрын

    mam love you . . .! simply awesome . . .!

  • @anshi_artworld
    @anshi_artworld5 жыл бұрын

    why you have used the Standardscalar function in the SUV model , what is the actual use of it ?

  • @edurekaIN

    @edurekaIN

    5 жыл бұрын

    Hi Anshika, Scalers are used to scale the values of predictor variables along the same range in order to avoid biasness.

  • @viseshsolution74
    @viseshsolution743 жыл бұрын

    very good explanation

  • @bvm3048
    @bvm30485 жыл бұрын

    very good tutorial

  • @chinnaraobiyyala5505
    @chinnaraobiyyala55052 жыл бұрын

    GREAT EXPLANATION MAM

  • @rajamoorthy1969
    @rajamoorthy1969 Жыл бұрын

    Outstanding explanation. I am pursuing AI Silver from Pixel Tests but your way of explanation is by far the best one. Thanks for sharing your knowledge. Sharing is caring indeed.

  • @edurekaIN

    @edurekaIN

    Жыл бұрын

    We are very glad to hear that your a learning well with our contents 😊 continue to learn with us and don't forget to subscribe our channel so that you don't miss any updates !

  • @nayanbire1102
    @nayanbire11022 жыл бұрын

    Thank you so much! Very helpful!

  • @edurekaIN

    @edurekaIN

    2 жыл бұрын

    Good To know our videos are helping you learn better :) Stay connected with us and keep learning ! Do subscribe the channel for more updates : )

  • @simransimran6766
    @simransimran67663 жыл бұрын

    Best explanation ever

  • @mohanraogorapalli4735
    @mohanraogorapalli47355 жыл бұрын

    hi ,your video is nice ,provide data sets for both the examples that you have discussed..

  • @mohanraogorapalli4735

    @mohanraogorapalli4735

    5 жыл бұрын

    email id: mohanraogorapalli@gmail.com

  • @aadika45
    @aadika452 жыл бұрын

    Thanks for your video. It makes life easier.

  • @edurekaIN

    @edurekaIN

    2 жыл бұрын

    Glad it helped!

  • @aishasiddiquadabeer5143
    @aishasiddiquadabeer51434 жыл бұрын

    Thank you for the clear explanation. Can you please provide the datasets and the python notebook used in the video?

  • @edurekaIN

    @edurekaIN

    4 жыл бұрын

    Please mention your email id (it will not be published). We will forward the dataset to your email address.

  • @aishasiddiquadabeer5143

    @aishasiddiquadabeer5143

    4 жыл бұрын

    @@edurekaIN my email id is myskillcentral@gmail.com

Келесі