Skip to content

Commit 479d938

Browse files
author
AWS
committed
Amazon Forecast Service Update: Predictor creation now supports selecting an accuracy metric to optimize in AutoML and hyperparameter optimization. This release adds additional accuracy metrics for predictors - AverageWeightedQuantileLoss, MAPE and MASE.
1 parent 36e7d24 commit 479d938

File tree

2 files changed

+45
-5
lines changed

2 files changed

+45
-5
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Forecast Service",
4+
"contributor": "",
5+
"description": "Predictor creation now supports selecting an accuracy metric to optimize in AutoML and hyperparameter optimization. This release adds additional accuracy metrics for predictors - AverageWeightedQuantileLoss, MAPE and MASE."
6+
}

services/forecast/src/main/resources/codegen-resources/service-2.json

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@
896896
},
897897
"AutoMLOverrideStrategy":{
898898
"shape":"AutoMLOverrideStrategy",
899-
"documentation":"<p>Used to overide the default AutoML strategy, which is to optimize predictor accuracy. To apply an AutoML strategy that minimizes training time, use <code>LatencyOptimized</code>.</p> <p>This parameter is only valid for predictors trained using AutoML.</p>"
899+
"documentation":"<note> <p> The <code>LatencyOptimized</code> AutoML override strategy is only available in private beta. Contact AWS Support or your account manager to learn more about access privileges. </p> </note> <p>Used to overide the default AutoML strategy, which is to optimize predictor accuracy. To apply an AutoML strategy that minimizes training time, use <code>LatencyOptimized</code>.</p> <p>This parameter is only valid for predictors trained using AutoML.</p>"
900900
},
901901
"PerformHPO":{
902902
"shape":"Boolean",
@@ -929,6 +929,10 @@
929929
"Tags":{
930930
"shape":"Tags",
931931
"documentation":"<p>The optional metadata that you apply to the predictor to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.</p> <p>The following basic restrictions apply to tags:</p> <ul> <li> <p>Maximum number of tags per resource - 50.</p> </li> <li> <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p> </li> <li> <p>Maximum key length - 128 Unicode characters in UTF-8.</p> </li> <li> <p>Maximum value length - 256 Unicode characters in UTF-8.</p> </li> <li> <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p> </li> <li> <p>Tag keys and values are case sensitive.</p> </li> <li> <p>Do not use <code>aws:</code>, <code>AWS:</code>, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has <code>aws</code> as its prefix but the key does not, then Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of <code>aws</code> do not count against your tags per resource limit.</p> </li> </ul>"
932+
},
933+
"OptimizationMetric":{
934+
"shape":"OptimizationMetric",
935+
"documentation":"<p>The accuracy metric used to optimize the predictor.</p>"
932936
}
933937
}
934938
},
@@ -1507,7 +1511,7 @@
15071511
},
15081512
"AutoMLOverrideStrategy":{
15091513
"shape":"AutoMLOverrideStrategy",
1510-
"documentation":"<p>The AutoML strategy used to train the predictor. Unless <code>LatencyOptimized</code> is specified, the AutoML strategy optimizes predictor accuracy.</p> <p>This parameter is only valid for predictors trained using AutoML.</p>"
1514+
"documentation":"<note> <p> The <code>LatencyOptimized</code> AutoML override strategy is only available in private beta. Contact AWS Support or your account manager to learn more about access privileges. </p> </note> <p>The AutoML strategy used to train the predictor. Unless <code>LatencyOptimized</code> is specified, the AutoML strategy optimizes predictor accuracy.</p> <p>This parameter is only valid for predictors trained using AutoML.</p>"
15111515
},
15121516
"PerformHPO":{
15131517
"shape":"Boolean",
@@ -1568,6 +1572,10 @@
15681572
"LastModificationTime":{
15691573
"shape":"Timestamp",
15701574
"documentation":"<p>The last time the resource was modified. The timestamp depends on the status of the job:</p> <ul> <li> <p> <code>CREATE_PENDING</code> - The <code>CreationTime</code>.</p> </li> <li> <p> <code>CREATE_IN_PROGRESS</code> - The current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPING</code> - The current timestamp.</p> </li> <li> <p> <code>CREATE_STOPPED</code> - When the job stopped.</p> </li> <li> <p> <code>ACTIVE</code> or <code>CREATE_FAILED</code> - When the job finished or failed.</p> </li> </ul>"
1575+
},
1576+
"OptimizationMetric":{
1577+
"shape":"OptimizationMetric",
1578+
"documentation":"<p>The accuracy metric used to optimize the predictor.</p>"
15711579
}
15721580
}
15731581
},
@@ -1608,7 +1616,7 @@
16081616
"members":{
16091617
"ForecastType":{
16101618
"shape":"ForecastType",
1611-
"documentation":"<p> The Forecast type used to compute WAPE and RMSE. </p>"
1619+
"documentation":"<p> The Forecast type used to compute WAPE, MAPE, MASE, and RMSE. </p>"
16121620
},
16131621
"WAPE":{
16141622
"shape":"Double",
@@ -1617,6 +1625,14 @@
16171625
"RMSE":{
16181626
"shape":"Double",
16191627
"documentation":"<p> The root-mean-square error (RMSE). </p>"
1628+
},
1629+
"MASE":{
1630+
"shape":"Double",
1631+
"documentation":"<p>The Mean Absolute Scaled Error (MASE)</p>"
1632+
},
1633+
"MAPE":{
1634+
"shape":"Double",
1635+
"documentation":"<p>The Mean Absolute Percentage Error (MAPE)</p>"
16201636
}
16211637
},
16221638
"documentation":"<p> Provides detailed error metrics to evaluate the performance of a predictor. This object is part of the <a>Metrics</a> object. </p>"
@@ -1895,7 +1911,11 @@
18951911
},
18961912
"AutoMLOverrideStrategy":{
18971913
"shape":"AutoMLOverrideStrategy",
1898-
"documentation":"<p>The AutoML strategy used to train the predictor. Unless <code>LatencyOptimized</code> is specified, the AutoML strategy optimizes predictor accuracy.</p> <p>This parameter is only valid for predictors trained using AutoML.</p>"
1914+
"documentation":"<note> <p> The <code>LatencyOptimized</code> AutoML override strategy is only available in private beta. Contact AWS Support or your account manager to learn more about access privileges. </p> </note> <p>The AutoML strategy used to train the predictor. Unless <code>LatencyOptimized</code> is specified, the AutoML strategy optimizes predictor accuracy.</p> <p>This parameter is only valid for predictors trained using AutoML.</p>"
1915+
},
1916+
"OptimizationMetric":{
1917+
"shape":"OptimizationMetric",
1918+
"documentation":"<p>The accuracy metric used to optimize the predictor.</p>"
18991919
}
19001920
}
19011921
},
@@ -2230,7 +2250,11 @@
22302250
},
22312251
"ErrorMetrics":{
22322252
"shape":"ErrorMetrics",
2233-
"documentation":"<p> Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average percentage error (WAPE). </p>"
2253+
"documentation":"<p> Provides detailed error metrics for each forecast type. Metrics include root-mean square-error (RMSE), mean absolute percentage error (MAPE), mean absolute scaled error (MASE), and weighted average percentage error (WAPE). </p>"
2254+
},
2255+
"AverageWeightedQuantileLoss":{
2256+
"shape":"Double",
2257+
"documentation":"<p>The average value of all weighted quantile losses.</p>"
22342258
}
22352259
},
22362260
"documentation":"<p>Provides metrics that are used to evaluate the performance of a predictor. This object is part of the <a>WindowSummary</a> object.</p>"
@@ -2246,6 +2270,16 @@
22462270
"max":3000,
22472271
"min":1
22482272
},
2273+
"OptimizationMetric":{
2274+
"type":"string",
2275+
"enum":[
2276+
"WAPE",
2277+
"RMSE",
2278+
"AverageWeightedQuantileLoss",
2279+
"MASE",
2280+
"MAPE"
2281+
]
2282+
},
22492283
"ParameterKey":{
22502284
"type":"string",
22512285
"max":256,

0 commit comments

Comments
 (0)