update samples from Release-240 as a part of 1.57.0 SDK stable release

This commit is contained in:
amlrelsa-ms
2024-08-05 21:57:46 +00:00
parent 2352e458c7
commit aae88e87ea
45 changed files with 113 additions and 2685 deletions

View File

@@ -280,7 +280,7 @@
"# get a curated environment\n",
"env = Environment.get(\n",
" workspace=ws, \n",
" name=\"AzureML-sklearn-1.0\"\n",
" name=\"AzureML-sklearn-1.5\"\n",
")\n",
"env.inferencing_stack_version='latest'\n",
"\n",

View File

@@ -151,7 +151,7 @@
"# use a curated environment that has already been built for you\n",
"\n",
"env = Environment.get(workspace=ws, \n",
" name=\"AzureML-sklearn-1.0-ubuntu20.04-py38-cpu\")"
" name=\"AzureML-sklearn-1.5\")"
]
},
{

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

View File

@@ -32,7 +32,7 @@
"\n",
"See prerequisites in the [Azure Machine Learning documentation](https://docs.microsoft.com/azure/machine-learning/service/tutorial-train-models-with-aml#prerequisites).\n",
"\n",
"On the computer running this notebook, conda install matplotlib, numpy, scikit-learn=0.22.1"
"On the computer running this notebook, conda install matplotlib, numpy, scikit-learn=1.5.1"
]
},
{
@@ -431,7 +431,7 @@
"\n",
"# to install required packages\n",
"env = Environment('tutorial-env')\n",
"cd = CondaDependencies.create(pip_packages=['azureml-dataset-runtime[pandas,fuse]', 'azureml-defaults'], conda_packages = ['scikit-learn==0.22.1', 'numpy==1.23'])\n",
"cd = CondaDependencies.create(pip_packages=['azureml-dataset-runtime[pandas,fuse]', 'azureml-defaults'], conda_packages = ['scikit-learn==1.5.1', 'numpy==1.23.5'])\n",
"\n",
"env.python.conda_dependencies = cd\n",
"\n",

View File

@@ -82,7 +82,7 @@
"\n",
"# to install required packages\n",
"env = Environment('tutorial-encryption-env')\n",
"cd = CondaDependencies.create(pip_packages=['azureml-dataset-runtime[pandas,fuse]', 'azureml-defaults', 'azure-storage-blob', 'encrypted-inference==0.9'], conda_packages = ['scikit-learn==0.22.1', 'numpy==1.23'])\n",
"cd = CondaDependencies.create(pip_packages=['azureml-dataset-runtime[pandas,fuse]', 'azureml-defaults', 'azure-storage-blob', 'encrypted-inference==0.9'], conda_packages = ['scikit-learn==1.5.1', 'numpy==1.23.5'])\n",
"\n",
"env.python.conda_dependencies = cd\n",
"\n",