Top "Logistic-regression" questions

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

Confidence interval of probability prediction from logistic regression statsmodels

I'm trying to recreate a plot from An Introduction to Statistical Learning and I'm having trouble figuring out how to …

python logistic-regression statsmodels confidence-interval
'DataFrame' object has no attribute 'ravel' when transforming target variable?

I was fitting a logistic regression with a subset dataset. After splitting the dataset and fitting the model, I got …

python numpy logistic-regression sklearn-pandas
Python Multinomial Logistic Regression : ValueError: bad input shape (326L, 559L)

i am trying to create a LogistcRegression classifier for a multilabel classification problem traindf = pickle.load(open(self.dataLocation+"train"+…

python machine-learning scikit-learn logistic-regression multilabel-classification
Node inconsistent with parents in JAGS model (R)

I'm new to JAGS, and I'm trying to run a simple logistic regression. My data file is very simple: the …

r logistic-regression bayesian jags
Using cross validation and AUC-ROC for a logistic regression model in sklearn

I'm using the sklearn package to build a logistic regression model and then evaluate it. Specifically, I want to do …

python scikit-learn logistic-regression cross-validation roc
Survival Analysis for Telecom Churn using R

I am working on Telecom Churn problem and here is my dataset. http://www.sgi.com/tech/mlc/db/churn.…

r sas logistic-regression survival-analysis cox-regression
how to get probabilities between 0 and 1 using glmnet logistic regression

consider the following example rm(list = ls(all=T)) library(ISLR) library(glmnet) Hitters=na.omit(Hitters) # Binary proble - …

r logistic-regression glmnet
how to get the log likelihood for a logistic regression model in sklearn?

I'm using a logistic regression model in sklearn and I am interested in retrieving the log likelihood for such a …

math machine-learning scikit-learn logistic-regression log-likelihood
Logistic Regression Gradient Descent

I am trying to do as the title says but I am not able to really understand how to do …

python logistic-regression gradient-descent
How to evaluate cost function for scikit learn LogisticRegression?

After using sklearn.linear_model.LogisticRegression to fit a training data set, I would like to obtain the value of …

python machine-learning scikit-learn logistic-regression scikits