如何在 azureml 中加载实验?
How to load an experiment in azureml?
我有很多实验,比如:
现在,我想加载一个实验
#%% sumonando os pacotes e verificando azureml.core
import azureml.core
import pandas as pd
import numpy as np
import logging
print("AzureML SDK Version: ", azureml.core.VERSION)
#%% Conectando ao azure e crinado o exparimento
from azureml.core import Workspace, Experiment
ws = Workspace.from_config()
print(Experiment.list(ws))
#%%
Experiment = Experiment.from_directory('teste2-Monitor-Runs') `
但是
"error": {
"message": "No cache found for current project, try providing resource group and workspace
arguments"
}`
内容:azureml.core.Experiment class - Azure Machine Learning Python
根据 AzureML 的实验 class 文档,他们将实验定义为试验或运行的容器。如果您希望访问 容器 或整个实验,您可以仅通过名称访问它(只要您配置了正确的工作区)。请参阅下面的代码段:
from azureml.core import Experiment, Workspace
ws = Workspace.from_config()
my_exp = Experiment(ws, name="teste2-Monitor-Runs")
我相信是这样。
from azureml.core import Experiment, Workspace
Experiment = ws.experiments["teste2-Monitor-Runs"]
我有很多实验,比如:
现在,我想加载一个实验
#%% sumonando os pacotes e verificando azureml.core
import azureml.core
import pandas as pd
import numpy as np
import logging
print("AzureML SDK Version: ", azureml.core.VERSION)
#%% Conectando ao azure e crinado o exparimento
from azureml.core import Workspace, Experiment
ws = Workspace.from_config()
print(Experiment.list(ws))
#%%
Experiment = Experiment.from_directory('teste2-Monitor-Runs') `
但是
"error": {
"message": "No cache found for current project, try providing resource group and workspace
arguments"
}`
内容:azureml.core.Experiment class - Azure Machine Learning Python
根据 AzureML 的实验 class 文档,他们将实验定义为试验或运行的容器。如果您希望访问 容器 或整个实验,您可以仅通过名称访问它(只要您配置了正确的工作区)。请参阅下面的代码段:
from azureml.core import Experiment, Workspace
ws = Workspace.from_config()
my_exp = Experiment(ws, name="teste2-Monitor-Runs")
我相信是这样。
from azureml.core import Experiment, Workspace
Experiment = ws.experiments["teste2-Monitor-Runs"]