Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDocCN
ml-mastery-zh
提交
89b3e179
M
ml-mastery-zh
项目概览
OpenDocCN
/
ml-mastery-zh
9 个月 前同步成功
通知
2
Star
556
Fork
158
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
ml-mastery-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
89b3e179
编写于
12月 15, 2021
作者:
W
wizardforcel
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
2021-12-15 21:46:05
上级
266daef4
变更
20
隐藏空白更改
内联
并排
Showing
20 changed file
with
38 addition
and
38 deletion
+38
-38
docs/dl-ts/SUMMARY.md
docs/dl-ts/SUMMARY.md
+2
-2
docs/dl-ts/machine-learning-data-transforms-for-time-series-forecasting.md
...e-learning-data-transforms-for-time-series-forecasting.md
+4
-4
docs/dl-ts/remove-trends-seasonality-difference-transform-python.md
.../remove-trends-seasonality-difference-transform-python.md
+12
-12
docs/dl-ts/seed-state-lstms-time-series-forecasting-python.md
.../dl-ts/seed-state-lstms-time-series-forecasting-python.md
+1
-1
docs/dl-ts/stateful-stateless-lstm-time-series-forecasting-python.md
...stateful-stateless-lstm-time-series-forecasting-python.md
+1
-1
docs/dl-ts/suitability-long-short-term-memory-networks-time-series-forecasting.md
...ong-short-term-memory-networks-time-series-forecasting.md
+1
-1
docs/dl-ts/taxonomy-of-time-series-forecasting-problems.md
docs/dl-ts/taxonomy-of-time-series-forecasting-problems.md
+1
-1
docs/dl-ts/time-series-forecasting-long-short-term-memory-network-python.md
...ries-forecasting-long-short-term-memory-network-python.md
+1
-1
docs/dl-ts/time-series-prediction-lstm-recurrent-neural-networks-python-keras.md
...prediction-lstm-recurrent-neural-networks-python-keras.md
+1
-1
docs/dl-ts/time-series-prediction-with-deep-learning-in-python-with-keras.md
...ies-prediction-with-deep-learning-in-python-with-keras.md
+1
-1
docs/dl-ts/tune-lstm-hyperparameters-keras-time-series-forecasting.md
...une-lstm-hyperparameters-keras-time-series-forecasting.md
+1
-1
docs/dl-ts/use-dropout-lstm-networks-time-series-forecasting.md
...l-ts/use-dropout-lstm-networks-time-series-forecasting.md
+1
-1
docs/dl-ts/use-features-lstm-networks-time-series-forecasting.md
...-ts/use-features-lstm-networks-time-series-forecasting.md
+1
-1
docs/dl-ts/use-timesteps-lstm-networks-time-series-forecasting.md
...ts/use-timesteps-lstm-networks-time-series-forecasting.md
+1
-1
docs/dl-ts/use-weight-regularization-lstm-networks-time-series-forecasting.md
...t-regularization-lstm-networks-time-series-forecasting.md
+1
-1
docs/lstm/SUMMARY.md
docs/lstm/SUMMARY.md
+3
-3
docs/lstm/attention-long-short-term-memory-recurrent-neural-networks.md
...ntion-long-short-term-memory-recurrent-neural-networks.md
+1
-1
docs/lstm/handle-long-sequences-long-short-term-memory-recurrent-neural-networks.md
...ences-long-short-term-memory-recurrent-neural-networks.md
+1
-1
docs/lstm/learn-echo-random-integers-long-short-term-memory-recurrent-neural-networks.md
...egers-long-short-term-memory-recurrent-neural-networks.md
+1
-1
docs/ts-intro/difference-time-series-dataset-python.md
docs/ts-intro/difference-time-series-dataset-python.md
+2
-2
未找到文件。
docs/dl-ts/SUMMARY.md
浏览文件 @
89b3e179
...
...
@@ -42,10 +42,10 @@
+
[
如何开发和评估朴素的家庭用电量预测方法
](
naive-methods-for-forecasting-household-electricity-consumption.md
)
+
[
如何为长短期记忆网络准备单变量时间序列数据
](
prepare-univariate-time-series-data-long-short-term-memory-networks.md
)
+
[
循环神经网络在时间序列预测中的应用
](
promise-recurrent-neural-networks-time-series-forecasting.md
)
+
[
如何在 Python 中使用差
异
变换删除趋势和季节性
](
remove-trends-seasonality-difference-transform-python.md
)
+
[
如何在 Python 中使用差
分
变换删除趋势和季节性
](
remove-trends-seasonality-difference-transform-python.md
)
+
[
如何在 LSTM 中种子状态用于 Python 中的时间序列预测
](
seed-state-lstms-time-series-forecasting-python.md
)
+
[
使用 Python 进行时间序列预测的有状态和无状态 LSTM
](
stateful-stateless-lstm-time-series-forecasting-python.md
)
+
[
长短
时
记忆网络在时间序列预测中的适用性
](
suitability-long-short-term-memory-networks-time-series-forecasting.md
)
+
[
长短
期
记忆网络在时间序列预测中的适用性
](
suitability-long-short-term-memory-networks-time-series-forecasting.md
)
+
[
时间序列预测问题的分类
](
taxonomy-of-time-series-forecasting-problems.md
)
+
[
Python 中长短期记忆网络的时间序列预测
](
time-series-forecasting-long-short-term-memory-network-python.md
)
+
[
基于 Keras 的 Python 中 LSTM 循环神经网络的时间序列预测
](
time-series-prediction-lstm-recurrent-neural-networks-python-keras.md
)
...
...
docs/dl-ts/machine-learning-data-transforms-for-time-series-forecasting.md
浏览文件 @
89b3e179
...
...
@@ -38,7 +38,7 @@
他们是:
*
电力转换
*
差
异
变换
*
差
分
变换
*
标准化
*
正常化
...
...
@@ -119,7 +119,7 @@ print(inverted)
[
1.0
,
2.0
,
2.9999999999999996
,
3.999999999999999
,
5.000000000000001
,
6.000000000000001
,
6.999999999999999
,
7.999999999999998
,
8.999999999999998
]
```
### 差
异
变换
### 差
分
变换
差分变换是从时间序列中去除系统结构的简单方法。
...
...
@@ -167,7 +167,7 @@ inverted = invert_difference(data, transformed, 1)
print
(
inverted
)
```
运行该示例将打印原始数据集,差
异
变换的结果以及转换后的原始值。
运行该示例将打印原始数据集,差
分
变换的结果以及转换后的原始值。
注意,变换后序列中的第一个“间隔”值将丢失。这是因为它们在“间隔”之前的时间步长没有值,因此无法区分。
...
...
@@ -369,7 +369,7 @@ print(inverted)
### 帖子
*
[
如何使用 Python 进行时间序列预测数据的电源转换
](
https://machinelearningmastery.com/power-transform-time-series-forecast-data-python/
)
*
[
如何使用 Python 中的差
异
变换删除趋势和季节性
](
https://machinelearningmastery.com/remove-trends-seasonality-difference-transform-python/
)
*
[
如何使用 Python 中的差
分
变换删除趋势和季节性
](
https://machinelearningmastery.com/remove-trends-seasonality-difference-transform-python/
)
*
[
如何区分时间序列数据集与 Python
](
https://machinelearningmastery.com/difference-time-series-dataset-python/
)
*
[
如何在 Python 中标准化和标准化时间序列数据
](
https://machinelearningmastery.com/normalize-standardize-time-series-data-python/
)
...
...
docs/dl-ts/remove-trends-seasonality-difference-transform-python.md
浏览文件 @
89b3e179
# 如何在 Python 中使用差
异
变换删除趋势和季节性
# 如何在 Python 中使用差
分
变换删除趋势和季节性
> 原文: [https://machinelearningmastery.com/remove-trends-seasonality-difference-transform-python/](https://machinelearningmastery.com/remove-trends-seasonality-difference-transform-python/)
...
...
@@ -13,14 +13,14 @@
完成本教程后,您将了解:
*
静止和非静止时间序列之间的对比以及如何使用差分变换使一系列静止。
*
如何应用差
异
变换从系列中删除线性趋势。
*
如何应用差
异
变换从系列中删除季节性信号。
*
如何应用差
分
变换从系列中删除线性趋势。
*
如何应用差
分
变换从系列中删除季节性信号。
让我们开始吧。
![
How to Remove Trends and Seasonality with a Difference Transform in Python
](
img/d7d2d16af4ae339a9737e0115e69b418.jpg
)
如何使用 Python 中的差
异
变换删除趋势和季节性
如何使用 Python 中的差
分
变换删除趋势和季节性
照片由
[
NOAA
](
https://www.flickr.com/photos/noaaphotolib/5015132522/
)
,保留一些权利。
## 教程概述
...
...
@@ -28,7 +28,7 @@
本教程分为 4 个部分;他们是:
1.
平稳
2.
差
异
变换
2.
差
分
变换
3.
差异化去除趋势
4.
区别于删除季节性
...
...
@@ -78,7 +78,7 @@
统计时间序列方法甚至现代机器学习方法将受益于数据中更清晰的信号。
## 差
异
变换
## 差
分
变换
差分是一种转换时间序列数据集的方法。
...
...
@@ -152,7 +152,7 @@ def inverse_difference(last_ob, value):
## 差异化去除趋势
在本节中,我们将介绍使用差
异
变换来移除趋势。
在本节中,我们将介绍使用差
分
变换来移除趋势。
趋势通过提高水平使时间序列非静止。这具有随时间改变平均时间序列值的效果。
...
...
@@ -194,7 +194,7 @@ print(inverted)
## 区别于删除季节性
在本节中,我们将介绍使用差
异
变换来消除季节性。
在本节中,我们将介绍使用差
分
变换来消除季节性。
季节性变化或季节性是随着时间的推移而定期重复的循环。
...
...
@@ -245,7 +245,7 @@ pyplot.show()
人工数据集的线图
接下来,应用差
异
变换并绘制结果。该图显示了 360 个零值,并删除了所有季节性信号。
接下来,应用差
分
变换并绘制结果。该图显示了 360 个零值,并删除了所有季节性信号。
在上面的去趋势示例中,差值应用滞后为 1,这意味着牺牲了第一个值。这里整个周期用于差分,即 360 个时间步长。结果是牺牲整个第一循环以区分第二循环。
...
...
@@ -270,13 +270,13 @@ pyplot.show()
## 摘要
在本教程中,您发现了静态和非平稳时间序列之间的区别,以及如何使用差
异
变换来消除 Python 的趋势和季节性。
在本教程中,您发现了静态和非平稳时间序列之间的区别,以及如何使用差
分
变换来消除 Python 的趋势和季节性。
具体来说,你学到了:
*
静止和非静止时间序列之间的对比以及如何使用差分变换使一系列静止。
*
如何应用差
异
变换从系列中删除线性趋势。
*
如何应用差
异
变换从系列中删除季节性信号。
*
如何应用差
分
变换从系列中删除线性趋势。
*
如何应用差
分
变换从系列中删除季节性信号。
你对使时间序列固定有任何疑问吗?
在评论中提出您的问题,我会尽力回答。
\ No newline at end of file
docs/dl-ts/seed-state-lstms-time-series-forecasting-python.md
浏览文件 @
89b3e179
# 如何在
LSTM 中种子状态用于 Python 中的时间序列预测
# 如何在
Python 和 LSTM 中为时间序列预测播种状态
> 原文: [https://machinelearningmastery.com/seed-state-lstms-time-series-forecasting-python/](https://machinelearningmastery.com/seed-state-lstms-time-series-forecasting-python/)
...
...
docs/dl-ts/stateful-stateless-lstm-time-series-forecasting-python.md
浏览文件 @
89b3e179
# 使用 Python
进行
时间序列预测的有状态和无状态 LSTM
# 使用 Python
用于
时间序列预测的有状态和无状态 LSTM
> 原文: [https://machinelearningmastery.com/stateful-stateless-lstm-time-series-forecasting-python/](https://machinelearningmastery.com/stateful-stateless-lstm-time-series-forecasting-python/)
...
...
docs/dl-ts/suitability-long-short-term-memory-networks-time-series-forecasting.md
浏览文件 @
89b3e179
# 长短
时
记忆网络在时间序列预测中的适用性
# 长短
期
记忆网络在时间序列预测中的适用性
> 原文: [https://machinelearningmastery.com/suitability-long-short-term-memory-networks-time-series-forecasting/](https://machinelearningmastery.com/suitability-long-short-term-memory-networks-time-series-forecasting/)
...
...
docs/dl-ts/taxonomy-of-time-series-forecasting-problems.md
浏览文件 @
89b3e179
# 时间序列预测问题的分类
# 时间序列预测问题的分类
系统
> 原文: [https://machinelearningmastery.com/taxonomy-of-time-series-forecasting-problems/](https://machinelearningmastery.com/taxonomy-of-time-series-forecasting-problems/)
...
...
docs/dl-ts/time-series-forecasting-long-short-term-memory-network-python.md
浏览文件 @
89b3e179
# Python 中长短期记忆网络的时间序列预测
# Python 中
使用
长短期记忆网络的时间序列预测
> 原文: [https://machinelearningmastery.com/time-series-forecasting-long-short-term-memory-network-python/](https://machinelearningmastery.com/time-series-forecasting-long-short-term-memory-network-python/)
...
...
docs/dl-ts/time-series-prediction-lstm-recurrent-neural-networks-python-keras.md
浏览文件 @
89b3e179
# 基于
Keras 的 Python 中
LSTM 循环神经网络的时间序列预测
# 基于
Python 和 Keras 的使用
LSTM 循环神经网络的时间序列预测
> 原文: [https://machinelearningmastery.com/time-series-prediction-lstm-recurrent-neural-networks-python-keras/](https://machinelearningmastery.com/time-series-prediction-lstm-recurrent-neural-networks-python-keras/)
...
...
docs/dl-ts/time-series-prediction-with-deep-learning-in-python-with-keras.md
浏览文件 @
89b3e179
# Keras 中深度学习的时间序列预测
# Keras 中
使用
深度学习的时间序列预测
> 原文: [https://machinelearningmastery.com/time-series-prediction-with-deep-learning-in-python-with-keras/](https://machinelearningmastery.com/time-series-prediction-with-deep-learning-in-python-with-keras/)
...
...
docs/dl-ts/tune-lstm-hyperparameters-keras-time-series-forecasting.md
浏览文件 @
89b3e179
# 如何用 Keras
调整 LSTM 超参数进行时间序列预测
# 如何用 Keras
为时间序列预测调整 LSTM 超参数
> 原文: [https://machinelearningmastery.com/tune-lstm-hyperparameters-keras-time-series-forecasting/](https://machinelearningmastery.com/tune-lstm-hyperparameters-keras-time-series-forecasting/)
...
...
docs/dl-ts/use-dropout-lstm-networks-time-series-forecasting.md
浏览文件 @
89b3e179
# 如何
使用 LSTM 网络的 Dropout 进行时间序列预测
# 如何
为时间序列预测使用 LSTM 网络的丢弃法
> 原文: [https://machinelearningmastery.com/use-dropout-lstm-networks-time-series-forecasting/](https://machinelearningmastery.com/use-dropout-lstm-networks-time-series-forecasting/)
...
...
docs/dl-ts/use-features-lstm-networks-time-series-forecasting.md
浏览文件 @
89b3e179
# 如何
使用 LSTM 网络中的特征进行时间序列预测
# 如何
为时间序列预测使用 LSTM 网络中的特征
> 原文: [https://machinelearningmastery.com/use-features-lstm-networks-time-series-forecasting/](https://machinelearningmastery.com/use-features-lstm-networks-time-series-forecasting/)
...
...
docs/dl-ts/use-timesteps-lstm-networks-time-series-forecasting.md
浏览文件 @
89b3e179
# 如何
在 LSTM 网络中使用时间序列进行
时间序列预测
# 如何
将 LSTM 网络用于
时间序列预测
> 原文: [https://machinelearningmastery.com/use-timesteps-lstm-networks-time-series-forecasting/](https://machinelearningmastery.com/use-timesteps-lstm-networks-time-series-forecasting/)
...
...
docs/dl-ts/use-weight-regularization-lstm-networks-time-series-forecasting.md
浏览文件 @
89b3e179
# 如何
利用 LSTM 网络进行权重正则化进行时间序列预测
# 如何
为时间序列预测使用 LSTM 网络的权重正则化
> 原文: [https://machinelearningmastery.com/use-weight-regularization-lstm-networks-time-series-forecasting/](https://machinelearningmastery.com/use-weight-regularization-lstm-networks-time-series-forecasting/)
...
...
docs/lstm/SUMMARY.md
浏览文件 @
89b3e179
+
[
Machine Learning Mastery LSTM 教程
](
README.md
)
+
[
Keras中长短期记忆模型的5步生命周期
](
5-step-life-cycle-long-short-term-memory-models-keras.md
)
+
[
长短
时
记忆循环神经网络的注意事项
](
attention-long-short-term-memory-recurrent-neural-networks.md
)
+
[
长短
期
记忆循环神经网络的注意事项
](
attention-long-short-term-memory-recurrent-neural-networks.md
)
+
[
CNN长短期记忆网络
](
cnn-long-short-term-memory-networks.md
)
+
[
逆向神经网络中的深度学习速成课程
](
crash-course-recurrent-neural-networks-deep-learning.md
)
+
[
可变长度输入序列的数据准备
](
data-preparation-variable-length-input-sequences-sequence-prediction.md
)
...
...
@@ -15,12 +15,12 @@
+
[
专家对长短期记忆网络的简要介绍
](
gentle-introduction-long-short-term-memory-networks-experts.md
)
+
[
在序列预测问题上充分利用LSTM
](
get-the-most-out-of-lstms.md
)
+
[
编辑器 - 解码器循环神经网络全局注意的温和介绍
](
global-attention-for-encoder-decoder-recurrent-neural-networks.md
)
+
[
如何利用长短
时
记忆循环神经网络处理很长的序列
](
handle-long-sequences-long-short-term-memory-recurrent-neural-networks.md
)
+
[
如何利用长短
期
记忆循环神经网络处理很长的序列
](
handle-long-sequences-long-short-term-memory-recurrent-neural-networks.md
)
+
[
如何在Python中对一个热编码序列数据
](
how-to-one-hot-encode-sequence-data-in-python.md
)
+
[
如何使用编解码器LSTM来回显随机整数序列
](
how-to-use-an-encoder-decoder-lstm-to-echo-sequences-of-random-integers.md
)
+
[
具有注意力的编解码器RNN架构的实现模式
](
implementation-patterns-encoder-decoder-rnn-architecture-attention.md
)
+
[
学习使用编码器解码器LSTM循环神经网络添加数字
](
learn-add-numbers-seq2seq-recurrent-neural-networks.md
)
+
[
如何学习长短
时
记忆循环神经网络回声随机整数
](
learn-echo-random-integers-long-short-term-memory-recurrent-neural-networks.md
)
+
[
如何学习长短
期
记忆循环神经网络回声随机整数
](
learn-echo-random-integers-long-short-term-memory-recurrent-neural-networks.md
)
+
[
具有Keras的长短期记忆循环神经网络的迷你课程
](
long-short-term-memory-recurrent-neural-networks-mini-course.md
)
+
[
LSTM自动编码器的温和介绍
](
lstm-autoencoders.md
)
+
[
如何用Keras中的长短期记忆模型做出预测
](
make-predictions-long-short-term-memory-models-keras.md
)
...
...
docs/lstm/attention-long-short-term-memory-recurrent-neural-networks.md
浏览文件 @
89b3e179
# 长短
时
记忆循环神经网络的注意事项
# 长短
期
记忆循环神经网络的注意事项
> 原文: [https://machinelearningmastery.com/attention-long-short-term-memory-recurrent-neural-networks/](https://machinelearningmastery.com/attention-long-short-term-memory-recurrent-neural-networks/)
...
...
docs/lstm/handle-long-sequences-long-short-term-memory-recurrent-neural-networks.md
浏览文件 @
89b3e179
# 如何利用长短
时
记忆循环神经网络处理很长的序列
# 如何利用长短
期
记忆循环神经网络处理很长的序列
> 原文: [https://machinelearningmastery.com/handle-long-sequences-long-short-term-memory-recurrent-neural-networks/](https://machinelearningmastery.com/handle-long-sequences-long-short-term-memory-recurrent-neural-networks/)
...
...
docs/lstm/learn-echo-random-integers-long-short-term-memory-recurrent-neural-networks.md
浏览文件 @
89b3e179
# 如何学习长短
时
记忆循环神经网络回声随机整数
# 如何学习长短
期
记忆循环神经网络回声随机整数
> 原文: [https://machinelearningmastery.com/learn-echo-random-integers-long-short-term-memory-recurrent-neural-networks/](https://machinelearningmastery.com/learn-echo-random-integers-long-short-term-memory-recurrent-neural-networks/)
...
...
docs/ts-intro/difference-time-series-dataset-python.md
浏览文件 @
89b3e179
...
...
@@ -175,8 +175,8 @@ pyplot.show()
具体来说,你学到了:
*
关于差异操作,包括滞后和顺序的配置。
*
如何手动实现差
异
变换。
*
如何使用内置的 Pandas 实现差
异
变换。
*
如何手动实现差
分
变换。
*
如何使用内置的 Pandas 实现差
分
变换。
您对差异或此帖有任何疑问吗?
在下面的评论中提出您的问题。
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录