跳转到主要内容
Ctrl+K
pytorch-forecasting  documentation - Home pytorch-forecasting  documentation - Home
  • 开始
  • 教程
  • 数据
  • 模型
  • 指标
  • 常见问题
  • 安装
  • API
  • 发布说明
  • GitHub
  • GitHub
Ctrl+K
  • 开始
  • 教程
  • 数据
  • 模型
  • 指标
  • 常见问题
  • 安装
  • API
  • 发布说明
  • GitHub
  • GitHub
Ctrl+K

章节导航

  • 编码器归一化器
  • 组归一化器
  • 多重归一化器
  • NaNLabelEncoder
  • 时间序列数据集
  • 分布损失
  • 多视角指标
  • 多损失
  • BetaDistributionLoss
  • ImplicitQuantileNetworkDistributionLoss
  • 对数正态分布损失
  • MQF2DistributionLoss
  • MultivariateNormalDistributionLoss
  • 负二项分布损失
  • 正态分布损失
  • 交叉熵
  • 平均绝对误差(MAE)
  • 平均绝对百分比误差 (MAPE)
  • 均方绝对误差(MASE)
  • 泊松损失
  • 均方根误差
  • SMAPE
  • 分位数损失
  • 自回归基础模型
  • 带协变量的自回归基本模型
  • 基础模型
  • 带协变量的基本模型
  • 基线
  • DeepAR
  • 解码器MLP
  • NBeats
  • NHiTS
  • 多重嵌入
  • GRU
  • LSTM
  • get_rnn
  • 循环网络
  • 时间融合变压器
  • TiDEModel
  • show_versions
  • apply_to_list
  • 自相关
  • create_mask
  • 分离
  • get_embedding_size
  • 按组应用
  • integer_histogram
  • move_to_device
  • 个人资料
  • to_list
  • unpack_sequence
  • 开始使用
  • 自相关

自相关#

pytorch_forecasting.utils._utils.autocorrelation(input, dim=0)[来源]#

计算在维度 dim 的样本的自相关。

参考: https://en.wikipedia.org/wiki/Autocorrelation#Efficient_computation

实现复制自 pyro。

Parameters:
  • 输入 (torch.Tensor) – 输入张量。

  • dim (int) – 计算自相关的维度。

Returns torch.Tensor:

输入的自相关。

之前

apply_to_list

下一个

create_mask

On this page
  • autocorrelation()

此页面

  • 显示源代码

© 版权 2020, Jan Beitner.

使用 Sphinx 8.1.3 创建。

Built with the PyData Sphinx Theme 0.16.1.