Skip to content

Commit

Permalink
Merge pull request #244 from mlrun/0.10.x-dev
Browse files Browse the repository at this point in the history
0.10.x dev
  • Loading branch information
aviaIguazio authored Mar 14, 2022
2 parents afe9680 + f6fc6de commit 0f11503
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions azureml-demo/azureml_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,10 @@
"source": [
"# check the source dataset\n",
"data_url = mlrun.get_sample_path(\"data/heart/heart.csv\")\n",
"pd.read_csv(data_url).head()"
"df = pd.read_csv(data_url)\n",
"target_path = '/User/data/heart.csv'\n",
"df.to_csv(target_path,index=False)\n",
"df.head()"
]
},
{
Expand Down Expand Up @@ -387,7 +390,7 @@
"metadata": {},
"outputs": [],
"source": [
"source = CSVSource(\"mycsv\", path=\"data/heart.csv\")\n",
"source = CSVSource(\"mycsv\", path=target_path)\n",
"resp = fs.ingest(featureset=heart_disease_set, source=source, infer_options=fs.InferOptions.default())"
]
},
Expand Down Expand Up @@ -1697,4 +1700,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@
"from time import sleep\n",
"\n",
"# Sending random requests\n",
"for _ in range(4000):\n",
"for _ in range(100):\n",
" data_point = choice(sample_ids)\n",
" try:\n",
" resp = serving_fn.invoke(path=model_inference_path, body={'inputs': [[data_point]]})\n",
Expand Down

0 comments on commit 0f11503

Please sign in to comment.