|
107 | 107 | "source": [
|
108 | 108 | "## Getting started\n",
|
109 | 109 | "\n",
|
110 |
| - "First, install the required dependencies. \n", |
111 |
| - "\n", |
112 |
| - "```bash\n", |
113 |
| - "pip install -r requirements.txt\n", |
114 |
| - "```\n", |
| 110 | + "First, install the required dependencies. " |
| 111 | + ] |
| 112 | + }, |
| 113 | + { |
| 114 | + "cell_type": "code", |
| 115 | + "execution_count": null, |
| 116 | + "metadata": {}, |
| 117 | + "outputs": [], |
| 118 | + "source": [ |
| 119 | + "#!pip install -r requirements.txt\n", |
115 | 120 | "\n",
|
| 121 | + "# In an environment like Google Colab, please use the abolute path of requirements.txt:\n", |
| 122 | + "#!pip install -r https://raw.githubusercontent.com/crate/cratedb-examples/main/topic/machine-learning/automl/requirements.txt" |
| 123 | + ] |
| 124 | + }, |
| 125 | + { |
| 126 | + "cell_type": "markdown", |
| 127 | + "metadata": {}, |
| 128 | + "source": [ |
116 | 129 | "**Note:** As of time of this writing, PyCaret requires Python 3.8, 3.9 or 3.10.\n",
|
117 | 130 | "\n",
|
118 | 131 | "Second, you will need a CrateDB instance to store and serve the data. The \n",
|
119 | 132 | "easiest way to get started is to use the free CrateDB cloud offering. You can \n",
|
120 | 133 | "sign up for a free account at https://console.cratedb.cloud and \n",
|
121 | 134 | "[deploy a cluster].\n",
|
122 | 135 | "\n",
|
123 |
| - "[deploy a cluster]: https://cratedb.com/docs/cloud/en/latest/tutorials/deploy/stripe.html#deploy-cluster\n" |
124 |
| - ] |
125 |
| - }, |
126 |
| - { |
127 |
| - "cell_type": "markdown", |
128 |
| - "metadata": {}, |
129 |
| - "source": [ |
130 | 136 | "To populate your environment with corresponding database access credentials,\n",
|
131 | 137 | "create an `.env` file with the following content:\n",
|
132 | 138 | "\n",
|
|
140 | 146 | "\n",
|
141 | 147 | "You can find your CrateDB credentials in the [CrateDB Cloud Console].\n",
|
142 | 148 | "\n",
|
| 149 | + "[deploy a cluster]: https://cratedb.com/docs/cloud/en/latest/tutorials/deploy/stripe.html#deploy-cluster\n", |
143 | 150 | "[CrateDB Cloud Console]: https://cratedb.com/docs/cloud/en/latest/reference/overview.html#cluster"
|
144 | 151 | ]
|
145 | 152 | },
|
|
0 commit comments