|
1 |
| -# Notebook Tutorials |
| 1 | +# AI Platform Notebooks |
2 | 2 |
|
3 |
| -This directory contains Jupyter notebook tutorials for Google Cloud Platform. |
4 |
| -The tutorials assume you have performed the following steps: |
| 3 | +[AI Platform Notebooks](https://cloud.google.com/ai-platform-notebooks) |
| 4 | +is a managed service that offers an integrated and secure JupyterLab |
| 5 | +environment for data scientists and machine learning developers to |
| 6 | +experiment, develop, and deploy models into production. |
5 | 7 |
|
6 |
| -1. Install Jupyter notebooks ([instructions](https://jupyter.org/install)) |
| 8 | +This directory contains AI Platform Notebooks code samples and |
| 9 | +tutorials. The tutorials are divided into 2 sections: |
| 10 | +- AI Platform Notebooks [API code samples](samples) |
| 11 | +- AI Platform Notebooks [tutorials](tutorials) |
| 12 | + |
| 13 | +## Notebooks API |
| 14 | + |
| 15 | +In [this](samples) folder you will find Python code samples to interact |
| 16 | +with the |
| 17 | +[AI Platform Notebooks API](https://cloud.google.com/ai-platform/notebooks/docs/reference/rest) |
| 18 | + |
| 19 | +## AI Platform Notebooks tutorials |
| 20 | + |
| 21 | +**Run in AI Platform Notebooks** |
| 22 | + |
| 23 | +1. Create a Notebook |
| 24 | + [instance](https://cloud.google.com/ai-platform/notebooks/docs#how-to) |
| 25 | +2. Clone this repository via Jupyter console or using the Git clone |
| 26 | + button |
| 27 | + |
| 28 | +```bash |
| 29 | +git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git |
| 30 | +``` |
| 31 | + |
| 32 | +3. Open the tutorials folder and open the Jupyter notebooks |
| 33 | + |
| 34 | + |
| 35 | +**Run locally** |
| 36 | + |
| 37 | +1. Install Jupyter notebooks |
| 38 | + ([instructions](https://jupyter.org/install)) |
7 | 39 | 1. Install the dependencies in the [requirements.txt](./requirements.txt) file ([instructions below](#install-the-dependencies))
|
8 | 40 | 1. Registered the `google-cloud-bigquery` magic commands ([instructions below](#register-magics-and-configure-matplotlib))
|
9 | 41 | 1. Set `matplotlib` to render inline ([instructions below](#register-magics-and-configure-matplotlib))
|
10 | 42 |
|
11 |
| -## Install the dependencies |
| 43 | +### Install the dependencies |
12 | 44 |
|
13 | 45 | Install the dependencies with the following command:
|
14 | 46 |
|
15 | 47 | pip install --upgrade -r requirements.txt
|
16 | 48 |
|
17 |
| -## Register magics and configure matplotlib |
| 49 | +### Register magics and configure matplotlib |
18 | 50 |
|
19 | 51 | You can either perform these set up steps in a single notebook, or add the
|
20 | 52 | steps to your IPython configuration file to apply to all notebooks.
|
|
0 commit comments