Mean Poisson deviance regression loss.
Poisson deviance is equivalent to the Tweedie deviance with the power parameter power=1
.
Read more in the User Guide.
Ground truth (correct) target values. Requires y_true >= 0.
Estimated target values. Requires y_pred > 0.
Sample weights.
A non-negative floating point value (the best value is 0.0).
Examples
>>> from sklearn.metrics import mean_poisson_deviance >>> y_true = [2, 0, 1, 4] >>> y_pred = [0.5, 0.5, 2., 2.] >>> mean_poisson_deviance(y_true, y_pred) 1.4260...
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4