Choose performance metric in parsnip

Is it possible to change the metric used to determine the model settings in parsnip ?

For example, choosing between RMSE, R^2, and MAE for regression ; between Accuracy and Kappa for classification.

parsnip doesn't really do anything with measuring performance; perhaps you are using tune. If that is the case, then you can create a metric set. That will bundle a bunch of different metrics together (there is a regression example in that link) and you can give that to any of the tuning functions or use it to evaluate any predictions that you have generated from a parsnip model directly.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.