Skip to content

Commit 0d548ea

Browse files
authored
Merge pull request Azure#677 from Azure/release_update/Release-29
update samples - test
2 parents 156974e + e402980 commit 0d548ea

File tree

9 files changed

+115
-8
lines changed

9 files changed

+115
-8
lines changed

configuration.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"source": [
104104
"import azureml.core\n",
105105
"\n",
106-
"print(\"This notebook was created using version 1.0.76 of the Azure ML SDK\")\n",
106+
"print(\"This notebook was created using version 1.0.76.1 of the Azure ML SDK\")\n",
107107
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
108108
]
109109
},

how-to-use-azureml/automated-machine-learning/automl_setup.cmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ call conda activate %conda_env_name% 2>nul:
1515

1616
if not errorlevel 1 (
1717
echo Upgrading azureml-sdk[automl,notebooks,explain] in existing conda environment %conda_env_name%
18-
call pip install --upgrade azureml-sdk[automl,notebooks,explain]
18+
call pip uninstall azureml-train-automl -y -q
19+
call conda env update --name %conda_env_name% --file %automl_env_file%
1920
if errorlevel 1 goto ErrorExit
2021
) else (
2122
call conda env create -f %automl_env_file% -n %conda_env_name%

how-to-use-azureml/automated-machine-learning/automl_setup_linux.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ fi
2323
if source activate $CONDA_ENV_NAME 2> /dev/null
2424
then
2525
echo "Upgrading azureml-sdk[automl,notebooks,explain] in existing conda environment" $CONDA_ENV_NAME
26-
pip install --upgrade azureml-sdk[automl,notebooks,explain] &&
26+
pip uninstall azureml-train-automl -y -q
27+
conda env update --name $CONDA_ENV_NAME --file $AUTOML_ENV_FILE &&
2728
jupyter nbextension uninstall --user --py azureml.widgets
2829
else
2930
conda env create -f $AUTOML_ENV_FILE -n $CONDA_ENV_NAME &&

how-to-use-azureml/automated-machine-learning/automl_setup_mac.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ fi
2323
if source activate $CONDA_ENV_NAME 2> /dev/null
2424
then
2525
echo "Upgrading azureml-sdk[automl,notebooks,explain] in existing conda environment" $CONDA_ENV_NAME
26-
pip install --upgrade azureml-sdk[automl,notebooks,explain] &&
26+
pip uninstall azureml-train-automl -y -q
27+
conda env update --name $CONDA_ENV_NAME --file $AUTOML_ENV_FILE &&
2728
jupyter nbextension uninstall --user --py azureml.widgets
2829
else
2930
conda env create -f $AUTOML_ENV_FILE -n $CONDA_ENV_NAME &&

how-to-use-azureml/automated-machine-learning/continuous-retraining/auto-ml-continuous-retraining.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@
441441
"metadata": {},
442442
"outputs": [],
443443
"source": [
444-
"training_pipeline_run.wait_for_completion()"
444+
"training_pipeline_run.wait_for_completion(show_output=False)"
445445
]
446446
},
447447
{

how-to-use-azureml/automated-machine-learning/regression-hardware-performance-explanation-and-featurization/train_explainer.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from sklearn.externals import joblib
88
from azureml.core.dataset import Dataset
99
from azureml.train.automl.runtime.automl_explain_utilities import AutoMLExplainerSetupClass, \
10-
automl_setup_model_explanations
10+
automl_setup_model_explanations, automl_check_model_if_explainable
1111
from azureml.explain.model.mimic.models.lightgbm_model import LGBMExplainableModel
1212
from azureml.explain.model.mimic_wrapper import MimicWrapper
1313
from automl.client.core.common.constants import MODEL_PATH
@@ -25,6 +25,11 @@
2525
experiment = Experiment(ws, '<<experimnet_name>>')
2626
automl_run = Run(experiment=experiment, run_id='<<run_id>>')
2727

28+
# Check if this AutoML model is explainable
29+
if not automl_check_model_if_explainable(automl_run):
30+
raise Exception("Model explanations is currently not supported for " + automl_run.get_properties().get(
31+
'run_algorithm'))
32+
2833
# Download the best model from the artifact store
2934
automl_run.download_file(name=MODEL_PATH, output_file_path='model.pkl')
3035

how-to-use-azureml/track-and-monitor-experiments/logging-api/logging-api.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"\n",
101101
"# Check core SDK version number\n",
102102
"\n",
103-
"print(\"This notebook was created using SDK version 1.0.76, you are currently running version\", azureml.core.VERSION)"
103+
"print(\"This notebook was created using SDK version 1.0.76.1, you are currently running version\", azureml.core.VERSION)"
104104
]
105105
},
106106
{

index.md

Lines changed: 99 additions & 0 deletions
Large diffs are not rendered by default.

setup-environment/configuration.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"source": [
103103
"import azureml.core\n",
104104
"\n",
105-
"print(\"This notebook was created using version 1.0.76 of the Azure ML SDK\")\n",
105+
"print(\"This notebook was created using version 1.0.76.1 of the Azure ML SDK\")\n",
106106
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
107107
]
108108
},

0 commit comments

Comments
 (0)