- Machine Learning for Cybersecurity Cookbook
- Emmanuel Tsukerman
- 278字
- 2021-06-24 12:28:59
How it works...
In the first step, we generate a simple toy time series. The series consists of values on a line sprinkled with some added noise. Next, we plot our time series in step 2. You can see that it is very close to a straight line and that a sensible prediction for the value of the time series at time is
. To create a forecast of the value of the time series, we consider three different schemes (step 3) for predicting the future values of the time series. In an autoregressive model, the basic idea is that the value of the time series at time t is a linear function of the values of the time series at the previous times. More precisely, there are some constants,
, and a number,
, such that:

As a hypothetical example, may be 3, meaning that the value of the time series can be easily computed from knowing its last 3 values.
In the moving-average model, the time series is modeled as fluctuating about a mean. More precisely, let be a sequence of i.i.d normal variables and let
be a constant. Then, the time series is modeled by the following formula:

For that reason, it performs poorly in predicting the noisy linear time series we have generated.
Finally, in simple exponential smoothing, we propose a smoothing parameter, . Then, our model's estimate,
, is computed from the following equations:


In other words, we keep track of an estimate, , and adjust it slightly using the current time series value,
. How strongly the adjustment is made is regulated by the
parameter.
- GNU-Linux Rapid Embedded Programming
- ABB工業機器人編程全集
- 高性能混合信號ARM:ADuC7xxx原理與應用開發
- MCSA Windows Server 2016 Certification Guide:Exam 70-741
- Mastering Game Development with Unreal Engine 4(Second Edition)
- 網中之我:何明升網絡社會論稿
- 智能生產線的重構方法
- TensorFlow Reinforcement Learning Quick Start Guide
- 氣動系統裝調與PLC控制
- 軟件構件技術
- Artificial Intelligence By Example
- SQL Server數據庫應用基礎(第2版)
- 生物3D打印:從醫療輔具制造到細胞打印
- 貫通開源Web圖形與報表技術全集
- Mastering Predictive Analytics with scikit:learn and TensorFlow