mirror of
https://github.com/gmihaila/ml_things.git
synced 2021-10-04 01:29:04 +03:00
Created using Colaboratory
This commit is contained in:
@@ -41,51 +41,35 @@
|
||||
"colab_type": "code",
|
||||
"colab": {
|
||||
"base_uri": "https://localhost:8080/",
|
||||
"height": 212
|
||||
"height": 52
|
||||
},
|
||||
"outputId": "ef2f6ed1-d508-47cb-97af-24145a9743fd"
|
||||
},
|
||||
"cell_type": "code",
|
||||
"source": [
|
||||
"!wget https://raw.githubusercontent.com/jbrownlee/Datasets/master/pima-indians-diabetes.data.csv"
|
||||
],
|
||||
"execution_count": 1,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"--2018-10-18 03:17:19-- https://raw.githubusercontent.com/jbrownlee/Datasets/master/pima-indians-diabetes.data.csv\n",
|
||||
"Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...\n",
|
||||
"Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.\n",
|
||||
"HTTP request sent, awaiting response... 200 OK\n",
|
||||
"Length: 23278 (23K) [text/plain]\n",
|
||||
"Saving to: ‘pima-indians-diabetes.data.csv’\n",
|
||||
"\n",
|
||||
"\r pima-indi 0%[ ] 0 --.-KB/s \rpima-indians-diabet 100%[===================>] 22.73K --.-KB/s in 0.008s \n",
|
||||
"\n",
|
||||
"2018-10-18 03:17:19 (2.93 MB/s) - ‘pima-indians-diabetes.data.csv’ saved [23278/23278]\n",
|
||||
"\n"
|
||||
],
|
||||
"name": "stdout"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"id": "2efyUH6RfM19",
|
||||
"colab_type": "code",
|
||||
"colab": {}
|
||||
"outputId": "5b147c86-7a3c-48f8-c32b-d6d831541364"
|
||||
},
|
||||
"cell_type": "code",
|
||||
"source": [
|
||||
"from IPython.display import clear_output\n",
|
||||
"\n",
|
||||
"# Install pydot\n",
|
||||
"print(\"Install pydot\")\n",
|
||||
"!apt-get -qq install -y graphviz && pip install -q pydot\n",
|
||||
"clear_output()\n"
|
||||
"clear_output()\n",
|
||||
"\n",
|
||||
"print(\"Downloading data...\")\n",
|
||||
"!wget https://raw.githubusercontent.com/jbrownlee/Datasets/master/pima-indians-diabetes.data.csv\n",
|
||||
"clear_output()\n",
|
||||
"\n",
|
||||
"!ls"
|
||||
],
|
||||
"execution_count": 0,
|
||||
"outputs": []
|
||||
"execution_count": 10,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"model.png\t\t\tpima-indians-diabetes.data.csv.1 sample_data\n",
|
||||
"pima-indians-diabetes.data.csv\tpima-indians-diabetes.data.csv.2\n"
|
||||
],
|
||||
"name": "stdout"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
|
||||
Reference in New Issue
Block a user