Skip to contents

Combine predictions from multiple models on the same test set.

Usage

merge_predictions(obj1, rest, ...)

# S3 method for class 'regression_prediction'
merge_predictions(obj1, rest, ...)

# S3 method for class 'classification_prediction'
merge_predictions(obj1, rest, ...)

Arguments

obj1

The first object containing predictions.

rest

Other objects containing predictions.

...

Additional arguments. Methods for this generic may implement specific arguments such as `weights` to control how predictions are combined.

Value

A combined object with merged predictions.