New answers tagged logistic-regression
2
votes
How sklearn logistic regression computes accuracy, recall etc if we don't provide threshold?
The default threshold is 0.5, so it is computed on that basis. It is kind of a problem as it isn't well documented (not even on the logistic regression predict page) and a very common pitfall.
The two ...
- 2,377
0
votes
Decision tree vs logistic regression feature importances
The difference in the importance of the 'Total day charge' coefficient between the decision tree and logistic regression models is due to the way that each model ...
- 2,981
0
votes
Accepted
Why does Logistic Regression perform better than machine learning models in clinical prediction studies
Clinical trial data is typically collected from a sample population and often has a limited size and number of features. Complex models applied to such data are more likely to overfit, whereas simpler ...
- 93
0
votes
Why is my predictor value (continuous) perfectly correlated with my logit value (when testing logistic regression model assumptions)?
$$
\text{logit}=\hat\beta_0+\hat\beta_1x\\
\text{cor}(x, \text{logit})\\
=\text{cor}(x, \hat\beta_0+\hat\beta_1x)\\
=\text{cor}(x, \hat\beta_1x)
$$
If the estimated slope coefficient $\hat\beta_1>0$...
- 3,744
Top 50 recent answers are included
Related Tags
logistic-regression × 682machine-learning × 236
classification × 121
python × 114
scikit-learn × 80
regression × 49
r × 48
predictive-modeling × 41
linear-regression × 35
neural-network × 33
deep-learning × 29
svm × 29
random-forest × 27
gradient-descent × 27
feature-selection × 23
statistics × 22
machine-learning-model × 20
data-science-model × 18
data-mining × 17
decision-trees × 16
multiclass-classification × 15
nlp × 14
class-imbalance × 14
optimization × 14
accuracy × 14