mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-07-05 20:32:43 +08:00
update README
This commit is contained in:
committed by
GitHub Enterprise
parent
88b6709b47
commit
e017536973
@@ -39,7 +39,7 @@ plt.grid(which='both')
|
||||
plt.show()
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
We can now prepare a training dataset for our model to train on. Datasets are essentially iterable collections of dictionaries: each dictionary represents a time series with possibly associated features. For this example, we only have one entry, specified by the `"start"` field which is the timestamp of the first data point, and the `"target"` field containing time series data. For training, we will use data up to midnight on April 5th, 2015.
|
||||
@@ -98,7 +98,7 @@ for test_entry, forecast in zip(test_data, predictor.predict(test_data)):
|
||||
plt.grid(which='both')
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
Note that the forecast is displayed in terms of a probability distribution: the shaded areas represent the 50% and 90% prediction intervals, respectively, centered around the median (dark green line).
|
||||
|
||||
Reference in New Issue
Block a user