score.default function

Calculate the score for a set of predictions on the given data