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.



topepo/parsnip documentation built on April 16, 2024, 3:23 a.m.