How to get started with Logistic Regression via sklearn and Python
machine learning - how do I find the actual logistic regression model in python? - Stack Overflow
Comprehensive Guide on Logistic Regression
Logistic Regression in Python from Scratch
Videos
Hi r/learnmachinelearning I've been part of this community for a bit now, I recently started writing tutorials on how to do machine learning because I've seen so many posts in here, learnprogramming, python, and other similar subreddits about people wanting to learn machine learning. As someone who took 4 classes on it in undergrad and worked on the AI infrastructure at Amazon, I want to share my knowledge and make getting started with machine learning accessible to everyone. I had an overwhelmingly positive respond to my article on Linear Regression yesterday. Today, I've put out an article on Logistic Regression and I want to share it with y'all.
Logistic regression is used for classification. It offers a way to assign values between 0 and 1 to either 0 or 1. This function is called the "softmax" function and is extremely useful in Machine Learning. It was one of the first functions used in neural networks/perceptrons to classify something. If you have any questions about logistic regression or other machine learning topics in general, feel free to ask away!
The model object has an attribute called coef_ where the coefficients of the model are stored. In addition, the attribute intercept_ gives the intercept of the model.
I'm assuming you're using SkLearn. But what do you mean by implement it? Are you looking to write it into a separate language, or use a different library (i.e. TensorFlow)?
If you just want to keep the model and use it in a python program later, you can save and load it with Pickle.