First stab at addind support for weights

prediction(...) takes a weights parameter of the same type and shape as the
predictions parameter. Hence, a vector, a dataframe or a matrix of predictions
can be weighted by a vector, dataframe, or matrix of weights, respectively.