Top "Logistic-regression" questions

Logistic regression is a statistical classification model used for making categorical predictions.

How to implement the Softmax function in Python

From the Udacity's deep learning class, the softmax of y_i is simply the exponential divided by the sum of …

python numpy machine-learning logistic-regression softmax
ValueError: Unknown label type: 'unknown'

I try to run following code. Btw, I am new to both python and sklearn. import pandas as pd import …

python pandas numpy scikit-learn logistic-regression
How to find the importance of the features for a logistic regression model?

I have a binary prediction model trained by logistic regression algorithm. I want know which features(predictors) are more important …

python machine-learning scikit-learn logistic-regression
sklearn Logistic Regression "ValueError: Found array with dim 3. Estimator expected <= 2."

I attempt to solve this problem 6 in this notebook. The question is to train a simple model on this data …

python scikit-learn logistic-regression
R: Calculate and interpret odds ratio in logistic regression

I am having trouble interpreting the results of a logistic regression. My outcome variable is Decision and is binary (0 or 1, …

r probability logistic-regression
Logistic Regression on factor: Error in eval(family$initialize) : y values must be 0 <= y <= 1

Not able to fix the below error for the below logistic regression training=(IBM$Serial<625) data=IBM[!training,] dim(…

r logistic-regression r-factor
How to choose cross-entropy loss in TensorFlow?

Classification problems, such as logistic regression or multinomial logistic regression, optimize a cross-entropy loss. Normally, the cross-entropy layer follows the …

python tensorflow neural-network logistic-regression cross-entropy
Roc curve and cut off point. Python

I ran a logistic regression model and made predictions of the logit values. I used this to get the points …

python logistic-regression roc
Scikit Learn: Logistic Regression model coefficients: Clarification

I need to know how to return the logistic regression coefficients in such a manner that I can generate the …

python scikit-learn logistic-regression
plotting decision boundary of logistic regression

I'm implementing logistic regression. I managed to get probabilities out of it, and am able to predict a 2 class classification …

matplotlib scikit-learn logistic-regression