12345678910111213141516 |
- def create_experiment(workspace, experiment_name):
- """
- AzureML requires an experiment as a container of trials.
- This will either create a new experiment or use an
- existing one.
- Args:
- workspace (str) : name of AzureML workspace
- experiment_name (str) : AzureML experiment name
- Return:
- exp - AzureML experiment
- """
- logger.debug('create: experiment_name {}'.format(experiment_name))
- exp = Experiment(workspace=workspace, name=experiment_name)
- return(exp)
|