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 June 24, 2024, 5:14 p.m.