File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -738,12 +738,16 @@ def jaccard_score(
738
738
739
739
Returns
740
740
-------
741
- score : float (if average is not None) or array of floats, shape =\
742
- [n_unique_labels]
741
+ score : float or ndarray of shape (n_unique_labels,), dtype=np.float64
742
+ The Jaccard score. When `average` is not `None`, a single scalar is
743
+ returned.
743
744
744
745
See Also
745
746
--------
746
- accuracy_score, f1_score, multilabel_confusion_matrix
747
+ accuracy_score : Function for calculating the accuracy score.
748
+ f1_score : Function for calculating the F1 score.
749
+ multilabel_confusion_matrix : Function for computing a confusion matrix\
750
+ for each class or sample.
747
751
748
752
Notes
749
753
-----
Original file line number Diff line number Diff line change 30
30
"sklearn.linear_model._omp.orthogonal_mp_gram" ,
31
31
"sklearn.manifold._locally_linear.locally_linear_embedding" ,
32
32
"sklearn.manifold._t_sne.trustworthiness" ,
33
- "sklearn.metrics._classification.jaccard_score" ,
34
33
"sklearn.metrics._plot.det_curve.plot_det_curve" ,
35
34
"sklearn.metrics._plot.precision_recall_curve.plot_precision_recall_curve" ,
36
35
"sklearn.metrics._ranking.coverage_error" ,
You can’t perform that action at this time.
0 commit comments