Top "Logistic-regression" questions

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

How to perform logistic lasso in python?

The scikit-learn package provides the functions Lasso() and LassoCV() but no option to fit a logistic function instead of a …

python scikit-learn logistic-regression lasso-regression
Spark Java Error: Size exceeds Integer.MAX_VALUE

I am trying to use spark for some simple machine learning task. I used pyspark and spark 1.2.0 to do a …

java python apache-spark distributed-computing logistic-regression
Speeding up sklearn logistic regression

I have a model I'm trying to build using LogisticRegression in sklearn that has a couple thousand features and approximately 60,000 …

python logistic-regression scikit-learn
Getting a low ROC AUC score but a high accuracy

Using a LogisticRegression class in scikit-learn on a version of the flight delay dataset. I use pandas to select some …

machine-learning scikit-learn classification logistic-regression auc
python divide by zero encountered in log - logistic regression

I'm trying to implement a multiclass logistic regression classifier that distinguishes between k different classes. This is my code. import …

python machine-learning logistic-regression logarithm divide-by-zero
Can multinomial models be estimated using Generalized Linear model?

In analysis of categorical data, we often use logistic regression to estimate relationships between binomial outcomes and one or more …

r logistic-regression glm
Cost function in logistic regression gives NaN as a result

I am implementing logistic regression using batch gradient descent. There are two classes into which the input samples are to …

matlab machine-learning classification logistic-regression gradient-descent
Logistic Regression Tuning Parameter Grid in R Caret Package?

I am trying to fit a logistic regression model in R using the caret package. I have done the following: …

r logistic-regression r-caret hyperparameters
Unable to run logistic regression due to "perfect separation error"

I'm a beginner to data analysis in Python and have been having trouble with this particular assignment. I've searched quite …

python numpy pandas matplotlib logistic-regression
How to get feature importance in logistic regression using weights?

I have a dataset of reviews which has a class label of positive/negative. I am applying Logistic regression to …

machine-learning scikit-learn logistic-regression sklearn-pandas