Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c285888

Browse filesBrowse files
authored
DOC Fix return type for d2_tweedie_score (scikit-learn#31285)
1 parent 37bbeaa commit c285888
Copy full SHA for c285888

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎sklearn/metrics/_regression.py

Copy file name to clipboardExpand all lines: sklearn/metrics/_regression.py
+1-1
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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.