Skip to contents

Utility function to get weighted means of predictions

Usage

sample_preds(predicted, weight)

Arguments

predicted

vector of predicted values

weight

vector of weights

Value

mean prediction in a list