|
35 | 35 | "<table align=\"left\">\n",
|
36 | 36 | "\n",
|
37 | 37 | " <td>\n",
|
38 |
| - " <a href=\"https://colab.research.google.com/github/googleapis/python-bigquery-dataframes/blob/main/notebooks/regression/bq_dataframes_ml_linear_regression.ipynb\">\n", |
| 38 | + " <a href=\"https://colab.research.google.com/github/googleapis/python-bigquery-dataframes/blob/main/notebooks/ml/bq_dataframes_ml_linear_regression.ipynb\">\n", |
39 | 39 | " <img src=\"https://cloud.google.com/ml-engine/images/colab-logo-32px.png\" alt=\"Colab logo\"> Run in Colab\n",
|
40 | 40 | " </a>\n",
|
41 | 41 | " </td>\n",
|
42 | 42 | " <td>\n",
|
43 |
| - " <a href=\"https://github.com/googleapis/python-bigquery-dataframes/blob/main/notebooks/regression/bq_dataframes_ml_linear_regression.ipynb\">\n", |
| 43 | + " <a href=\"https://github.com/googleapis/python-bigquery-dataframes/blob/main/notebooks/ml/bq_dataframes_ml_linear_regression.ipynb\">\n", |
44 | 44 | " <img src=\"https://cloud.google.com/ml-engine/images/github-logo-32px.png\" alt=\"GitHub logo\">\n",
|
45 | 45 | " View on GitHub\n",
|
46 | 46 | " </a>\n",
|
47 | 47 | " </td>\n",
|
48 | 48 | " <td>\n",
|
49 |
| - " <a href=\"https://console.cloud.google.com/vertex-ai/workbench/deploy-notebook?download_url=https://raw.githubusercontent.com/googleapis/python-bigquery-dataframes/blob/main/notebooks/regression/bq_dataframes_ml_linear_regression.ipynb\">\n", |
| 49 | + " <a href=\"https://console.cloud.google.com/vertex-ai/workbench/deploy-notebook?download_url=https://raw.githubusercontent.com/googleapis/python-bigquery-dataframes/blob/main/notebooks/ml/bq_dataframes_ml_linear_regression.ipynb\">\n", |
50 | 50 | " <img src=\"https://lh3.googleusercontent.com/UiNooY4LUgW_oTvpsNhPpQzsstV5W8F7rYgxgGBD85cWJoLmrOzhVs_ksK_vgx40SHs7jCqkTkCk=e14-rj-sc0xffffff-h130-w32\" alt=\"Vertex AI logo\">\n",
|
51 | 51 | " Open in Vertex AI Workbench\n",
|
52 | 52 | " </a>\n",
|
53 | 53 | " </td>\n",
|
54 | 54 | " <td>\n",
|
55 |
| - " <a href=\"https://console.cloud.google.com/bigquery/import?url=https://github.com/googleapis/python-bigquery-dataframes/blob/main/notebooks/regression/bq_dataframes_ml_linear_regression.ipynb\">\n", |
| 55 | + " <a href=\"https://console.cloud.google.com/bigquery/import?url=https://github.com/googleapis/python-bigquery-dataframes/blob/main/notebooks/ml/bq_dataframes_ml_linear_regression.ipynb\">\n", |
56 | 56 | " <img src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTW1gvOovVlbZAIZylUtf5Iu8-693qS1w5NJw&s\" alt=\"BQ logo\" width=\"35\">\n",
|
57 | 57 | " Open in BQ Studio\n",
|
58 | 58 | " </a>\n",
|
|
79 | 79 | "source": [
|
80 | 80 | "## Overview\n",
|
81 | 81 | "\n",
|
82 |
| - "Use this notebook to learn how to train a linear regression model by using BigQuery DataFrames ML. BigQuery DataFrames ML provides a provides a scikit-learn-like API for ML powered by the BigQuery engine.\n", |
| 82 | + "Use this notebook to learn how to train a linear regression model using BigQuery DataFrames ML. BigQuery DataFrames ML provides a provides a scikit-learn-like API for ML powered by the BigQuery engine.\n", |
83 | 83 | "\n",
|
84 | 84 | "This example is adapted from the [BQML linear regression tutorial](https://cloud.google.com/bigquery-ml/docs/linear-regression-tutorial).\n",
|
85 | 85 | "\n",
|
|
142 | 142 | "source": [
|
143 | 143 | "## Installation\n",
|
144 | 144 | "\n",
|
145 |
| - "Install the following packages, which are required to run this notebook:" |
| 145 | + "If you don't have [bigframes](https://pypi.org/project/bigframes/) package already installed, uncomment and execute the following cells to\n", |
| 146 | + "\n", |
| 147 | + "1. Install the package\n", |
| 148 | + "1. Restart the notebook kernel (Jupyter or Colab) to work with the package" |
146 | 149 | ]
|
147 | 150 | },
|
148 | 151 | {
|
|
153 | 156 | },
|
154 | 157 | "outputs": [],
|
155 | 158 | "source": [
|
156 |
| - "!pip install bigframes" |
157 |
| - ] |
158 |
| - }, |
159 |
| - { |
160 |
| - "cell_type": "markdown", |
161 |
| - "metadata": { |
162 |
| - "id": "58707a750154" |
163 |
| - }, |
164 |
| - "source": [ |
165 |
| - "### Colab only\n", |
166 |
| - "\n", |
167 |
| - "Uncomment and run the following cell to restart the kernel:" |
| 159 | + "# !pip install bigframes" |
168 | 160 | ]
|
169 | 161 | },
|
170 | 162 | {
|
|
749 | 741 | "kernelspec": {
|
750 | 742 | "display_name": "Python 3",
|
751 | 743 | "name": "python3"
|
| 744 | + }, |
| 745 | + "language_info": { |
| 746 | + "codemirror_mode": { |
| 747 | + "name": "ipython", |
| 748 | + "version": 3 |
| 749 | + }, |
| 750 | + "file_extension": ".py", |
| 751 | + "mimetype": "text/x-python", |
| 752 | + "name": "python", |
| 753 | + "nbconvert_exporter": "python", |
| 754 | + "pygments_lexer": "ipython3", |
| 755 | + "version": "3.12.0" |
752 | 756 | }
|
753 | 757 | },
|
754 | 758 | "nbformat": 4,
|
|
0 commit comments