# Questions tagged [logistic-regression]

Refers generally to statistical procedures that utilize the logistic function, most commonly various forms of logistic regression

511 questions
Filter by
Sorted by
Tagged with
2answers
392 views

### Logistics regression with polynomial features vs neural networks for classification

I am taking Andrew Ng's Coursera class on machine learning. He mentions that training a logistic regression model with polynomial features would be very expensive for certain tasks compared to ...
1answer
28 views

### How do we decide on the classification algorithm to use with huge training size?

I am solving a questions binary classification problem and the training size for this is huge(291 billion). The data has bloated because of using tfidfvectorizerfor ...
2answers
239 views

### How to do predict a new sms to be spam or not?

I have trained a model for spam classification - This is my code - ...
1answer
281 views

### Why do we divide the regularization term by the number of examples in regularized logistic regression?

So this is the formula for the regularized logistic regression cost function: $x^{(i)}$ - the $i$'th training example $\theta_j$ - the parameter of the $j$'th feature $m$ - the number of training ...
0answers
87 views

2answers
127 views

### Interpretation of ROC AUC score

i tried to evaluate 6 models and after plotting , this what i get : So i'm wondering , if those results are "Right" ? Thank's in advance.
1answer
180 views

### Logistic Regression - ROC curve plots Sensitivity vs Specificity instead of (1-Specificity)

I am new to Machine Learning and have been doing some practice on Logistic Regression. To evaluate the models, I've been trying to create some ROC plots. The package that i used is pROC. The model ...
1answer
70 views

### Can one use non converged results from Logistic Regression?

I'm running Logistic Regression on a dataset for a classification problem. I used the model on the dataset when it was normalized and I had no problem with it converging. Now, I wanted to see the ...
1answer
1k views

### Logistic Regression - Coefficients have p-value more than alpha(0.05)

I am very new to the machine learning field and have been practicing logistic regression on few sample data sets. I have built a Model using the logistic regression algorithm. Few of the coefficients ...
2answers
69 views

### Why does a machine learning model of English can not be directly applied on right to left languages, like Arabic Hindi, and Urdu

I have a Logistic Regression model that works fine when used with an English Dataset. But, when I pass a same format data set in a different language, (Language is URDU which is right to left and UTF-...
1answer
67 views

### Using a feature in prediction even if it gets zero as p-value?

I created two binary classification based logistic regression models and I got these results: Model 1: Accuracy: 67.51% AUC: 65.21% Model 2: Accuracy: 67,99% AUC: 65,70% The second ...
2answers
79 views

### Accuracy of the model

I'm using this dataset and i'm trying to do logistic regression ...
3answers
16k views

### How to plot logistic regression decision boundary?

I am running logistic regression on a small dataset which looks like this: After implementing gradient descent and the cost function, I am getting a 100% accuracy in the prediction stage, However I ...
3answers
267 views

### Use text classifier on unseen data

I've trained a few models to classify between two categories of text. Logistic regression was the best. Now how can i test it on unseen data? I tried this: ...
2answers
291 views

### which metric is better for boosting methods

I work on a dataset of 300 000 samples and I try to make a comparison between logistic regression (with gradients descent) and a LightBoost for binary classification in order to choose the better one. ...
1answer
116 views

### How to interpreting the exponential coefficent in poisson regression with offset?

I am trying to find the village level risk factors for malaria. Therefore, I ran a poisson model in r with the prevalence of malaria(y) as dependent variable, altitude(x1) and Forestation(x2) as ...
1answer
71 views

### What happens to a machine learning technique (specifically Decision Tress and Logistic Regression) if the validation dataset has a new category?

Let's suppose I have a dataset which has a categorical variable and the problem I am solving is a classification one. This categorical variable var has ['A','B','C'] as the possible set of data. ...
1answer
18 views

### Machine Learning Dataset: Easy enough for fully connected, but not easy enough for logistic regression

I was wondering if someone could direct me to a dataset for a classification task with the following conditions: Multinomial logistic regression alone does not learn a good classifier A series of ...
1answer
474 views

### Distribution of error values in linear regression vs logistic regression

Why do error values in linear regression have to be normally distributed and why not in logistic regression?
3answers
564 views

### Why did Logistic regression perform better than svm? [closed]

I have a data set of movies and their subtitles.My task is to classify them based on their ratings-[R,NR,PG,PG-13,G]. I have tried different ML algorithms and found that Logistic regression out ...
1answer
644 views

...
2answers
157 views

### logistic regression : highly sensitive model

I am a newbie to data science and ML. I am working on a classification problem where the task is to predict loan status (granted/not granted). I am running a logistic regression model on the data. ...
1answer
1k views

### Normal distribution instead of Logistic distribution for classification

Logistic regression, based on the logistic function $\sigma(x) = \frac{1}{1 + \exp(-x)}$, can be seen as a hypothesis testing problem. Where the reference distribution is the standard Logistic ...
1answer
169 views

### Data prepration for logistic regression : Value either “not available” or a “year”

I have some data of houses that have been renovated. In my data there is one column (among others) that captures this information. It is either "-1" if there has not been yet any renovation, or the ...