Predictors should have the same scale. One way to achieve this is to center and scale each so that each predictor has mean zero and a variance of one.



Try the parsnip package in your browser

Any scripts or data that you put into this service are public.

parsnip documentation built on Aug. 18, 2023, 1:07 a.m.