DeepLearningForTimeSeriesFo.../hyperparameter_tuning
Ubuntu 3c32b7c31d added hyperparam notebook with cell outputs 2019-06-11 12:38:44 +00:00
..
CNN addressed dmitry's comments 2019-06-11 08:56:05 +00:00
FF_multi_step_multivariate changed all scripts to use epoch loss as minimizing metric, and to use early termination policy of hyperdrive 2019-05-16 14:45:57 +00:00
RNN_encoder_decoder_simple changed all scripts to use epoch loss as minimizing metric, and to use early termination policy of hyperdrive 2019-05-16 14:45:57 +00:00
RNN_multi_step_vector_output changed all scripts to use epoch loss as minimizing metric, and to use early termination policy of hyperdrive 2019-05-16 14:45:57 +00:00
RNN_teacher_forcing changed all scripts to use epoch loss as minimizing metric, and to use early termination policy of hyperdrive 2019-05-16 14:45:57 +00:00
README.md addressed dmitry's comments 2019-06-11 08:56:05 +00:00
cnn_config.json addressed dmitry's comments 2019-06-11 08:56:05 +00:00
configuration.ipynb addressed dmitry's comments 2019-06-11 08:56:05 +00:00
environment.yaml addressed dmitry's comments 2019-06-11 08:56:05 +00:00
ff_multistep_config.json changed ff example to log metrics in each epoch 2019-05-16 12:30:16 +00:00
hyperparameter_tuning.ipynb added hyperparam notebook with cell outputs 2019-06-11 12:38:44 +00:00
rnn_encoder_decoder_config.json changed all scripts to use epoch loss as minimizing metric, and to use early termination policy of hyperdrive 2019-05-16 14:45:57 +00:00
rnn_multistep_config.json changed all scripts to use epoch loss as minimizing metric, and to use early termination policy of hyperdrive 2019-05-16 14:45:57 +00:00
rnn_teacher_forcing_config.json changed all scripts to use epoch loss as minimizing metric, and to use early termination policy of hyperdrive 2019-05-16 14:45:57 +00:00

README.md

Hyper-parameter tuning using Azure Machine Learning service

The hyper-parameters of methods presented in this tutorial are tuned using Hyperdrive, a feature of Azure Machine Learning (Azure ML) service.

Pre-Requisites

  • You'll need to first set up the environment using Anaconda3. To do so, navigate to the hyperparameter_tuning directory and run the following commands:

    # create a conda environment using the environment.yaml file
    # replace 'create' with 'update' if you need to update the environment
    conda env create -f environment.yaml
    source activate dnntutorial
    # to install the environment into the Jupyter kernel, run
    python -m ipykernel install --user --name dnntutorial
    
  • Next, please follow instructions in configuration notebook in order to provision Azure ML workspace.

Note: This material is developed on an Azure Data Science Virtual Machine (Ubuntu). This machine is pre-installed with many development tools we use in this tutorial, such as Anaconda, Python, etc.

Run hyper-parameter tuning notebook

Hyper-parameter tuning is done in hyperparameter_tuning.ipynb notebook. This notebook is used to tune several approaches:

Each of these use cases is defined in a json configuration file listed above alongside each usecase. To run a specific approach, please specify the appropriate configuration file in the hyperparameter_tuning notebook.

The running time depends on the size of your Azure ML cluster and the model being tuned.