

 Amazon Forecast 不再向新买家开放。Amazon Forecast 的现有客户可以继续照常使用该服务。[了解更多](https://aws.amazon.com/blogs/machine-learning/transition-your-amazon-forecast-usage-to-amazon-sagemaker-canvas/)

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# Statistics
<a name="API_Statistics"></a>

提供通过[CreateDatasetImportJob](https://docs.aws.amazon.com/forecast/latest/dg/API_CreateDatasetImportJob.html)操作导入到 Amazon Forecast 数据集的每个数据字段的统计数据。

## 内容
<a name="API_Statistics_Contents"></a>

 ** Avg **   <a name="forecast-Type-Statistics-Avg"></a>
数值字段中的平均值。  
类型：双精度  
必需：否

 ** Count **   <a name="forecast-Type-Statistics-Count"></a>
字段中值的数量。若响应值为 -1，则请参阅 `CountLong`。  
类型：整数  
必需：否

 ** CountDistinct **   <a name="forecast-Type-Statistics-CountDistinct"></a>
字段中独特值的数量。若响应值为 -1，则请参阅 `CountDistinctLong`。  
类型：整数  
必需：否

 ** CountDistinctLong **   <a name="forecast-Type-Statistics-CountDistinctLong"></a>
字段中独特值的数量。如果该值大于 2,147,483,647，则使用 `CountDistinctLong` 代替 `CountDistinct`。  
类型：长整型  
必需：否

 ** CountLong **   <a name="forecast-Type-Statistics-CountLong"></a>
字段中值的数量。如果该值大于 2,147,483,647，则使用 `CountLong` 代替 `Count`。  
类型：长整型  
必需：否

 ** CountNan **   <a name="forecast-Type-Statistics-CountNan"></a>
字段中 NAN（非数字）值的数量。若响应值为 -1，则请参阅 `CountNanLong`。  
类型：整数  
必需：否

 ** CountNanLong **   <a name="forecast-Type-Statistics-CountNanLong"></a>
字段中 NAN（非数字）值的数量。如果该值大于 2,147,483,647，则使用 `CountNanLong` 代替 `CountNan`。  
类型：长整型  
必需：否

 ** CountNull **   <a name="forecast-Type-Statistics-CountNull"></a>
字段中空值的数量。若响应值为 -1，则请参阅 `CountNullLong`。  
类型：整数  
必需：否

 ** CountNullLong **   <a name="forecast-Type-Statistics-CountNullLong"></a>
字段中空值的数量。 如果该值大于 2,147,483,647，则使用 `CountNullLong` 代替 `CountNull`。  
类型：长整型  
必需：否

 ** Max **   <a name="forecast-Type-Statistics-Max"></a>
数值字段中的最大值。  
类型：字符串  
长度约束：最大长度为 256。  
模式：`^[a-zA-Z0-9\_]+$`  
必需：否

 ** Min **   <a name="forecast-Type-Statistics-Min"></a>
数值字段中的最小值。  
类型：字符串  
长度约束：最大长度为 256。  
模式：`^[a-zA-Z0-9\_]+$`  
必需：否

 ** Stddev **   <a name="forecast-Type-Statistics-Stddev"></a>
数值字段的标准差。  
类型：双精度  
必需：否

## 另请参阅
<a name="API_Statistics_SeeAlso"></a>

有关以特定语言之一使用此 API 的更多信息 AWS SDKs，请参阅以下内容：
+  [AWS 适用于 C\$1\$1 的 SDK](https://docs.aws.amazon.com/goto/SdkForCpp/forecast-2018-06-26/Statistics) 
+  [AWS 适用于 Java 的 SDK V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/forecast-2018-06-26/Statistics) 
+  [AWS 适用于 Ruby V3 的 SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/forecast-2018-06-26/Statistics) 