I Am trying to create a Logistic model and I have two columns which are important features but it has continuous values ... I have 7044 rows so creating dummies might not be optimal which will burst whole lot of columns ... What should be My approach ... Any suggestions ...?

   PaymentMethod          MonthlyCharges    TotalCharges    Churn
  Electronic check          29.85              29.85          No
   Mailed check             56.95             1889.5          No
    Mailed check            53.85             108.15          Yes
  • 4
    $\begingroup$ A logistic regression requires a binary dependent variable but continuous predictors are no problem. $\endgroup$ Commented Jun 30, 2020 at 10:24

1 Answer 1


Continuous predictors are fine with logistic regression. But, linear effects is a strong assumption with logistic regression, so it might be a good idea to spline the continuous predictors. See Using splines to address non-linearity in logistic regression and its links.

Your question contains little details and context, so if you want more advice, please update the post with details.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.