mirror of
https://github.com/wassname/Volt.git
synced 2026-09-11 12:00:34 +08:00
25 lines
593 B
Markdown
25 lines
593 B
Markdown
|
|
|
|
To source the data first walk through the `make_wind_dataset` notebook.
|
|
|
|
To generate forecasts for a station then run
|
|
|
|
|
|
```{bash}
|
|
python GPGenerator.py
|
|
--kernel={volt, sm, matern} ## kernel choice
|
|
--stn_idx=0 ## station index in the dataset
|
|
--mean={ewma, constant} ## mean choice
|
|
--ntrain=400 ## training window
|
|
--n_test_times=100 ## number of test time points
|
|
```
|
|
|
|
```sh
|
|
# note test_tickers0, resolves to `data/test_tickers0.txt`
|
|
python ForecastGenerator.py \
|
|
--ticker_fname test_tickers0 --end_date
|
|
python LSTMGenerator.py \
|
|
--ticker_fname test_tickers0
|
|
|
|
```
|