Skip to main content

Command Palette

Search for a command to run...

Logistic Regression (Binary)

Updated
•1 min read•View as Markdown
V

Greetings! I'm Vishnu Vinay, a Computer Science and Engineering graduate holding a B. Tech degree. Currently immersed in the captivating world of Artificial Intelligence, I am on a quest for knowledge while pursuing a graduate certificate in Artificial Intelligence with Machine Learning. My passion lies in sharing insights and discoveries in the fields of AI, Machine Learning, Artificial General Intelligence, and Robotics through engaging blog posts. Proficient in Python, ML libraries, and algorithms, I find joy in developing and deploying ML models, with a focus on leveraging AWS Sagemaker. Join me on this exciting journey of unraveling the mysteries of AI through the lens of coding, exploration, and the ever-evolving landscape of machine learning. Let's embark on this knowledge-sharing adventure together!

A classification algorithm that uses a sigmoid function.

Classification - differentiates things into different classes, not a continuous value.

Eg 1:- email is spam or not

Eg 2:- recognizing dogs, cats, rats etc from a bunch of animals list

Sigmoid function -

Different cases in sigmoid function:-

The sigmoid function applied into logistic regression equation:-

Note: Logistic regression is binomial when the observed outcome of the dependent variable can have only two values such as 0 and 1 or success and failure.

The cost function in logistic regression equation:-

More from this blog

Untitled Publication

31 posts