azureml-sdk-for-r/vignettes
mx-iao 1215654ba6
Update hyperparameter-tune-with-keras.Rmd
2019-10-29 12:52:18 -07:00
..
deploy-to-aks fixes to vignettes (#161) 2019-10-28 11:49:05 -07:00
hyperparameter-tune-with-keras Update hyperparameter-tune-with-keras.Rmd 2019-10-29 12:52:18 -07:00
train-and-deploy-to-aci Update train-and-deploy-to-aci.Rmd 2019-10-29 12:50:11 -07:00
train-with-tensorflow Update train-with-tensorflow.Rmd 2019-10-29 12:51:09 -07:00
README.md Update README.md 2019-10-28 11:49:33 -07:00
configuration.Rmd updates to installation vignette (#139) 2019-10-24 11:32:46 -07:00
installation.Rmd updates to installation vignette (#139) 2019-10-24 11:32:46 -07:00

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:

  1. installation: Install the Azure ML SDK for R.
  2. configuration: Set up an Azure ML workspace.
  3. train-and-deploy-to-aci: Train a caret model and deploy as a web service to Azure Container Instances (ACI).
  4. train-with-tensorflow: Train a deep learning TensorFlow model with Azure ML.
  5. hyperparameter-tune-with-keras: Hyperparameter tune a Keras model using HyperDrive, Azure ML's hyperparameter tuning functionality.
  6. 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.