-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
The evaluation function
pycsep/csep/core/binomial_evaluations.py
Line 33 in 5f84ea9
def negative_binomial_number_test(gridded_forecast, observed_catalog, variance): |
EvaluationResult
. To plot this negative binomial consistency test, the variance
parameter is required again, which impedes the EvaluationResult to be a standalone object without the function arguments that created it. I propose to change pycsep/csep/core/binomial_evaluations.py
Line 68 in 5f84ea9
result.test_distribution = ('negative_binomial', fore_cnt) |
result.test_distribution = ('negative_binomial', fore_cnt, variance)
This would imply to remove the variance
argument from the plot_consistency_test
signature and retrieve it from the EvaluationResult
argument the plot function has.
Metadata
Metadata
Assignees
Labels
No labels