Blog Post

Classification in Machine Learning Example Using Logistic Regression

In the previous lesson, we learned about the theory behind binary classification and logistic regression for machine learning. We learned how to classify an object based on some training examples learned before.

Binary Classification and Logistic Regression Machine Learning

In this lesson, we will understand how logistic regression works and how we can implement it. In other words, we will see a classification in machine learning example using logistic regression.

logistic regression example-pic-1
In this lesson, we want to use logistic regression for the binary classification of dogs based on previously seen and learned data

Watch the video version of the 7th lesson:

Download the Python code at the link below (lesson7-code):

If you enjoyed this post, please consider contributing to help us with our mission to make robotics and mechatronics available for everyone. We deeply thank you for your generous contribution!

Do not forget to contact us:

Be sure to let us know your thoughts and questions about this post, as well as the other posts on the website. You can either contact us through the “Contact” tab on the website or email us at support[at]

Send us your work/ research on Robotics and Mechatronics to have a chance to get featured in Mecharithm’s Robotics News/ Learning:

Follow Mecharithm on the following social media too:

YouTube, and Instagram

Related Posts