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.



tidymodels/parsnip documentation built on Feb. 19, 2025, 2:10 a.m.