Skip to content

Commit fa2e649

Browse files
committed
update samples from Release-165 as a part of SDK release
1 parent e25e8e3 commit fa2e649

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

how-to-use-azureml/explain-model/azure-integration/gpu-explanation/train-explain-model-gpu-tree-explainer.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@
241241
"for dist in list(available_packages):\n",
242242
" if dist.key == 'pandas':\n",
243243
" pandas_ver = dist.version\n",
244+
" if dist.key == 'numpy':\n",
245+
" numpy_ver = dist.version\n",
244246
"pandas_dep = 'pandas'\n",
245247
"numpy_dep = 'numpy'\n",
246248
"if pandas_ver:\n",
@@ -286,7 +288,7 @@
286288
"pip uninstall -y xgboost && \\\n",
287289
"conda install py-xgboost==1.3.3 && \\\n",
288290
"pip uninstall -y numpy && \\\n",
289-
"conda install {numpy_dep} \\\n",
291+
"pip install {numpy_dep} \\\n",
290292
"\"\"\"\n",
291293
"\n",
292294
"env.python.user_managed_dependencies = True\n",

0 commit comments

Comments
 (0)