8000 DOC Fix return type for `d2_tweedie_score` (#31285) · scikit-learn/scikit-learn@c285888 · GitHub
[go: up one dir, main page]

Skip to content

Commit c285888

Browse files
authored
DOC Fix return type for d2_tweedie_score (#31285)
1 parent 37bbeaa commit c285888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/metrics/_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ def d2_tweedie_score(y_true, y_pred, *, sample_weight=None, power=0):
16221622
16231623
Returns
16241624
-------
1625-
z : float or ndarray of floats
1625+
z : float
16261626
The D^2 score.
16271627
16281628
Notes

0 commit comments

Comments
 (0)
0