y.true
array-like of shape (nsamples,) or (nsamples, n_classes)
True binary labels Or binary label indicators. The multiclass case
expects shape(nsamples,) And labels With values In 0, 1, ..., nclasses-1. [as double]
pred
array-like of shape (nsamples,) or (nsamples, n_classes)
Target scores, can either be probability estimates Of the positive
Class, confidence values, Or non-thresholded measure of decisions
(as returned by "decision_function" on some classifiers). [as double]
this function returns data object of type double.