1215654ba6 | ||
---|---|---|
.. | ||
deploy-to-aks | ||
hyperparameter-tune-with-keras | ||
train-and-deploy-to-aci | ||
train-with-tensorflow | ||
README.md | ||
configuration.Rmd | ||
installation.Rmd |
README.md
Azure ML vignettes
These vignettes are end-to-end tutorials for using the Azure Machine Learning service with the R SDK.
Before running a vignette in RStudio, set the working directory to the folder that contains the vignette file (.Rmd file) in RStudio using setwd(dirname)
or Session -> Set Working Directory -> To Source File Location. Each vignette assumes that the data and scripts are in the current working directory.
The following vignettes are included:
- installation: Install the Azure ML SDK for R.
- configuration: Set up an Azure ML workspace.
- train-and-deploy-to-aci: Train a caret model and deploy as a web service to Azure Container Instances (ACI).
- train-with-tensorflow: Train a deep learning TensorFlow model with Azure ML.
- hyperparameter-tune-with-keras: Hyperparameter tune a Keras model using HyperDrive, Azure ML's hyperparameter tuning functionality.
- deploy-to-aks: Production deploy a model as a web service to Azure Kubernetes Service (AKS).
Note: If you are running these examples on an Azure Machine Learning Compute Instance, skip the installation and configuration vignettes (#1 and #2), as the compute instance has the Azure ML SDK pre-installed and your workspace details pre-configured.
For additional examples on using the R SDK, see the samples folder.
Troubleshooting
-
If the following error occurs when submitting an experiment using RStudio:
Error in py_call_impl(callable, dots$args, dots$keywords) : PermissionError: [Errno 13] Permission denied
Move the files for your project into a subdirectory and reset the working directory to that directory before re-submitting.
In order to submit an experiment, the Azure ML SDK must create a .zip file of the project directory to send to the service. However, the SDK does not have permission to write into the .Rproj.user subdirectory that is automatically created during an RStudio session. For this reason, the recommended best practice is to isolate project files into their own directory.