Abstract Base Class from which all unary metrics inherit.
Run the metric for a given target dataset.
| Parameters: | target_dataset (ocw.dataset.Dataset object) – The dataset on which the current metric will be run. |
|---|---|
| Returns: | The result of evaluating the metric on the target_dataset. |
Abstract Base Class from which all binary metrics inherit.
Run the metric for the given reference and target datasets.
| Parameters: |
|
|---|---|
| Returns: | The result of evaluation the metric on the reference and target dataset. |
Calculate the bias between a reference and target dataset.
Calculate the bias between a reference and target dataset.
Note
Overrides BinaryMetric.run()
| Parameters: |
|
|---|---|
| Returns: | The difference between the reference and target datasets. |
| Return type: | Numpy Array |
Calculate the standard deviation over the time.
Calculate the temporal std. dev. for a datasets.
Note
Overrides UnaryMetric.run()
| Parameters: | target_dataset (ocw.dataset.Dataset object) – The target_dataset on which to calculate the temporal standard deviation. |
|---|---|
| Returns: | The temporal standard deviation of the target dataset |
| Return type: | Numpy Array |