Skip to main content

Questions tagged [logistic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

statsmodel logit singular matrix

I am new in machine learning and I need an advice: I am predicting spam calls based on the call details records (CDR) of an Internet-based PBX. The fact is that I obtain singular matrices during ...
Luke's user avatar
  • 1
0 votes
0 answers
14 views

Convert Regression output to classification based on prospective performance of model

Let’s say I have a regression model that predicts experimental value in the range of 4 to 8 of an object based on a set of features. I am aiming to design an oBject with an experimental value of great ...
ChemDev's user avatar
  • 101
0 votes
0 answers
18 views

Array column in dataframe as input for classification models

Please consider the following dataframe: My challenge is with the column 'geometry_coordnates'. I've got a column 'geometry_coordnates' that is an array of numbers. It can be a representation of a ...
Paulo Henrique PH's user avatar
1 vote
1 answer
35 views

Why is my predictor value (continuous) perfectly correlated with my logit value (when testing logistic regression model assumptions)?

Question: Why is my predictor value (continuous) perfectly correlated with my logit value (when testing logistic regression model assumptions)? Code: ...
In_cognito's user avatar
4 votes
1 answer
160 views

Force positive coefficients for Logistic Regression and LinearSVC

Do you know what is the best way to force positive coefficients with Logistic Regression and Linear SVC using scikit learn? for instance ...
Alex's user avatar
  • 165
1 vote
1 answer
112 views

Checking Linearity in Logistic Regression Model by plotting log-odds against each independent variable

Is plotting the log_odds vs independent variables an appropriate way to check the linearity in logistic regression with multiple predictors? I feel the assumption should be that linearity between ...
Umang Garg's user avatar
0 votes
1 answer
35 views

Interpreting log odds in case of multiple predictor variables

Interpretation of log odds with a single predictor variable --> 0.8=2.5(Hypertension) The odds of a person with hypertension getting heart disease is 0.8. Log odds with multiple predictor variables ...
Apoorva's user avatar
  • 307
2 votes
1 answer
69 views

Effect of log odds on skewed data

Does taking the log of odds bring linearity between the odds of the dependent variable & the independent variables by removing skewness in the data? Is this one reason why we use log of odds in ...
Apoorva's user avatar
  • 307
1 vote
2 answers
1k views

Why is cross entropy based on Bernoulli or Multinoulli probability distribution?

When we use logistic regression, we use cross entropy as the loss function. However, based on my understanding and https://machinelearningmastery.com/cross-entropy-for-machine-learning/, cross entropy ...
Feng Chen's user avatar
  • 207
1 vote
1 answer
140 views

How does inverse of logistic function produces "linear relationship", (so we can use least-squares)

I am reading about time-series analysis in "A First Course on Time Series Analysis". The book reviews the logistic function ($f_{log}(t)$) (more on the special logistic function here and ...
Nate Anderson's user avatar