# Questions tagged [logistic-regression]

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

574 questions
Filter by
Sorted by
Tagged with
22 views

### Normalization factor in logistic regression cross entropy

Given that probability of a matrix of features $X$ along with weights $w$ is computed: ...
16 views

### When should we use jaccard score?

I am a newbie in Machine Learning, I trained a binary classifier for bank loan prediction through Logistic Regression. I measured the accuracy of it with two methods: accuracy score and jaccard index. ...
18 views

### What is the best Classification Method alternative to Nominal Logistic Regression, if your Response and all Predictor variables are Categorical?

Hy, I need help in choosing the best classification method. My response variable is nominal with "4" categories and five predictor variables, two of them are nominal and three are binary. ...
18 views

### creating a logistic regression model with coefficients

I am trying to understand the details of the logistic regression models and now I was wondering how the model can be created if you have the coefficients and intercepts. So I created a logistic ...
24 views

20 views

### Confusion matrix and accuracy not in sync

I am getting the following result for the confusion matrix and accuracy for a logistic regression model. ...
17 views

### How do I interpret logistic regression coefficients with the use of both one-hot encoder and L2 regularization?

I have read two articles saying we should avoid dropping one level of a categorical variable as the reference group while using both one-hot encoder and regularization in linear regression/logistic ...
99 views

### logistic regression or density estimation for binary dependent variable and binary (or categorical) features [closed]

I have a binary dependent variable $t$ and categorical features. We can even simplify to binary features since I can one-hot encode the categorical variables. In practice the one-hot encoding induces ...
14 views

### Counter-intuitive weight in logistic regression

I have a question about logistic regression. One of the features I built is a binary feature which produces either 0 or 1. The number of the positive instances with the feature activated is ~110K ...
52 views

### Why does my logistic regression predict all 0's?

I built a logistic regression in scikit-learn and all of my predicted values are 0, it can't be so. It must have at least some predictability power. I am trying to predict which flights are likely to ...
9 views

### From The Logistic Equation to Code

I am reading an article on Introduction to Logistic Regression. https://towardsdatascience.com/an-introduction-to-logistic-regression-8136ad65da2e From the ...
13 views

### Use probability estimate of logistic regression of a binary dependent variable: how to evaluate the model?

Logistic Regression gives a the probability for a specific outcome. It does not return the outcome itself. Say, we use the continous probabilities themselves instead of the binary classification for ...
22 views

### Training data with one class

I have a real-time scenario, finding out whether a transaction is fraudulent or not. I have a dataset that contains only fraudulent transactions. For any binary classification algorithm, we may need ...
15 views

### How to use Word2Vec CBOW in statistical algorithm?

I have seen a few examples of using CBOW in neural network models (although I did not understand them). I know that Word2Vec is not similar to BOW or TFIDF, as there is no single value for CBOW and ...
18 views

### Is logistic regression suited to predict whether or not a flight will be late 15 minutes of more? How arrange data?

I have data for of past flights with quite a lot of features. I am trying to think whether a logistic regression would be suitable to predict which type of flights are likely to be late in the future. ...
35 views

### Creating adversarial sample against logistic regreession

I performed a binary classification using logistic regression. My goal is the following: I know the coefficient w of the hyperplane equation $y = wTx + b$. What I would like to do is create opposing ...
13 views

### Linear models: Imputing missing not at random

This question is a continuation of a similar question for linear models instead of Tree-based model. Given that linear models (e.g. lasso, ridge, Linear regression, elastic net, etc.) can't handle ...
16 views

### Cold Start and First Price Auctions

I have the following contrived scenario... I've participated on various auction platforms where I bid on widgets. Assume that win/loss outcomes on individual platforms are well-separated such that for ...
19 views

### CoxPH model with Frailty and L1 regularization

This question stems from an approach proposed by Dr. Silverman, "Predicting Horse Race winners through A Regularized Conditional Logistic Regression with Frailty." In this paper, he proposes ...
49 views

### What does my learning curve indicate?

I have performed logistic regression. And I am getting an accuracy of 77% with my current model. I divided my training set into cross validation set and train set. And I plotted a learning curve (...
62 views

### Naive bayes expectation maximization vs logistic regression for binary classification

Assuming I'm dealing with binary classification. For what kind of data Naive bayes using expectation maximization would give a better solution and for what kind of data logistic regression would be ...