Skip to content

Commit b9c0364

Browse files
committed
changes from Abe
1 parent 61e4ba5 commit b9c0364

File tree

1 file changed

+37
-5
lines changed

1 file changed

+37
-5
lines changed

articles/machine-learning/how-to-run-jupyter-notebooks.md

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,18 +125,50 @@ These actions will not change the notebook state or the values of any variables
125125
|Action |Result |
126126
|---------|---------| --------|
127127
|Stop the kernel | Stops any running cell. Running a cell will automatically restart the kernel. |
128-
|Navigate to another workspace section | Running cells are stopped. |
128+
|Navigate to another workspace section | Running cells are stopped. |
129129

130-
These actions will reset the notebook state as well as all variables in the notebook:
130+
These actions will reset the notebook state as well as all variables in the notebook.
131131

132132
|Action |Result |
133133
|---------|---------| --------|
134134
| Change the kernel | Notebook uses new kernel |
135135
| Switch compute | Notebook automatically uses the new compute. |
136-
| Reset compute | Starts again when you try to run a cell |
137-
| Stop compute | No cells will run |
138-
| Open notebook in Jupyter or JupyterLab | Notebook opened in a new tab. |
136+
| Reset compute | Starts again when you try to run a cell |
137+
| Stop compute | No cells will run |
138+
| Open notebook in Jupyter or JupyterLab | Notebook opened in a new tab. |
139139

140+
A dot next to the **Compute** dropdown shows its status. The status is also shown in the dropdown itself.
141+
142+
|Color |Compute status |
143+
|---------|---------|
144+
| Green | Compute running |
145+
| Red |Compute failed |
146+
| Black | Compute stopped |
147+
| Light Blue |Compute creating, starting, restarting, setting Up |
148+
| Gray |Compute deleting, stopping |
149+
150+
A dot next to the **Kernel** dropdown shows its status.
151+
152+
|Color |Kernel status |
153+
|---------|---------|
154+
| Green |Kernel connected, idle, busy|
155+
| Gray |Kernel not connected |
156+
157+
### Add new kernels
158+
159+
The Notebook will automatically find all Jupyter kernels installed on the connected compute instance. To add a kernel to the compute instance:
160+
161+
1. Select **Terminal** in the Notebook toolbar.
162+
1. Use the terminal window.
163+
1. Create a new environment.
164+
1. Activate the environment. For example, after creating `newenv`:
165+
166+
```shell
167+
source activate newenv
168+
python -m ipykernel install --user --name newenv --display-name "Python (newenv)"
169+
```
170+
171+
Any of the [available Jupyter Kernels](https://github.com/jupyter/jupyter/wiki/Jupyter-kernels) can be installed.
140172

141173
## Find compute details
142174

0 commit comments

Comments
 (0)