-
Notifications
You must be signed in to change notification settings - Fork 820
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91c7087
commit 5c97c9b
Showing
46 changed files
with
6,504 additions
and
2,087 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,80 @@ | ||
""" | ||
Metrics | ||
------- | ||
For deterministic forecasts (point predictions with `num_samples == 1`): | ||
- Aggregated over time: | ||
Absolute metrics: | ||
- :func:`MERR <darts.metrics.metrics.merr>`: Mean Error | ||
- :func:`MAE <darts.metrics.metrics.mae>`: Mean Absolute Error | ||
- :func:`MSE <darts.metrics.metrics.mse>`: Mean Squared Error | ||
- :func:`RMSE <darts.metrics.metrics.rmse>`: Root Mean Squared Error | ||
- :func:`RMSLE <darts.metrics.metrics.rmsle>`: Root Mean Squared Log Error | ||
Relative metrics: | ||
- :func:`MASE <darts.metrics.metrics.mase>`: Mean Absolute Scaled Error | ||
- :func:`MSSE <darts.metrics.metrics.msse>`: Mean Squared Scaled Error | ||
- :func:`RMSSE <darts.metrics.metrics.rmsse>`: Root Mean Squared Scaled Error | ||
- :func:`MAPE <darts.metrics.metrics.mape>`: Mean Absolute Percentage Error | ||
- :func:`sMAPE <darts.metrics.metrics.smape>`: symmetric Mean Absolute Percentage Error | ||
- :func:`OPE <darts.metrics.metrics.ope>`: Overall Percentage Error | ||
- :func:`MARRE <darts.metrics.metrics.marre>`: Mean Absolute Ranged Relative Error | ||
Other metrics: | ||
- :func:`R2 <darts.metrics.metrics.r2_score>`: Coefficient of Determination | ||
- :func:`CV <darts.metrics.metrics.coefficient_of_variation>`: Coefficient of Variation | ||
- Per time step: | ||
Absolute metrics: | ||
- :func:`ERR <darts.metrics.metrics.err>`: Error | ||
- :func:`AE <darts.metrics.metrics.ae>`: Absolute Error | ||
- :func:`SE <darts.metrics.metrics.se>`: Squared Error | ||
- :func:`SLE <darts.metrics.metrics.sle>`: Squared Log Error | ||
Relative metrics: | ||
- :func:`ASE <darts.metrics.metrics.ase>`: Absolute Scaled Error | ||
- :func:`SSE <darts.metrics.metrics.sse>`: Squared Scaled Error | ||
- :func:`APE <darts.metrics.metrics.ape>`: Absolute Percentage Error | ||
- :func:`sAPE <darts.metrics.metrics.sape>`: symmetric Absolute Percentage Error | ||
- :func:`ARRE <darts.metrics.metrics.arre>`: Absolute Ranged Relative Error | ||
For probabilistic forecasts (storchastic predictions with `num_samples >> 1`): | ||
- Aggregated over time: | ||
- :func:`MQL <darts.metrics.metrics.mql>`: Mean Quantile Loss | ||
- :func:`QR <darts.metrics.metrics.qr>`: Quantile Risk | ||
- Per time step: | ||
- :func:`QL <darts.metrics.metrics.ql>`: Quantile Loss | ||
For Dynamic Time Warping (DTW) (aggregated over time): | ||
- :func:`DTW <darts.metrics.metrics.dtw_metric>`: Dynamic Time Warping Metric | ||
""" | ||
|
||
from .metrics import ( | ||
ae, | ||
ape, | ||
arre, | ||
ase, | ||
coefficient_of_variation, | ||
dtw_metric, | ||
err, | ||
mae, | ||
mape, | ||
marre, | ||
mase, | ||
merr, | ||
mql, | ||
mse, | ||
msse, | ||
ope, | ||
quantile_loss, | ||
ql, | ||
qr, | ||
r2_score, | ||
rho_risk, | ||
rmse, | ||
rmsle, | ||
rmsse, | ||
sape, | ||
se, | ||
sle, | ||
smape, | ||
sse, | ||
) |
Oops, something went wrong.