2
$\begingroup$

Specifically, I have an item code as one of the independent variables that can have several hundred possible values results in underfitting when predicting the projected availability of that item. I'd like to replace that item code with a numeric equivalent. Something like using weight of evidence in logistic regression.

$\endgroup$
1
  • $\begingroup$ Can you share one example of your data with dput()? It would put us in a better place to help you out. $\endgroup$ Nov 25 '21 at 5:12

Your Answer

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

Browse other questions tagged or ask your own question.