创建并共享机器学习工作室(经典)工作区Create and share an Machine Learning Studio (classic) workspace

适用于: yes机器学习工作室(经典) no Azure 机器学习APPLIES TO: yesMachine Learning Studio (classic) noAzure Machine Learning

若要使用 Azure 机器学习工作室(经典版),你必须拥有一个机器学习工作室(经典)工作区。To use Azure Machine Learning Studio (classic), you need to have a Machine Learning Studio (classic) workspace. 此工作区包含创建、管理和发布试验所需的工具。This workspace contains the tools you need to create, manage, and publish experiments.

创建工作室(经典)工作区Create a Studio (classic) workspace

若要在机器学习工作室(经典版)中打开工作区,则必须登录到用于创建工作区的 Microsoft 帐户,或者需要收到所有者发出的邀请以加入工作区。To open a workspace in Machine Learning Studio (classic), you must be signed in to the Microsoft Account you used to create the workspace, or you need to receive an invitation from the owner to join the workspace. 在 Azure 门户中可以管理工作区,包括配置访问权限。From the Azure portal you can manage the workspace, which includes the ability to configure access.

  1. 登录到 Azure 门户Sign in to the Azure portal

    备注

    只有 Azure 订阅管理员才能登录并创建工作室(经典)工作区。To sign in and create a Studio (classic) workspace, you need to be an Azure subscription administrator.

  2. 单击“+新建”Click +New

  3. 在搜索框中,键入“机器学习工作室(经典)工作区”,并选择匹配项。In the search box, type Machine Learning Studio (classic) Workspace and select the matching item. 然后在页面底部选择单击“创建”。Then, select click Create at the bottom of the page.

  4. 输入工作区信息:Enter your workspace information:

    • 工作区名称最多可以为 260 个字符,不能以空格结束。The workspace name may be up to 260 characters, not ending in a space. 该名称不能包含下列字符:< > * % & : \ ? + /The name can't include these characters: < > * % & : \ ? + /

    • 如果从此工作区部署 Web 服务,将使用所选择(或创建)的 Web 服务计划以及所选的关联定价层The web service plan you choose (or create), along with the associated pricing tier you select, is used if you deploy web services from this workspace.

      创建新的工作室(经典)工作区

  5. 单击创建Click Create.

    机器学习当前只允许有限数量的区域。Machine Learning is currently available in a limited number of regions. 如果订阅不包括这些区域之一,可能会看到错误消息,“你在允许的区域中没有订阅。”If your subscription does not include one of these regions, you may see the error message, "You have no subscriptions in the allowed regions." 要请求将某区域添加到订阅,可从 Azure 门户创建新的 Microsoft 支持请求,将“计费”选为问题类型,然后按照提示提交请求。To request that a region be added to your subscription, create a new Microsoft support request from the Azure portal, choose Billing as the problem type, and follow the prompts to submit your request.

备注

机器学习工作室(经典)执行工作流时,依赖你提供的 Azure 存储帐户来保存中间数据。Machine Learning Studio (classic) relies on an Azure storage account that you provide to save intermediary data when it executes the workflow. 创建工作区后,如果删除了存储帐户或如果更改了访问密钥,工作区将停止运行,该工作区中的所有试验会失败。After the workspace is created, if the storage account is deleted, or if the access keys are changed, the workspace will stop functioning and all experiments in that workspace will fail. 如果意外删除了存储帐户,可在相同区域重新创建与删除的存储帐户同名的存储帐户,并重新同步访问密钥。If you accidentally delete the storage account, recreate the storage account with the same name in the same region as the deleted storage account and resync the access key. 如果更改了存储帐户访问密钥,请使用 Azure 门户在工作区中重新同步访问密钥。If you changed storage account access keys, resync the access keys in the workspace by using the Azure portal.

部署工作区后,可以在机器学习工作室(经典)中打开它。Once the workspace is deployed, you can open it in Machine Learning Studio (classic).

  1. 浏览到机器学习工作室(经典),地址:https://studio.ml.azure.cn/Browse to Machine Learning Studio (classic) at https://studio.ml.azure.cn/.

  2. 在右上角选择工作区。Select your workspace in the upper-right-hand corner.

    选择工作区

  3. 单击“我的试验”。Click my experiments.

    打开试验

有关管理工作室(经典)工作区的信息,请参阅管理 Azure 机器学习工作室(经典)工作区For information about managing your Studio (classic) workspace, see Manage an Azure Machine Learning Studio (classic) workspace. 如果在创建工作区时遇到问题,请参阅疑难解答指南:创建并连接到机器学习工作室(经典)工作区If you encounter a problem creating your workspace, see Troubleshooting guide: Create and connect to a Machine Learning Studio (classic) workspace.

共享 Azure 机器学习工作室(经典)工作区Share an Azure Machine Learning Studio (classic) workspace

创建机器学习工作室(经典)工作区后,可以邀请用户进入工作区,以共享对工作区及其所有试验、数据集等的访问权限。可以将用户添加到以下两个角色之一:Once a Machine Learning Studio (classic) workspace is created, you can invite users to your workspace to share access to your workspace and all its experiments, datasets, etc. You can add users in one of two roles:

  • 用户 - 工作区用户可以在工作区中创建、打开、修改和删除试验、数据集等。User - A workspace user can create, open, modify, and delete experiments, datasets, etc. in the workspace.
  • 所有者 - 除了指定用户可以执行的操作之外,所有者还可以邀请和删除工作区中的用户。Owner - An owner can invite and remove users in the workspace, in addition to what a user can do.

备注

创建工作区的管理员帐户会自动添加到工作区,作为工作区所有者。The administrator account that creates the workspace is automatically added to the workspace as workspace Owner. 但是,不会向该订阅中的其他管理员或用户自动授予访问工作区的权限 - 需要显式邀请他们。However, other administrators or users in that subscription are not automatically granted access to the workspace - you need to invite them explicitly.

共享工作室(经典)工作区To share a Studio (classic) workspace

  1. https://studio.ml.azure.cn/Home 登录机器学习工作室(经典)Sign in to Machine Learning Studio (classic) at https://studio.ml.azure.cn/Home

  2. 在左面板中,单击“设置”In the left panel, click SETTINGS

  3. 单击“用户”选项卡Click the USERS tab

  4. 单击页面底部的“邀请更多用户”Click INVITE MORE USERS at the bottom of the page

    工作室设置

  5. 输入一个或多个电子邮件地址。Enter one or more email addresses. 用户需要有效的 Microsoft 帐户或组织帐户(来自 Azure Active Directory)。The users need a valid Microsoft account or an organizational account (from Azure Active Directory).

  6. 选择是要将用户添加为“所有者”还是“用户”。Select whether you want to add the users as Owner or User.

  7. 单击“确定”复选标记按钮。Click the OK checkmark button.

添加的每个用户都将收到一封电子邮件,其中包含如何登录共享工作区的说明。Each user you add will receive an email with instructions on how to sign in to the shared workspace.

备注

要使用户能够在此工作区中部署或管理 Web 服务,这些用户必须是 Azure 订阅中的参与者或管理员。For users to be able to deploy or manage web services in this workspace, they must be a contributor or administrator in the Azure subscription.

排查存储帐户问题Troubleshoot storage accounts

机器学习服务需要存储帐户以存储数据。The Machine Learning service needs a storage account to store data. 可以使用现有存储帐户,或者可以在创建新的机器学习工作室(经典版)工作区时创建新的存储帐户(如果有创建新的存储帐户的配额)。You can use an existing storage account, or you can create a new storage account when you create the new Machine Learning Studio (classic) workspace (if you have quota to create a new storage account).

创建新的机器学习工作室(经典版)工作区之后,可以使用用于创建工作区的 Microsoft 帐户登录到机器学习工作室(经典版)。After the new Machine Learning Studio (classic) workspace is created, you can sign in to Machine Learning Studio (classic) by using the Microsoft account you used to create the workspace. 如果遇到错误消息,“未找到工作区”(类似于下面的屏幕截图),请使用以下步骤删除浏览器 cookie。If you encounter the error message, "Workspace Not Found" (similar to the following screenshot), please use the following steps to delete your browser cookies.

未找到工作区

删除浏览器 cookieTo delete browser cookies

  1. 如果使用 Internet Explorer,请单击右上角的“工具”按钮,并选择“Internet 选项”。If you use Internet Explorer, click the Tools button in the upper-right corner and select Internet options.

    Internet 选项

  2. 在“常规”选项卡下,单击“删除...”Under the General tab, click Delete…

    “常规”选项卡

  3. 在“删除浏览历史记录”对话框中,确保已选中“Cookie 和网站数据”,并单击“删除”。In the Delete Browsing History dialog box, make sure Cookies and website data is selected, and click Delete.

    删除 Cookie

删除 Cookie 之后,重启浏览器,并转到 Microsoft Azure 机器学习工作室(经典版)页。After the cookies are deleted, restart the browser and then go to the Microsoft Azure Machine Learning Studio (classic) page. 如果系统提示输入用户名和密码,请输入用于创建工作区的同一个 Microsoft 帐户。When you are prompted for a user name and password, enter the same Microsoft account you used to create the workspace.

后续步骤Next steps

有关管理工作区的详细信息,请参阅管理 Azure 机器学习工作室(经典版)工作区For more information on managing a workspace, see Manage an Azure Machine Learning Studio (classic) workspace.