Should probably validate that this may be squeezed to a 1d array of numeric type to ensure it is not used on multilabel data.