0
$\begingroup$

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
$\endgroup$
1
  • 4
    $\begingroup$ A logistic regression requires a binary dependent variable but continuous predictors are no problem. $\endgroup$ – 00schneider Jun 30 '20 at 10:24
3
$\begingroup$

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.

$\endgroup$
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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