This commit is contained in:
Chenhui Hu 2020-03-27 14:17:12 -04:00 коммит произвёл GitHub
Родитель c965fdcc40
Коммит 59508a2279
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -1123,7 +1123,15 @@
"- we define a function to run an ARIMA model on a single brand and single store. To turn this function into a function that can be executed remotely, we declare the function with the ` @ray.remote` decorator.\n",
"- `ray.get()` collects the results, and `ray.shutdown()` will stop Ray.\n",
"\n",
"It will take around 2.5 minutes to run the below cell on a machine with 4 cores and about 1.6 minutes on a machine with 6 cores, respectively. If you would like to further reduce the run time, you can run the below code on a subset of stores, by setting the `STORE_SUBSET` parameter to `True` in the *Parameters* section on top. This will limit the modeling to the first 20 stores."
"It will take around 2.5 minutes to run the below cell on a machine with 4 cores and about 1.6 minutes on a machine with 6 cores, respectively. If you would like to further reduce the run time, you can run the below code on a subset of stores, by setting the `STORE_SUBSET` parameter to `True` in the *Parameters* section on top. This will limit the modeling to the first 20 stores.\n",
"\n",
"After Ray is initialized, you can monitor its resource utilization from [Ray dashboard](https://ray.readthedocs.io/en/latest/ray-dashboard.html). After running the following cell, you will see the URL of the dashboard like `'webui_url': 'localhost:8265'` in the printed address information. The default port of the Ray dashboard is 8265. If this port is taken, it will be launched from another port. You can directly access the dashboard through a web browser if you use a local machine. If you work with a remote VM, please do a port forwarding by executing\n",
"```\n",
"ssh -L 8265:localhost:8265 <user-name>@<ip-address-of-the-vm>\n",
"```\n",
"on your local machine before accessing the dashboard locally. Below is a snapshot of the Ray dashboard during a previous run of the notebook.\n",
"\n",
"<img src=\"https://user-images.githubusercontent.com/20047467/77698387-e8304600-6f86-11ea-9b47-f456cc898c78.png\">"
]
},
{