csep.models.EvaluationResult
- class csep.models.EvaluationResult(test_distribution=None, name=None, observed_statistic=None, quantile=None, status='', obs_catalog_repr='', sim_name=None, obs_name=None, min_mw=None)[source]
- __init__(test_distribution=None, name=None, observed_statistic=None, quantile=None, status='', obs_catalog_repr='', sim_name=None, obs_name=None, min_mw=None)[source]
Stores the result of an evaluation.
- Parameters:
test_distribution (1d array-like) – collection of statistics computed from stochastic event sets
name (str) – name of the evaluation
observed_statistic (float or int) – statistic computed from target observed_catalog
quantile (tuple or float) – quantile of observed statistic from test distribution
status (str) – optional
obs_catalog_repr (str) – text information about the observed_catalog used for the evaluation
sim_name (str) – name of simulation
obs_name (str) – name of observed observed_catalog
Methods
__init__([test_distribution, name, ...])Stores the result of an evaluation.
from_dict(adict)Creates evaluation result from a dictionary :param adict: stores information about classes :type adict: dict
plot()to_dict()