在Azure上精通AI开发:创建和集成插件的全面指南

在保持HTML结构的情况下,将以下英文文本翻译为简体中文: Azure提供丰富的工具和服务,用于开发AI应用程序,从预构建模型到定制解决方案。本指南将带您了解在Azure上构建AI解决方案的基础知识,创建插件,并利用各种Azure服务。我们将提供编码示例,可作为初学者和专业人士的模板。

Sure, here's how you can structure the HTML while including the translated text: ```html Introduction to AI on Azure

Introduction to AI on Azure

``` Translated to simplified Chinese: ```html Azure 上的人工智能简介

Azure 上的人工智能简介

``` In this example: - `` specifies the language as Simplified Chinese. - `` and `<h1>` tags contain the translated text "Azure 上的人工智能简介" which means "Introduction to AI on Azure" in Simplified Chinese.</h1> <h2>To translate "Overview of Microsoft Azure" to simplified Chinese while keeping the HTML structure, you can use the following: ```html 概述微软Azure ``` This maintains the text within the `` structure and provides the translated phrase.</h2> <p>Here's the translated text in simplified Chinese while keeping the HTML structure: ```html </p> <p>Microsoft Azure 是一个综合性的云计算平台,提供多种服务,用于构建、部署和管理应用程序。Azure 的人工智能能力非常强大,提供预构建和可定制的解决方案,满足各种业务需求。这些服务旨在迎合不同的专业水平,使得初学者和专业人士都能更轻松地开发人工智能应用。</p> <p>Certainly! Here's the translated text in simplified Chinese while keeping the HTML structure: ```html </p> <p>Key AI Services and Tools Offered by Azure<br>1. Azure Machine Learning: <br>— 一个基于云的服务,用于构建、训练和部署机器学习模型。<br>— 支持流行的框架如 TensorFlow、PyTorch 和 scikit-learn。<br>— 功能包括自动化机器学习 (AutoML)、MLOps 用于模型生命周期管理,以及与其他 Azure 服务的集成。</p> ``` This HTML structure ensures the translation is clear and maintains the intended formatting for the text.<p>Certainly! Here's the translation of the text into simplified Chinese while keeping the HTML structure intact: ```html </p> <p>2. 认知服务: — 一组 API 和 SDK,用于向应用程序添加 AI 能力,无需深入的机器学习专业知识。 — 类别包括视觉、语音、语言和决策。 — 服务如计算机视觉、文本分析、语音转文本和翻译器都属于此类。</p> ``` This HTML code includes the translated text in simplified Chinese, formatted as a paragraph `<p>` for web display.</p> <p>To translate the provided text into simplified Chinese while keeping the HTML structure intact, you can use the following: ```html 3. Azure Databricks: — 基于Apache Spark的分析平台,优化适用于Azure。 — 便于大数据分析和机器学习。 — 提供协作笔记本,并与Azure Machine Learning集成进行模型训练和部署。 ``` This HTML structure preserves the numbered list and dash separators while providing the simplified Chinese translation of the text.</p> <p>Here is the translation of the text into simplified Chinese, while maintaining the HTML structure: ```html </p> <p> 4. Azure Synapse Analytics: — 一个集成的大数据分析和数据仓库服务。 — 结合了数据集成、数据探索和数据可视化能力。 — 支持高级分析和机器学习,并内置了与Azure机器学习的集成。 </p> ```<p>Sure, here's the translated text in simplified Chinese while keeping the HTML structure: ```html 5. Azure Bot Services: — 用于构建对话式人工智能应用和聊天机器人的平台。 — 与认知服务集成,实现自然语言理解和生成。 ``` This HTML structure maintains the original format while providing the translated content in simplified Chinese.</p> <p>6. Azure OpenAI 服务: — 提供对强大语言模型的访问,如 GPT-3,用于文本生成、摘要和翻译等任务。 — 使开发者能够将先进的自然语言处理能力集成到他们的应用程序中。</p> <p>Sure, here's the translated text in simplified Chinese, maintaining the HTML structure: ```html Benefits of Using Azure for AI Development 1. Scalability: — Azure 提供可扩展的基础设施,能处理大数据集和复杂计算,适用于小型项目和企业级应用。 ``` In this translation: - "Benefits of Using Azure for AI Development" is translated as "使用Azure进行AI开发的好处". - "Scalability" is translated as "可扩展性". - The rest of the text is translated accordingly while preserving the HTML structure as requested.</p> <p>Certainly! Here's the translation of the text into simplified Chinese while maintaining the HTML structure: ```html 2. 综合生态系统:— Azure 的 AI 服务与其他 Azure 工具和服务紧密集成,为端到端的开发和部署提供无缝体验。 ``` In this translation: - "综合生态系统" translates "Integrated Ecosystem". - "Azure" remains "Azure". - "AI 服务" translates "AI services". - "紧密集成" translates "well-integrated". - "端到端的开发和部署" translates "end-to-end development and deployment". - "无缝体验" translates "seamless experience". Make sure to use appropriate HTML tags for your specific usage context.</p> <p>To translate the text "Ease of Use: — Services like Cognitive Services and AutoML reduce the barrier to entry for AI development, allowing developers to leverage advanced AI capabilities without deep expertise." into simplified Chinese while keeping the HTML structure intact, you can use the following: ```html <span>易用性:</span>服务如认知服务和自动机器学习(AutoML)降低了人工智能开发的门槛,使开发人员能够在没有深入专业知识的情况下利用先进的人工智能能力。 ``` This HTML snippet retains the original structure and translates the content into simplified Chinese.</p> <p>在保持HTML结构不变的前提下,将以下英文文本翻译为简体中文: 4. 安全性和合规性:Azure 确保强大的安全措施,包括数据加密、身份和访问管理,以及符合各种监管标准。</p> <p>Sure, here is the translated text in simplified Chinese, while keeping the HTML structure intact: ```html 5. 成本管理:Azure 的按需付费定价模型允许开发人员有效管理成本,并根据需要扩展资源。 ``` In this HTML snippet, the translated Chinese text is enclosed within `<span>` tags, assuming it's part of a larger document.</span></p> <p>Certainly! Here's the translation of the text into simplified Chinese while keeping the HTML structure intact: ```html 6. 支持与社区:— 丰富的文档、支持资源和活跃的社区使得查找帮助和分享知识变得更加容易。 ``` This HTML snippet includes the translated text in simplified Chinese characters.</p> <h1>在保持HTML结构的前提下,将英文文本 "Setting Up Your Azure Environment" 翻译成简体中文: 设置您的Azure环境</h1> <p>在保持HTML结构的情况下,将以下英文文本翻译为简体中文: **步骤1:创建Azure账户**</p> <p>Sure, here's the translation of the text into simplified Chinese while keeping the HTML structure: ```html Visit the Azure Website: — <span lang="zh-CN">访问 Microsoft Azure 网站。</span> — <span lang="zh-CN">点击“开始免费”按钮。</span> ``` In this translation: - `<span lang="zh-CN">...</span>` is used to specify that the enclosed Chinese text is in simplified Chinese. - The English text is translated faithfully into Chinese. Make sure your HTML document includes the appropriate UTF-8 encoding and the lang attribute for proper rendering.</p> <p>To translate the provided text into simplified Chinese while keeping the HTML structure intact, you would write: ```html 2. 注册或登录: — 如果您已经拥有微软账户,您可以使用现有的凭据登录。 — 如果没有,请创建一个新的微软账户。 ``` This HTML structure maintains the numbering and bullet points while inserting the translated Chinese text.</p> <p>Here is the translated text in simplified Chinese, while maintaining HTML structure: ```html 3. 设置您的订阅:<br> — Azure 提供首个30天的免费额度,为$200美元,并且提供12个月的免费服务。<br> — 您需要提供结算信息,但只有在您的免费信用用尽或选择付费计划后才会收费。<br> — 按照屏幕上的指示完成订阅设置。<br> ``` This translation preserves the structure and content of the original English text, suitable for display in an HTML context.</p> <p>Step 2: Creating and Managing Resources 1. Azure Portal: — The Azure Portal is the primary interface for managing your Azure resources. — Navigate to the Azure Portal and sign in with your Microsoft account. 保持HTML结构,将上述英文文本翻译为简体中文: 第二步:创建和管理资源 1. Azure 门户:— Azure 门户是管理您的 Azure 资源的主要界面。— 转到 Azure 门户并使用您的 Microsoft 帐户登录。</p> <p>To translate the given English text to simplified Chinese while keeping the HTML structure intact, you can use the following: ```html </p> <p>2. 资源组:<br> — 资源组帮助您组织和管理相关的 Azure 资源。<br> — 要创建资源组,请点击左侧菜单中的“资源组”,然后点击“添加”。<br> — 提供一个名称并选择资源组的区域,然后点击“查看 + 创建”和“创建”。</p> ``` This HTML structure ensures that the translation is clearly separated and maintains the formatting of bullet points and steps as provided in the original English text.<p>To translate the provided text into simplified Chinese while keeping the HTML structure intact, you can use the following: ```html 3. 创建资源: — 您可以在资源组中创建各种资源,如虚拟机、存储帐户和数据库。 — 点击“创建资源”,然后选择要创建的资源类型。 — 按照屏幕上的说明配置和部署资源。 ``` This HTML structure ensures the translated text maintains clarity and maintains the intended formatting.</p> <p>Step 3: 设置开发环境 1. 安装 Azure CLI:— Azure CLI 是一个用于管理 Azure 资源的命令行工具。— 根据您的操作系统下载并安装 Azure CLI。— 打开终端或命令提示符,并运行 `az login` 来使用 Azure 账户进行身份验证。</p> <p>Sure, here is the translated text in simplified Chinese, formatted to fit into an HTML structure: ```html </p> <p>2. 设置 Visual Studio Code:</p> <ul> <li>Visual Studio Code(VS Code)是一款流行的代码编辑器,对 Azure 开发提供出色支持。</li> <li>下载并安装 Visual Studio Code。</li> <li>安装 VS Code 的 Azure 扩展:</li> <ul> <li>Azure 账户</li> <li>Azure CLI 工具</li> <li>Azure 应用服务</li> <li>Azure 函数</li> <li>Azure 存储</li> <li>Azure 机器学习</li> </ul> </ul> ``` This HTML structure maintains the original text and organizes the translated content in a clear and structured manner.<p>To translate the given English text into simplified Chinese, while keeping the HTML structure intact, you would write: ```html 3. 配置身份验证: — 设置服务主体或托管标识以确保应用程序的安全身份验证和授权。 — 使用 Azure CLI 创建服务主体: ``` This maintains the structure of the original text and provides a clear translation in simplified Chinese.</p> <pre><span id="dc62" class="pu ns gt pr b bf pv pw l px py">az ad sp create-for-rbac --name "myServicePrincipal" --role contributor \<br> --scopes /subscriptions/{subscription-id}/resourceGroups/{resource-group} \<br> --sdk-auth</span></pre> <p>在保持HTML结构的同时,将以下英文文本翻译成简体中文: - 将包括凭据和认证细节在内的输出保存到安全位置。</p> <p>Certainly! Here's the translated text in simplified Chinese while maintaining the HTML structure: ```html Step 4: Exploring Azure DevOps<br> 1. Azure DevOps: <br> — Azure DevOps 提供了一套用于持续集成和持续部署(CI/CD)的开发工具。 <br> — 导航到 Azure DevOps 网站,并使用您的 Microsoft 账户登录。 ``` This HTML snippet preserves the structure and formatting while presenting the translated text in simplified Chinese.</p> <p>To translate the provided text into simplified Chinese while keeping the HTML structure intact, you can use the following: ```html 2. 创建项目: — 在 Azure DevOps 中创建一个新项目,用于管理代码仓库、构建管道和发布管道。 — 点击“新建项目”,输入名称和描述,然后点击“创建”。 ``` This HTML snippet preserves the structure while presenting the translated text in simplified Chinese.</p> <p>Sure, here's the translated text in simplified Chinese while keeping the HTML structure intact: ```html 3. 代码仓库和流水线: — 使用 Azure Repos 管理您的 Git 仓库。 — 使用 Azure Pipelines 设置构建和发布流水线,自动化部署您的应用程序。 ``` This HTML structure maintains the numbered list format and ensures the translated Chinese text is correctly formatted.</p> <h1>Sure, here is the translated text in simplified Chinese, while keeping the HTML structure intact: ```html Azure <span lang="zh-CN">人工智能与机器学习服务</span> ``` In this example: - `<span lang="zh-CN">` is used to specify that the enclosed text is in simplified Chinese. - "Azure AI and Machine Learning Services" is translated to "Azure 人工智能与机器学习服务".</span> </h1> <h2>To translate "Overview" into simplified Chinese while keeping HTML structure, you would use the following: ```html <span lang="zh-CN">概述</span> ``` In this HTML snippet: - `<span>` is used to wrap the text and apply language-specific styling or behavior if needed. - `lang="zh-CN"` specifies the language code for simplified Chinese. - `概述` is the translation of "Overview" in simplified Chinese.</span> </h2> <p>Microsoft Azure 提供了一套全面的人工智能和机器学习服务,适用于各种应用和专业水平。这些服务使开发人员能够轻松构建、训练和部署 AI 模型。在本章中,我们将探讨 Azure 上可用的关键人工智能和机器学习服务,特别关注 Azure OpenAI。</p> <p>Certainly! Here's the translated text in simplified Chinese, while keeping the HTML structure: ```html </p> <p>关键 AI 和机器学习服务</p> <p>1. Azure 机器学习:</p> <ul> <li>描述:一个基于云的环境,用于训练、部署和管理机器学习模型。</li> <li>特点:自动化机器学习(AutoML)、MLOps 生命周期管理、支持流行的框架(TensorFlow、PyTorch),并与其他 Azure 服务集成。</li> </ul> ``` This HTML structure maintains the original content while providing the translation into simplified Chinese.<p>To translate the given text to simplified Chinese while keeping the HTML structure, you can use the following code snippet: ```html </p> <p> <strong>Azure Cognitive Services:</strong> — Description: A collection of APIs and SDKs for embedding AI capabilities into applications without requiring deep AI expertise. — Categories: Vision (e.g., Computer Vision, Face API), Speech (e.g., Speech-to-Text, Text-to-Speech), Language (e.g., Text Analytics, Translator), and Decision (e.g., Personalizer). </p> ``` And here's the simplified Chinese translation: ```html <p> <strong>Azure认知服务:</strong> — 描述:一组API和SDK,可将AI能力嵌入应用程序,无需深入的AI专业知识。 — 类别:视觉(例如计算机视觉,人脸API),语音(例如语音转文本,文本转语音),语言(例如文本分析,翻译器),决策(例如个性化器)。 </p> ``` Make sure to properly encode the HTML if you are including this in a web page.<p>Sure, here's the translation of the text into simplified Chinese while maintaining the HTML structure: ```html </p> <p> 3. Azure Databricks: — Description: 一个基于Apache Spark的分析平台,针对Azure进行了优化。 — Features: 协作式笔记本,集成的机器学习环境,以及与Azure机器学习的无缝集成,用于模型训练和部署。 </p> ``` In simplified Chinese: ```html <p> 3. Azure Databricks: — Description: 一个基于Apache Spark的分析平台,针对Azure进行了优化。 — Features: 协作式笔记本,集成的机器学习环境,以及与Azure机器学习的无缝集成,用于模型训练和部署。 </p> ```<p>Sure, here's the translated text in simplified Chinese while keeping the HTML structure: ```html 4. Azure Synapse Analytics: — Description: 综合分析服务,结合大数据和数据仓库。 — Features: 包括数据集成、探索和可视化能力,以及高级分析和机器学习支持。 ``` This HTML snippet maintains the structure and incorporates the simplified Chinese translation of the provided text.</p> <p>Sure, here's the translation of the text into simplified Chinese while keeping the HTML structure: ```html 5. Azure Bot Services: — Description: 用于构建、部署和管理对话式人工智能应用程序和聊天机器人的平台。 — Features: 与认知服务集成,实现自然语言理解和生成。 ``` This HTML structure maintains the original format while presenting the translated text in simplified Chinese.</p> <p>Sure, here is the translated text in simplified Chinese, formatted in HTML structure: ```html </p> <p> 6. Azure OpenAI 服务: — 描述:提供由OpenAI开发的强大语言模型的访问,如GPT-3,用于文本生成、摘要、翻译等任务。 — 特点:预训练模型、通过API轻松集成、支持定制微调。 </p> ``` This HTML snippet preserves the structure while providing the translated text in simplified Chinese.<p>Sure, here's the translation of the provided text into simplified Chinese, while maintaining the HTML structure: ```html <span>专注于Azure OpenAI服务</span><br> <span>Azure OpenAI服务允许开发人员在其应用程序中利用OpenAI的语言模型的强大功能。这些模型可以理解并生成类似人类的文本,非常适合于从聊天机器人到内容生成等广泛的应用场景。</span> ``` This HTML snippet contains the translated text in simplified Chinese, formatted with `<span>` tags to maintain the structure of the original English text.</span></p> <p>Azure OpenAI 服务的主要特点:</p> <p>Sure, here's the translated text in simplified Chinese while keeping the HTML structure: ```html Access to Advanced Models: — Access to state-of-the-art models like GPT-3, which can perform various natural language processing tasks. ``` Translated to simplified Chinese: ```html 访问先进模型:— 访问像GPT-3这样的最先进模型,可以执行各种自然语言处理任务。 ```</p> <p>Certainly! Here's the translation of the text into simplified Chinese, keeping the HTML structure: ```html 2. 预训练模型和定制模型:— 使用预训练模型处理常见任务,或者在您自己的数据集上微调模型以应用于专业应用。 ``` In this translation: - "Pre-trained models" is translated as "预训练模型". - "Custom Models" is translated as "定制模型". - The rest of the sentence is translated to convey the meaning as accurately as possible while maintaining clarity and conciseness in Chinese.</p> <p>Sure, here's the translation of the text into simplified Chinese while keeping the HTML structure: ```html </p> <p>3. 简单集成:</p> <ul> <li>通过RESTful API轻松集成应用。</li> <li>支持流行的编程语言和框架。</li> </ul> ``` In simplified Chinese: ```html <p>3. 简单集成:</p> <ul> <li>通过RESTful API轻松集成应用。</li> <li>支持流行的编程语言和框架。</li> </ul> ```<p>Here is the translation while keeping the HTML structure: ```html 4. 可扩展性和可靠性:— 托管在 Azure 的可扩展和可靠的基础设施上,确保高可用性和性能。 ```</p> <p>在不改变HTML结构的情况下,将以下英文文本翻译成简体中文: 5. 安全与合规性:内置安全功能,并符合各种监管标准,以保护数据并确保隐私。</p> <p>To translate the given English text to simplified Chinese while keeping the HTML structure, you can use the following format: ```html </p> <p>示例用途:</p> <ol> <li>聊天机器人和虚拟助手:— 开发能理解并用自然语言回应用户查询的对话型代理。</li> </ol> ``` In this translation: - `<p>` and `</p> <ol>` are HTML tags for paragraph and ordered list, respectively. - `示例用途:` translates to "Example Use Cases:" and is wrapped in a `<p>` tag for a paragraph. - `聊天机器人和虚拟助手:` translates to "Chatbots and Virtual Assistants:" and is the first item in an ordered list (`</p> <ol>`). - `开发能理解并用自然语言回应用户查询的对话型代理。` translates to "Develop conversational agents that can understand and respond to user queries in natural language." and is the content of the first list item (`<li>`). Make sure to integrate this HTML structure into your document as needed.<p>Certainly! Here's the translation of "Content Generation: — Automatically generate articles, summaries, or creative content based on given prompts" in simplified Chinese while maintaining HTML structure: ```html </p> <p>2. 内容生成:— 根据给定的提示自动生成文章、摘要或创意内容。</p> ``` This HTML snippet includes the translated text within a paragraph (`<p>`) tag.</p> <p>Sure, here's the translation of the text "Translation and Summarization: — Translate text between languages or summarize long documents into concise versions." into simplified Chinese while keeping the HTML structure: ```html Translation and Summarization: — 翻译文本至多种语言或将长文档总结为简明版本。 ```</p> <p>To translate "Sentiment Analysis and Text Classification: — Analyze the sentiment of user feedback or classify text into different categories." into simplified Chinese while keeping the HTML structure, you would use the following: ```html 4. 情感分析与文本分类:— 分析用户反馈的情感或将文本分类到不同的类别中。 ``` This maintains the original structure with the translated text.</p> <p>Sure, here is the translation of the text into simplified Chinese while keeping the HTML structure intact: ```html </p> <p>使用Azure OpenAI服务</p> <p>设置Azure OpenAI服务:</p> <ul> <li>确保您拥有Azure账户和订阅。</li> <li>导航至Azure门户并搜索“Azure OpenAI”。</li> <li>创建一个新的Azure OpenAI资源,并按照提示进行配置。</li> </ul> ``` This HTML structure maintains the original content while presenting it in simplified Chinese.<p>Sure, here's the translated text in simplified Chinese while keeping the HTML structure intact: ```html 2. 获取API访问权限:— 服务设置完成后,转到“密钥和端点”部分获取您的API密钥和端点URL。 ``` This text maintains the structure and provides the translated content in simplified Chinese.</p> <p>To translate the provided English text into simplified Chinese, while maintaining the HTML structure, you would format it as follows: ```html </p> <p>3. 发起 API 调用:— 使用 API 密钥和终结点向 Azure OpenAI 服务发送请求。— 以下是使用 Python 发起请求的示例:</p> ``` This HTML snippet preserves the original structure and includes the translated text in simplified Chinese.<pre><span id="3746" class="pu ns gt pr b bf pv pw l px py">import requests<br><br>endpoint = "https://your-openai-endpoint.cognitiveservices.azure.com/"<br>api_key = "your-api-key"<br><br>headers = {<br> "Content-Type": "application/json",<br> "api-key": api_key<br>}<br><br>data = {<br> "prompt": "Once upon a time, in a land far away,",<br> "max_tokens": 50<br>}<br><br>response = requests.post(f"{endpoint}/v1/engines/davinci-codex/completions", headers=headers, json=data)<br>result = response.json()<br>print(result['choices'][0]['text'])</span></pre> <p>Sure, here's the translation of the text into simplified Chinese while keeping the HTML structure: ```html </p> <p>4. Fine-Tuning Models: — To fine-tune a model, you need a dataset that contains the examples you want the model to learn from. — Upload your dataset to Azure Blob Storage and use the Azure OpenAI fine-tuning API to train your custom model.</p> ``` Translated text: ```html <p>4. 微调模型: — 要对模型进行微调,您需要一个包含您希望模型学习的示例的数据集。 — 将您的数据集上传到 Azure Blob 存储,并使用 Azure OpenAI 微调 API 来训练您的定制模型。</p> ``` This translation maintains the HTML structure and accurately conveys the original message in simplified Chinese.<pre><span id="fe37" class="pu ns gt pr b bf pv pw l px py">fine_tune_data = {<br> "training_file": "https://your-storage-account.blob.core.windows.net/your-container/your-dataset.jsonl",<br> "model": "davinci-codex"<br>}<br><br>response = requests.post(f"{endpoint}/v1/models/davinci-codex/fine-tune", headers=headers, json=fine_tune_data)<br>fine_tune_result = response.json()<br>print(fine_tune_result)</span></pre> <p>Sure, here is the translated text in simplified Chinese while keeping the HTML structure intact: ```html 5. 部署和使用微调模型: — 在微调后,部署定制模型并用于推理。 — 更新您的 API 调用以使用微调模型。 ``` This translation maintains the structure of the original text and conveys the same meaning in simplified Chinese.</p> <h2>Certainly! The translation for "Summary" in simplified Chinese is: ```html 摘要 ```</h2> <p>Sure, here's the translated text in simplified Chinese while maintaining the HTML structure: ```html Azure 提供了一套全面的人工智能和机器学习服务,满足各种需求和专业水平。特别是 Azure OpenAI 服务,提供了访问强大的语言模型的途径,可集成到应用程序中,用于各种自然语言处理任务。通过利用这些工具,开发人员可以轻松构建复杂的人工智能应用程序。 ``` This HTML structure ensures the translated text can be directly integrated into web content if needed.</p> <h1>Sure, here is the text translated into simplified Chinese while keeping the HTML structure: ```html </h1> <p>数据准备和管理</p> ```</li> </ol> </ol>

Sure, the translation of "Overview" into simplified Chinese while keeping the HTML structure would be: ```html 概述 ```

Sure, here is the translated text in simplified Chinese while keeping the HTML structure intact: ```html 数据准备和管理是机器学习工作流程中关键的步骤。良好管理和预处理的数据确保人工智能模型能够有效训练并产生准确的预测结果。Azure 提供多种服务用于存储、处理和准备数据,使得处理大数据集和复杂数据流水线更加容易。 ``` If you need further assistance or have any more translations, feel free to ask!

Here is the translated text in simplified Chinese, keeping the HTML structure intact: ```html Key Azure Services for Data Preparation and Management

  1. Azure Blob Storage:
    • 描述:可扩展的对象存储服务,用于存储非结构化数据。
    • 使用案例:存储原始数据、中间处理数据和模型工件。
    • 特性:数据生命周期管理、分层存储、细粒度访问控制。
``` In simplified Chinese: ```html 重要的 Azure 数据准备和管理服务
  1. Azure Blob Storage:
    • 描述:可伸缩的对象存储服务,用于存储非结构化数据。
    • 使用案例:存储原始数据、中间处理数据和模型工件。
    • 特性:数据生命周期管理、分层存储、细粒度访问控制。
``` This HTML structure maintains the list format and translates the content into simplified Chinese as requested.

To translate "Example:" into simplified Chinese while keeping the HTML structure, you would write: ```html 例子: ``` This ensures the text "例子:" is displayed in simplified Chinese, while maintaining the HTML structure and indicating the language for proper rendering and accessibility.

from azure.storage.blob import BlobServiceClient, BlobClient, ContainerClient

connect_str = "your_connection_string"
blob_service_client = BlobServiceClient.from_connection_string(connect_str)

# Create a container
container_client = blob_service_client.create_container("mycontainer")

# Upload a file
blob_client = container_client.get_blob_client("myfile.csv")
with open("path/to/myfile.csv", "rb") as data:
blob_client.upload_blob(data)

Certainly! Here's the translation of the provided text into simplified Chinese while keeping the HTML structure intact: ```html 2. Azure Data Lake Storage: — Description: 可扩展的数据湖,用于存储大量结构化和非结构化数据。 — Use Cases: 存储用于分析、机器学习和数据仓库的大数据。 — Features: 分层命名空间,高吞吐量,安全性和合规性。 ``` In simplified Chinese characters: ```html 2. Azure Data Lake Storage: — Description: 可扩展的数据湖,用于存储大量结构化和非结构化数据。 — Use Cases: 存储用于分析、机器学习和数据仓库的大数据。 — Features: 分层命名空间,高吞吐量,安全性和合规性。 ``` Make sure to embed this HTML code appropriately in your webpage or document to maintain the structure.

Sure, here is the translation of "Example:" into simplified Chinese, while keeping the HTML structure intact: ```html 例子: ```

from azure.storage.filedatalake import DataLakeServiceClient

service_client = DataLakeServiceClient.from_connection_string("your_connection_string")

# Create a file system
file_system_client = service_client.create_file_system(file_system="myfilesystem")

# Create a file
file_client = file_system_client.create_file("myfile.csv")
with open("path/to/myfile.csv", "rb") as data:
file_client.upload_data(data, overwrite=True)

To translate the provided text into simplified Chinese while keeping the HTML structure, you can use the following: ```html 3. Azure SQL Database and Azure Cosmos DB:

  • 描述:托管的关系型数据库和NoSQL数据库服务,分别。
  • 使用场景:存储结构化数据,管理关系数据,处理全球分布式数据并实现低延迟。
  • 特性:自动扩展,高可用性,集成安全性。
``` This HTML structure maintains the list format with each item properly translated into simplified Chinese.

在保留HTML结构的情况下,将英文文本“Example for Azure SQL Database:”翻译为简体中文:

import pyodbc

conn = pyodbc.connect('DRIVER={ODBC Driver 17 for SQL Server};SERVER=your_server.database.windows.net;DATABASE=your_database;UID=your_username;PWD=your_password')
cursor = conn.cursor()

# Create a table
cursor.execute('''
CREATE TABLE mytable (
id INT PRIMARY KEY,
name NVARCHAR(50),
age INT
)
''')

# Insert data
cursor.execute('''
INSERT INTO mytable (id, name, age) VALUES (1, 'John Doe', 30)
''')
conn.commit()

在保持HTML结构的情况下,将“Example for Azure Cosmos DB:”翻译为简体中文如下: ```html 示例:Azure Cosmos DB: ``` 这样在HTML文档中,您可以使用``标签来包裹这段简体中文文本。

from azure.cosmos import CosmosClient, exceptions, PartitionKey

client = CosmosClient("your_cosmos_account_url", "your_cosmos_account_key")

# Create a database
database = client.create_database_if_not_exists(id="mydatabase")

# Create a container
container = database.create_container_if_not_exists(
id="mycontainer",
partition_key=PartitionKey(path="/id"),
offer_throughput=400
)

# Insert data
container.create_item(body={"id": "1", "name": "John Doe", "age": 30})

To translate the given text to simplified Chinese while keeping the HTML structure, you can use the following: ```html 4. Azure Data Factory:

  • — Description: 云端数据集成服务,用于创建ETL(抽取、转换、加载)和ELT(抽取、加载、转换)工作流。
  • — Use Cases: 数据迁移,数据转换,编排数据工作流。
  • — Features: 可视化界面,内置连接器,与其他Azure服务集成。
``` This HTML structure maintains the numbered list format and incorporates the translated text in simplified Chinese. Each bullet point (`
  • `) corresponds to one part of the original text: description, use cases, and features of Azure Data Factory.

    Certainly! Here's the HTML structure with the text "Example:" translated to simplified Chinese: ```html

    Translate Text to Chinese

    示例:

    ``` In this HTML structure: - `` specifies the language as simplified Chinese. - `` ensures proper character encoding. - `` provides a title for the HTML document. - `<p>示例:</p>` translates "Example:" to "示例:" in simplified Chinese within a paragraph (`<p>` element).</p> <pre><span id="037e" class="pu ns gt pr b bf pv pw l px py">from azure.identity import DefaultAzureCredential<br>from azure.mgmt.datafactory import DataFactoryManagementClient<br>from azure.mgmt.datafactory.models import *<br><br>credential = DefaultAzureCredential()<br>adf_client = DataFactoryManagementClient(credential, "your_subscription_id")<br><br>rg_name = "your_resource_group"<br>df_name = "your_data_factory"<br><br># Create a data factory<br>df_params = Factory(location="East US")<br>df_resource = adf_client.factories.create_or_update(rg_name, df_name, df_params)</span></pre> <p>To translate the provided text "Data Preparation Workflow: 1. Data Ingestion:" into simplified Chinese while maintaining the HTML structure, you would write: ```html 数据准备工作流程:1. 数据摄取: ``` This maintains the structure and accurately translates the text into simplified Chinese.</p> <p>Sure, here's the translation in simplified Chinese while keeping the HTML structure: ```html 2. 数据清洗与转换: — 清理和预处理数据,消除不一致性,并为分析做好准备。 — 使用Azure Databricks或Azure Data Factory进行数据转换任务。 ``` In this translation: - "数据清洗与转换" translates to "Data Cleaning and Transformation". - "清理和预处理数据,消除不一致性,并为分析做好准备。" translates to "Clean and preprocess data to remove inconsistencies and prepare it for analysis." - "使用Azure Databricks或Azure Data Factory进行数据转换任务。" translates to "Use Azure Databricks or Azure Data Factory for data transformation tasks."</p> <p>在保留HTML结构的情况下,将以下英文文本翻译为简体中文: 使用Azure Databricks示例:</p> <pre><span id="d738" class="pu ns gt pr b bf pv pw l px py">from pyspark.sql import SparkSession<br><br>spark = SparkSession.builder.appName("DataCleaning").getOrCreate()<br><br># Load data<br>df = spark.read.csv("path/to/data.csv", header=True, inferSchema=True)<br><br># Data cleaning<br>df_cleaned = df.dropna().dropDuplicates()<br><br># Transformation<br>df_transformed = df_cleaned.withColumn("age", df_cleaned["age"].cast("int"))<br><br># Save cleaned and transformed data<br>df_transformed.write.csv("path/to/cleaned_data.csv", header=True)</span></pre> <p>Sure, here is the translated text in simplified Chinese, maintaining the HTML structure: ```html </p> <p>3. 数据存储和管理:</p> <ul> <li>将清洗和转换后的数据存储在 Azure Blob Storage、Data Lake、SQL 数据库或 Cosmos DB 中。</li> <li>根据数据类型、数据量和访问模式选择合适的存储解决方案。</li> </ul> ``` In this HTML snippet: - `<p>` is used for paragraphs. - `</p> <ul>` and `<li>` are used for unordered lists and list items respectively.<p>To translate the given text into simplified Chinese while keeping the HTML structure intact, you can use the following: ```html 4. 数据分析与可视化: — 使用 Azure Synapse Analytics 或 Azure Databricks 进行数据分析和可视化。 — 结合 Power BI 创建交互式仪表盘和报告。 ``` In this translation: - "Data Analysis and Visualization" is translated as "数据分析与可视化". - "Use Azure Synapse Analytics or Azure Databricks for data analysis and visualization." is translated as "使用 Azure Synapse Analytics 或 Azure Databricks 进行数据分析和可视化。". - "Integrate with Power BI for interactive dashboards and reports." is translated as "结合 Power BI 创建交互式仪表盘和报告。". Make sure to insert this HTML snippet into your document where appropriate.</p> <p>在保持HTML结构的情况下,将英文文本 "Example with Azure Synapse Analytics:" 翻译成简体中文可以如下: ```html <span>使用Azure Synapse Analytics的示例:</span> ```</p> <pre><span id="8482" class="pu ns gt pr b bf pv pw l px py">from azure.synapse.spark import SynapseSpark<br><br>spark = SynapseSpark.builder.appName("DataAnalysis").getOrCreate()<br><br># Load data from Data Lake<br>df = spark.read.csv("abfss://your-container@your-storage-account.dfs.core.windows.net/path/to/data.csv", header=True, inferSchema=True)<br><br># Perform analysis<br>df_grouped = df.groupBy("category").agg({"amount": "sum"})<br><br># Show results<br>df_grouped.show()</span></pre> <p>在保持HTML结构的情况下,将以下英文文本翻译为简体中文: 数据准备和管理的最佳实践</p> <p>Sure, here's the translated text in simplified Chinese while keeping the HTML structure intact: ```html </p> <p>数据质量:</p> <ul> <li>在进行模型训练之前,确保您的数据是干净的、准确的和一致的。</li> <li>使用诸如Azure Databricks之类的工具进行数据清洗和转换。</li> </ul> ``` This HTML structure preserves the original formatting and translates the content into simplified Chinese.<p>Sure, here is the translated text in simplified Chinese while maintaining HTML structure: ```html </p> <p>2. 数据安全:</p> <ul> <li>通过加密和访问控制机制保护您的数据。</li> <li>实施Azure RBAC(基于角色的访问控制),并使用Azure Key Vault管理密钥和密码。</li> </ul> ``` This HTML snippet translates the text "Data Security:" as "数据安全:", and lists the two points in simplified Chinese as requested.<p>Sure, here's the translated text in simplified Chinese while keeping the HTML structure: ```html </p> <p> 3. 可扩展性: — 选择可扩展的存储和处理解决方案,以高效处理大型数据集。 — 使用 Azure 数据湖存储和 Azure Databricks 进行可扩展数据处理。 </p> ```<p>Sure, here is the text translated into simplified Chinese while keeping the HTML structure intact: ```html 4. 自动化: — 使用 Azure 数据工厂和 Azure Databricks 自动化重复的数据准备任务。 — 建立自动化数据管道,实现持续的数据集成和转换。 ``` In this translation: - "Automation" is translated as "自动化". - The bullet points and dashes are preserved to maintain the structure. - Azure Data Factory and Azure Databricks are translated accordingly. - The meaning of the original text regarding automating repetitive tasks and setting up automated data pipelines is retained.</p> <p>Sure, here's the translation of the text into simplified Chinese, keeping the HTML structure intact: ```html 5. 监控和日志记录: — 监视您的数据管道和存储系统,及时检测和解决问题。 — 使用 Azure Monitor 和 Azure Log Analytics 进行监控和日志记录。 ``` This HTML snippet maintains the structure while presenting the translated content in simplified Chinese.</p> <h2>Certainly! In simplified Chinese, "Summary" translates to "摘要".</h2> <p>Here is the translated text in simplified Chinese, while keeping the HTML structure: ```html Azure 提供了一套全面的工具和服务,用于数据准备和管理,帮助您更轻松地处理大数据集和复杂的数据工作流。通过利用这些工具,您可以确保您的数据得到有效管理、清洁和转换,从而实现有效的人工智能模型训练和部署。 ``` This translation maintains the HTML structure and accurately conveys the meaning of the original text in simplified Chinese.</p> <h1>在Azure上构建AI模型</h1> <h2>Sure, the translation of "Overview" to simplified Chinese, while keeping the HTML structure intact, would be: ```html <h1>概览</h1> ```</h2> <p>Sure, here is the translated text in simplified Chinese, keeping the HTML structure intact: ```html </p> <p>构建AI模型涉及几个关键步骤,从数据准备和模型训练到部署和监控。Azure提供了一套全面的工具和服务,以便完成每一个步骤,确保您可以构建健壮且可扩展的AI模型。在本章中,我们将探讨如何使用Azure机器学习和其他工具来训练、评估和部署机器学习模型。</p> ``` This HTML snippet contains the translated text in simplified Chinese, ready to be used in a web page or document while preserving its structural formatting.<p>Sure, here's how you can write "Key Tools and Services for Building AI Models" in simplified Chinese while keeping the HTML structure intact: ```html <span>构建AI模型的关键工具和服务</span> ```</p> <p>Certainly! Here is the translated text in simplified Chinese, keeping the HTML structure intact: ```html 1. <strong>Azure 机器学习:</strong> — 描述:一个基于云的服务,用于构建、训练和部署机器学习模型。 — 特点:支持流行的框架如 TensorFlow、PyTorch 和 scikit-learn;提供自动化机器学习 (AutoML)、模型生命周期管理的 MLOps,以及与其他 Azure 服务的集成。 ``` In this translation: - `<strong>` tags are used for emphasizing "Azure 机器学习" (Azure Machine Learning) in bold. - The rest of the text is translated directly while maintaining the bullet points and the structure of the description and features.</strong></p> <p>Certainly! Here's the translated text in simplified Chinese, keeping the HTML structure intact: ```html 2. Azure Databricks: — 描述:基于 Apache Spark 的分析平台,专为 Azure 优化。 — 特性:协作笔记本、集成机器学习环境,与 Azure 机器学习无缝集成,用于模型训练和部署。 ``` This HTML structure will display the translated text correctly while maintaining the formatting.</p> <p>Sure, here's how you can structure the HTML while translating the text into simplified Chinese: ```html </p> <p> 3. Azure Cognitive Services: — Description: Pre-built AI models for vision, speech, language, and decision-making tasks. — Features: Easy integration through APIs, supports custom model training, and fine-tuning. </p> ``` Translated text in simplified Chinese: ```html <p> 3. Azure认知服务: — 描述:为视觉、语音、语言和决策任务提供预构建的AI模型。 — 特点:通过API轻松集成,支持定制模型训练和微调。 </p> ``` This HTML structure maintains the original formatting and incorporates the translated text in simplified Chinese.<p>To translate the given text to simplified Chinese while keeping the HTML structure intact, you would represent it as follows: ```html 4. Azure Synapse Analytics: — Description: An integrated analytics service for big data and data warehousing. — Features: Data integration, exploration, and visualization capabilities, with built-in machine learning support. ``` And the translated text in simplified Chinese would be: ```html 4. Azure Synapse Analytics: — 描述:一个集成的大数据和数据仓库分析服务。 — 特点:具有数据集成、探索和可视化功能,并支持内置的机器学习。 ``` Make sure to replace the original text with the translated Chinese text while maintaining the original HTML structure provided.</p> <p>To translate the given English text to simplified Chinese while keeping the HTML structure, you can use the following format: ```html Steps for Building AI Models on Azure 1. Data Preparation - Azure Blob Storage: — 存储您的原始数据和处理后的数据。 — 使用 Azure Data Factory 或 Azure Databricks 进行数据预处理和清洗。 ``` This HTML structure preserves the original formatting and content while presenting the translation in simplified Chinese.</p> <p>Certainly! Here's the simplified Chinese translation of "Example:" while keeping the HTML structure: ```html <span lang="zh-CN">例子:</span> ```</p> <pre><span id="64d6" class="pu ns gt pr b bf pv pw l px py">from azure.storage.blob import BlobServiceClient, BlobClient, ContainerClient<br><br>connect_str = "your_connection_string"<br>blob_service_client = BlobServiceClient.from_connection_string(connect_str)<br><br># Upload a file<br>blob_client = blob_service_client.get_blob_client(container="mycontainer", blob="myfile.csv")<br>with open("path/to/myfile.csv", "rb") as data:<br> blob_client.upload_blob(data)</span></pre> <p>Certainly! Here's the translation of the text into simplified Chinese while keeping the HTML structure: ```html </p> <p>2. 模型训练- Azure 机器学习: — 创建 Azure 机器学习工作区。 — 使用工作区管理实验、计算资源和数据集。</p> ``` In this HTML snippet, the text "2. 模型训练- Azure 机器学习:" corresponds to "2. Model Training- Azure Machine Learning:", and the bullet points are translated accordingly.<p>To translate the text "Example:" to simplified Chinese while keeping the HTML structure intact, you would use the following: ```html <span lang="zh-CN">示例:</span> ``` This HTML code ensures that the text "示例:" is displayed as "Example:" in English but appears in simplified Chinese characters.</p> <pre><span id="1a4b" class="pu ns gt pr b bf pv pw l px py">from azureml.core import Workspace, Dataset<br>from azureml.train.automl import AutoMLConfig<br>from azureml.core.experiment import Experiment<br><br># Connect to the workspace<br>ws = Workspace.from_config()<br><br># Load the dataset<br>dataset = Dataset.get_by_name(ws, name="your_dataset_name")<br><br># Configure AutoML<br>automl_config = AutoMLConfig(<br> task='classification',<br> primary_metric='AUC_weighted',<br> training_data=dataset,<br> label_column_name='target',<br> compute_target='your_compute_cluster',<br> max_trials=10<br>)<br><br># Create an experiment<br>experiment = Experiment(ws, "automl_classification")<br>run = experiment.submit(automl_config, show_output=True)</span></pre> <p>Certainly! Here's the translated text in simplified Chinese while keeping the HTML structure: ```html </p> <p>Azure Databricks: — 使用 Databricks 笔记本进行数据探索、特征工程和模型训练。 — 与 Azure 机器学习集成,实现无缝模型部署。</p> ``` This HTML snippet preserves the structure while presenting the translated text.<p>Certainly! Here is the translation of "Example:" into simplified Chinese, while keeping the HTML structure: ```html <span lang="zh-CN">示例:</span> ``` This HTML code snippet ensures that the text "示例:" is marked as simplified Chinese for proper rendering and accessibility.</p> <pre><span id="3ba2" class="pu ns gt pr b bf pv pw l px py">from pyspark.sql import SparkSession<br><br>spark = SparkSession.builder.appName("ModelTraining").getOrCreate()<br><br># Load data<br>df = spark.read.csv("path/to/data.csv", header=True, inferSchema=True)<br><br># Feature engineering<br>df_transformed = df.withColumn("feature", df["column1"] * df["column2"])<br><br># Train a model<br>from pyspark.ml.classification import LogisticRegression<br><br>lr = LogisticRegression(featuresCol="features", labelCol="label")<br>model = lr.fit(df_transformed)<br><br># Save the model<br>model.save("path/to/save/model")</span></pre> <p>To translate the given text into simplified Chinese and maintain the HTML structure, you can use the following: ```html 3. 模型评估- 评估模型: — 使用准确率、精确率、召回率和F1分数等评估指标来评估模型性能。 ``` This HTML snippet keeps the structure intact while displaying the translated text in simplified Chinese.</p> <p>To translate the text "Example:" into simplified Chinese while keeping the HTML structure, you would use the following: ```html <span lang="zh-CN">示例:</span> ``` This HTML snippet ensures that the text "示例:" is rendered in simplified Chinese, and the `span` element helps to maintain the structure of your HTML document.</p> <pre><span id="b55a" class="pu ns gt pr b bf pv pw l px py">from sklearn.metrics import classification_report<br><br>y_true = [0, 1, 1, 0, 1]<br>y_pred = [0, 1, 0, 0, 1]<br><br>report = classification_report(y_true, y_pred, target_names=['class 0', 'class 1'])<br>print(report)</span></pre> <p>在保持HTML结构的情况下,将以下英文文本翻译为简体中文: ```html </p> <p><strong>超参数调优:</strong>使用Azure Machine Learning的HyperDrive进行超参数调优。</p> ``` 这是在HTML段落标签中应用的简体中文翻译,保留了原始文本的强调和结构。<p>To translate the text "Example:" into simplified Chinese while keeping the HTML structure, you would write: ```html <span lang="zh-CN">示例:</span> ``` This HTML snippet ensures that the text "示例:" is displayed in simplified Chinese.</p> <pre><span id="4d1b" class="pu ns gt pr b bf pv pw l px py">from azureml.train.hyperdrive import HyperDriveConfig, RandomParameterSampling, choice<br><br>param_sampling = RandomParameterSampling({<br> "learning_rate": choice(0.01, 0.1, 1.0),<br> "batch_size": choice(16, 32, 64)<br>})<br><br>hyperdrive_config = HyperDriveConfig(<br> run_config=automl_config,<br> hyperparameter_sampling=param_sampling,<br> primary_metric_name="accuracy",<br> primary_metric_goal=PrimaryMetricGoal.MAXIMIZE,<br> max_total_runs=10<br>)<br><br>hyperdrive_run = experiment.submit(hyperdrive_config)</span></pre> <p>Sure, here is the text translated into simplified Chinese while keeping the HTML structure intact: ```html 4. 模型部署 - Azure 机器学习:— 将训练好的模型部署为 Web 服务。 ``` In this translation: - "Model Deployment" is translated as "模型部署". - "Azure Machine Learning" remains as "Azure 机器学习". - "Deploy the trained model as a web service" is translated as "将训练好的模型部署为 Web 服务".</p> <p>Certainly! Here is the translated text in simplified Chinese, formatted in an HTML structure: ```html </p> <p>例子:</p> ``` This HTML code will display the translated text "例子:" in your web page.<pre><span id="5166" class="pu ns gt pr b bf pv pw l px py">from azureml.core import Model<br>from azureml.core.webservice import AciWebservice, Webservice<br><br># Register the model<br>model = Model.register(workspace=ws, model_path="path/to/model", model_name="my_model")<br><br># Define deployment configuration<br>aci_config = AciWebservice.deploy_configuration(cpu_cores=1, memory_gb=1)<br><br># Deploy the model<br>service = Model.deploy(workspace=ws, name="my-service", models=[model], inference_config=inference_config, deployment_config=aci_config)<br>service.wait_for_deployment(show_output=True)<br><br>print(service.scoring_uri)</span></pre> <p>Certainly! Here's the translation of the text into simplified Chinese while keeping the HTML structure intact: ```html Azure Kubernetes Service (AKS): — 将模型部署到 AKS 以实现可伸缩和高性能推理。 ``` In this translation: - "Azure Kubernetes Service (AKS)" remains in English since it's a proper noun. - The rest of the sentence is translated into simplified Chinese.</p> <p>Certainly! Here's the translation of "Example:" into simplified Chinese within an HTML structure: ```html <span lang="zh-CN">示例:</span> ``` This HTML code will display "示例:" in simplified Chinese on a web page.</p> <pre><span id="72bc" class="pu ns gt pr b bf pv pw l px py">from azureml.core.webservice import AksWebservice, AksCompute<br><br># Create AKS cluster<br>aks_target = AksCompute.create(ws, name="myakscluster", agent_count=3, vm_size="Standard_D2_v2")<br><br># Define AKS deployment configuration<br>aks_config = AksWebservice.deploy_configuration(cpu_cores=1, memory_gb=1)<br><br># Deploy the model to AKS<br>service = Model.deploy(workspace=ws, name="my-aks-service", models=[model], inference_config=inference_config, deployment_config=aks_config, deployment_target=aks_target)<br>service.wait_for_deployment(show_output=True)<br><br>print(service.scoring_uri)</span></pre> <p>Certainly! Here is the translated text in simplified Chinese while keeping the HTML structure intact: ```html 5. 模型监控与管理- Azure 机器学习: — 使用 Azure 机器学习的监控功能监视部署的模型。 — 跟踪模型性能,检测数据漂移,并根据需要重新训练模型。 ``` This HTML structure preserves the content while allowing it to be displayed or processed in an HTML context if needed.</p> <p>To translate "Example:" to simplified Chinese while keeping the HTML structure, you would write: ```html <span lang="zh-CN">例子:</span> ``` This HTML code specifies that the text "例子:" should be displayed in simplified Chinese.</p> <pre><span id="aae2" class="pu ns gt pr b bf pv pw l px py">from azureml.monitoring import ModelDataCollector<br><br>data_collector = ModelDataCollector(model_name, inputs="input_data", outputs="predictions")<br><br>def run(data):<br> data_collector.capture(inputs=data, outputs=predictions)<br> return predictions</span></pre> <h2>Certainly! Here is "Summary" translated to simplified Chinese while keeping the HTML structure: ```html <span>总结</span> ```</h2> <p>Azure 提供了一套全面的工具和服务,用于构建、训练和部署 AI 模型。通过利用 Azure 机器学习、Databricks 和其他服务,您可以构建强大且可扩展的 AI 解决方案,以满足您的特定需求。从数据准备到模型部署和监控,Azure 提供了必要的工具来管理整个机器学习生命周期。</p> <h1>在保留HTML结构的情况下,将英文文本“Creating and Managing Plugins”翻译成简体中文为:“创建和管理插件”。</h1> <h2>Sure, the translation of "Overview" to simplified Chinese while keeping the HTML structure would be: ```html 概述 ```</h2> <p>Sure, here is the text translated to simplified Chinese, keeping the HTML structure: ```html </p> <p>插件是模块化组件,可以通过添加新功能、处理额外数据类型或自定义输出来增强您的 AI 解决方案的功能。在本章中,我们将介绍如何开发自定义插件,将它们集成到 Azure 服务中,并使用 Azure 函数来执行插件。</p> ``` This HTML snippet contains the translated text with the same structural elements as the original English text.<p>Sure, here's the translation of the text into simplified Chinese while keeping the HTML structure intact: ```html Key Concepts and Tools 1. Plugins: — Modular components that extend the functionality of your applications. — Can be used for tasks like data preprocessing, feature extraction, and custom model inference. ``` Translated into simplified Chinese: ```html 关键概念和工具 1. 插件: — 模块化组件,用于扩展应用程序的功能。 — 可用于数据预处理、特征提取和自定义模型推断等任务。 ```</p> <p>To translate the given text to simplified Chinese and maintain HTML structure, you can use the following: ```html 2. Azure Functions: — 一个无服务器计算服务,允许您运行基于事件驱动的代码,无需管理基础设施。 — 适合执行插件并将其与其他 Azure 服务集成。 ``` This HTML structure preserves the numbered list format while incorporating the simplified Chinese translation of the text.</p> <p>Sure, here's the translated text in simplified Chinese while keeping the HTML structure intact: ```html 3. 与Azure服务集成:— 插件可以与Azure服务(如Azure机器学习、Blob存储和认知服务)进行集成。— Azure函数可以根据事件或HTTP请求触发这些集成。 ``` This HTML structure preserves the formatting and can be used directly in web content.</p> <p>To translate the given text "Developing Custom Plugins 1. Setting Up the Development Environment - Ensure you have the necessary tools installed, including Azure CLI and Visual Studio Code. — Create an Azure Function App to host your plugins." into simplified Chinese while keeping the HTML structure, you can use the following: ```html </p> <p>开发自定义插件</p> <p>1. 设置开发环境</p> <ul> <li>确保您已安装必要的工具,包括 Azure CLI 和 Visual Studio Code。</li> <li>创建一个 Azure Function 应用来托管您的插件。</li> </ul> ``` This HTML structure preserves the numbered list and bullet points, which are commonly used for technical documentation.<pre><span id="e18f" class="pu ns gt pr b bf pv pw l px py"># Install Azure Functions Core Tools<br>npm install -g azure-functions-core-tools@3 --unsafe-perm true<br><br># Create a new Function App<br>func init MyFunctionApp --javascript<br>cd MyFunctionApp<br>func new --name MyPluginFunction --template "HTTP trigger"</span></pre> <p>To translate the English text "2. Creating a Basic Plugin- Define the functionality of your plugin. For example, a plugin to preprocess text before feeding it to an AI model." into simplified Chinese while keeping HTML structure, you can use the following: ```html 2. 创建基础插件 - 定义插件的功能。例如,一个用于在将文本馈送到AI模型之前预处理文本的插件。 ``` This HTML snippet maintains the original formatting and includes the translated text in simplified Chinese.</p> <pre><span id="244a" class="pu ns gt pr b bf pv pw l px py">module.exports = async function (context, req) {<br> const inputText = req.body.text;<br> const cleanedText = cleanText(inputText);<br> context.res = {<br> body: { cleanedText }<br> };<br>};<br><br>function cleanText(text) {<br> // Example cleaning process<br> return text.toLowerCase().replace(/[^\w\s]/gi, '');<br>}</span></pre> <p>Sure, here is the translated text in simplified Chinese while keeping the HTML structure: ```html 3. 使用Azure Functions部署插件- 将您的函数应用部署到Azure。 ``` This HTML code maintains the structure while presenting the translated text in simplified Chinese.</p> <pre><span id="b14b" class="pu ns gt pr b bf pv pw l px py">az login<br>az account set --subscription "your-subscription-id"<br><br># Create a resource group<br>az group create --name MyResourceGroup --location eastus<br><br># Create a storage account<br>az storage account create --name mystorageaccount --location eastus --resource-group MyResourceGroup --sku Standard_LRS<br><br># Create a Function App<br>az functionapp create --resource-group MyResourceGroup --consumption-plan-location eastus --runtime node --functions-version 3 --name MyFunctionApp --storage-account mystorageaccount<br><br># Deploy the Function App<br>func azure functionapp publish MyFunctionApp</span></pre> <p>Certainly! Here's the translated text in simplified Chinese, while keeping the HTML structure intact: ```html 4. 使用Azure函数与其他Azure服务集成- 使用Azure函数与Azure机器学习或认知服务等其他Azure服务进行交互。 ``` This translation maintains the structure of the original English text within an HTML context.</p> <p>Certainly! Here's the translation of "Example: Integrating with Azure Machine Learning" into simplified Chinese while keeping the HTML structure: ```html <span lang="zh-CN">示例:与Azure机器学习集成</span> ```</p> <pre><span id="4810" class="pu ns gt pr b bf pv pw l px py">const axios = require('axios');<br><br>module.exports = async function (context, req) {<br> const inputText = req.body.text;<br> const cleanedText = cleanText(inputText);<br><br> const amlResponse = await callAzureMLService(cleanedText);<br><br> context.res = {<br> body: { cleanedText, amlResponse }<br> };<br>};<br><br>function cleanText(text) {<br> // Example cleaning process<br> return text.toLowerCase().replace(/[^\w\s]/gi, '');<br>}<br><br>async function callAzureMLService(text) {<br> const endpoint = "https://your-azureml-endpoint";<br> const apiKey = "your-api-key";<br><br> const response = await axios.post(endpoint, { text }, {<br> headers: { 'Authorization': `Bearer ${apiKey}` }<br> });<br><br> return response.data;<br>}</span></pre> <p>在保持HTML结构的前提下,将以下英文文本翻译为简体中文: 5. 创建并使用数据预处理插件 - 开发一个插件,用于执行数据预处理,比如对数值进行归一化或对分类特征进行编码。</p> <p>Sure, here is the text "Normalizing Numerical Values" translated to simplified Chinese while keeping the HTML structure: ```html <span>规范化数值</span> ```</p> <pre><span id="411f" class="pu ns gt pr b bf pv pw l px py">module.exports = async function (context, req) {<br> const data = req.body.data;<br> const normalizedData = normalizeData(data);<br> context.res = {<br> body: { normalizedData }<br> };<br>};<br><br>function normalizeData(data) {<br> const min = Math.min(...data);<br> const max = Math.max(...data);<br> return data.map(value => (value - min) / (max - min));<br>}</span></pre> <p>在保持HTML结构的情况下,将以下英文文本翻译为简体中文: 6. 使用Azure Functions触发插件执行 - 配置Azure Functions以基于事件或HTTP请求触发插件执行。</p> <p>Sure, here is the translation of "Example: HTTP Trigger" into simplified Chinese, while maintaining HTML structure: ```html <span lang="zh-CN">示例:HTTP 触发器</span> ```</p> <pre><span id="6967" class="pu ns gt pr b bf pv pw l px py">module.exports = async function (context, req) {<br> const data = req.body.data;<br> const processedData = processData(data);<br> context.res = {<br> body: { processedData }<br> };<br>};<br><br>function processData(data) {<br> // Your processing logic here<br> return data.map(value => value * 2);<br>}</span></pre> <p>Sure, here is the translation in simplified Chinese while keeping the HTML structure intact: ```html <span>示例:Blob 触发器</span> ```</p> <pre><span id="f738" class="pu ns gt pr b bf pv pw l px py">const { BlobServiceClient } = require('@azure/storage-blob');<br><br>module.exports = async function (context, blob) {<br> const processedData = processBlob(blob);<br> context.log('Blob processed:', processedData);<br>};<br><br>function processBlob(blob) {<br> // Your processing logic here<br> return blob.toString().toUpperCase();<br>}</span></pre> <h2>Certainly! In simplified Chinese, "Summary" is translated as "总结".</h2> <p>Sure, here is the translated text in simplified Chinese, formatted in HTML structure: ```html </p> <p>在Azure上创建和管理插件可以扩展您的AI解决方案的能力,实现定制化处理和功能。通过利用Azure Functions并与其他Azure服务集成,您可以构建可扩展和高效的插件,从而增强您的AI工作流程。</p> ```<h1>Sure, here is the text translated to simplified Chinese, keeping HTML structure: ```html <span lang="zh-CN">真实世界应用案例和示例</span> ```</h1> <h2>Certainly! In simplified Chinese, "Overview" would be translated as "概述".</h2> <p>Sure, here's the translation of the text into simplified Chinese, keeping the HTML structure: ```html </p> <p>本章探讨了构建在微软Azure上的AI解决方案的真实用例和示例。这些例子展示了各行各业如何利用Azure的AI和机器学习服务来解决复杂问题,提高效率并进行创新。</p> ``` In Chinese: ```html <p>本章探索了构建在微软Azure上的AI解决方案的真实用例和示例。这些例子展示了各行各业如何利用Azure的AI和机器学习服务来解决复杂问题,提高效率并进行创新。</p> ```<p>Sure, here's the translated text in simplified Chinese while keeping the HTML structure intact: ```html </p> <p>使用案例 1:医疗健康中的图像识别</p> <p>问题:自动化医学图像(如X光和MRI)的诊断,以识别异常并帮助医生进行准确诊断。</p> <p>解决方案:使用Azure的认知服务和机器学习构建并部署图像识别模型。</p> ```<p>Here is the translated text in simplified Chinese, while keeping the HTML structure intact: ```html 1. 数据收集与准备: — 收集和标注医学图像数据集。 — 将图像存储在 Azure Blob 存储中。 ```</p> <p>Sure, here's the translated text in simplified Chinese, maintaining the HTML structure: ```html </p> <p>示例:</p> ``` In Chinese, "Example" translates to "示例" (shìlì).<pre><span id="9708" class="pu ns gt pr b bf pv pw l px py">from azure.storage.blob import BlobServiceClient<br><br>connect_str = "your_connection_string"<br>blob_service_client = BlobServiceClient.from_connection_string(connect_str)<br><br># Create a container<br>container_client = blob_service_client.create_container("medical-images")<br><br># Upload an image<br>blob_client = container_client.get_blob_client("image1.jpg")<br>with open("path/to/image1.jpg", "rb") as data:<br> blob_client.upload_blob(data)</span></pre> <p>To translate the given English text "Training an Image Recognition Model with Azure Machine Learning: — Use Azure Machine Learning to train a custom image classification model." into simplified Chinese while keeping HTML structure, you would write: ```html 训练图像识别模型使用Azure机器学习:— 使用Azure机器学习训练自定义图像分类模型。 ``` This HTML code ensures that the translated text is displayed correctly on a webpage while preserving the structure of the content.</p> <p>Sure, here's the translated text in simplified Chinese: 例子:</p> <pre><span id="baae" class="pu ns gt pr b bf pv pw l px py">from azureml.core import Workspace, Dataset, Experiment<br>from azureml.train.automl import AutoMLConfig<br><br># Connect to workspace<br>ws = Workspace.from_config()<br><br># Create dataset<br>datastore = ws.get_default_datastore()<br>dataset = Dataset.File.from_files((datastore, 'medical-images/'))<br><br># Define AutoML settings<br>automl_config = AutoMLConfig(<br> task='image-classification',<br> training_data=dataset,<br> label_column_name='label',<br> compute_target='your_compute_cluster',<br> iterations=10<br>)<br><br># Run experiment<br>experiment = Experiment(ws, "image-classification")<br>run = experiment.submit(automl_config, show_output=True)</span></pre> <p>在 HTML 结构中保持不变,将以下英文文本翻译成简体中文: 3. 部署模型:— 使用 Azure 机器学习将训练好的模型部署为 Web 服务。</p> <p>Certainly! Here's the translated text in simplified Chinese, keeping the HTML structure intact: ```html </p> <p>例子:</p> ```<pre><span id="5573" class="pu ns gt pr b bf pv pw l px py">from azureml.core import Model<br>from azureml.core.webservice import AciWebservice, Webservice<br><br># Register the model<br>model = Model.register(workspace=ws, model_path="outputs/model.pkl", model_name="medical_image_model")<br><br># Define deployment configuration<br>aci_config = AciWebservice.deploy_configuration(cpu_cores=1, memory_gb=1)<br><br># Deploy the model<br>service = Model.deploy(workspace=ws, name="medical-image-service", models=[model], inference_config=inference_config, deployment_config=aci_config)<br>service.wait_for_deployment(show_output=True)</span></pre> <p>To translate "Making Predictions: — Use the deployed model to analyze new medical images and predict abnormalities." into simplified Chinese while keeping the HTML structure, you can use the following: ```html </p> <p>4. Making Predictions: — 使用部署的模型分析新的医学图像并预测异常。</p> ``` This HTML snippet retains the original English text formatting and provides the simplified Chinese translation.<p>To translate the English text "Example:" to simplified Chinese while keeping the HTML structure, you would write: ```html <span lang="zh-CN">例子:</span> ``` This HTML code uses the `<span>` tag with the `lang` attribute set to `zh-CN` for simplified Chinese, enclosing the translated text "例子:"</span></p> <pre><span id="e209" class="pu ns gt pr b bf pv pw l px py">import requests<br><br>url = "http://medical-image-service.azurewebsites.net/score"<br>image_path = "path/to/new_image.jpg"<br><br>with open(image_path, "rb") as image:<br> response = requests.post(url, files={"file": image})<br><br>print(response.json())</span></pre> <p>在客户支持中的自然语言处理应用案例2:问题是通过理解和处理自然语言自动化回复客户查询。</p> <p>To translate the provided English text into simplified Chinese while keeping the HTML structure intact, you can use the following: ```html Solution: Use Azure’s Cognitive Services and Machine Learning to build a conversational AI chatbot.1. Building a Dialogflow Agent: — Create and configure a Dialogflow agent for customer support. ``` Translated into simplified Chinese: ```html 解决方案:使用Azure的认知服务和机器学习构建会话式人工智能聊天机器人。1. 构建 Dialogflow 代理:— 创建并配置一个用于客户支持的 Dialogflow 代理。 ``` This HTML snippet maintains the structure and translates the text accordingly.</p> <p>To translate the text "Example:" to simplified Chinese and keep the HTML structure intact, you can use the following: ```html <span lang="zh-CN">例子:</span> ``` This HTML snippet ensures the text "例子:" is displayed as "Example:" in English but with the correct Chinese translation.</p> <pre><span id="3160" class="pu ns gt pr b bf pv pw l px py">from google.cloud import dialogflow_v2 as dialogflow<br><br>client = dialogflow.AgentsClient()<br>project_agent_path = client.project_path('YOUR_PROJECT_ID')<br><br>agent = {<br> "display_name": "customer_support_agent",<br> "default_language_code": "en",<br> "time_zone": "America/Los_Angeles",<br>}<br><br>response = client.set_agent(request={"agent": agent})</span></pre> <p>Certainly! Here's the text translated into simplified Chinese while keeping the HTML structure: ```html 2. 创建意图和训练:— 为常见客户查询定义意图并训练代理。 ``` In this translation: - "Creating Intents and Training" is translated as "创建意图和训练". - "Define intents for common customer queries and train the agent." is translated as "为常见客户查询定义意图并训练代理。"</p> <p>To translate "Example:" into simplified Chinese within an HTML structure, you can use the following code snippet: ```html <span lang="zh">示例:</span> ``` This HTML snippet sets the language attribute (`lang="zh"`) to indicate simplified Chinese and wraps the text "示例:" within a `<span>` element, preserving the HTML structure.</span></p> <pre><span id="d73c" class="pu ns gt pr b bf pv pw l px py">intent_client = dialogflow.IntentsClient()<br>parent = intent_client.agent_path('YOUR_PROJECT_ID')<br><br>training_phrases = [<br> dialogflow.Intent.TrainingPhrase(parts=[{"text": "How do I reset my password?"}]),<br> dialogflow.Intent.TrainingPhrase(parts=[{"text": "Where is my order?"}]),<br>]<br><br>message = dialogflow.Intent.Message(text={"text": ["You can reset your password by clicking on the 'Forgot Password' link."]})<br><br>intent = dialogflow.Intent(<br> display_name="password_reset",<br> training_phrases=training_phrases,<br> messages=[message],<br>)<br><br>response = intent_client.create_intent(request={"parent": parent, "intent": intent})</span></pre> <p>在保持HTML结构的情况下,将以下英文文本翻译成简体中文: 3. 与客户支持系统集成:— 部署Dialogflow代理并将其与您现有的客户支持系统集成。</p> <p>To translate "Example:" into simplified Chinese while keeping the HTML structure intact, you would write: ```html <span lang="zh-CN">例子:</span> ``` This HTML snippet specifies that the text "例子:" is in simplified Chinese language (zh-CN).</p> <pre><span id="f668" class="pu ns gt pr b bf pv pw l px py">session_client = dialogflow.SessionsClient()<br>session = session_client.session_path('YOUR_PROJECT_ID', 'unique_session_id')<br><br>text_input = dialogflow.TextInput(text="How do I reset my password?", language_code="en")<br>query_input = dialogflow.QueryInput(text=text_input)<br><br>response = session_client.detect_intent(request={"session": session, "query_input": query_input})<br>print(response.query_result.fulfillment_text)</span></pre> <p>Sure, here's the translation of the text into simplified Chinese, keeping the HTML structure: ```html 4. 分析客户情感:— 使用Azure文本分析API分析客户互动中的情感。 ``` This HTML snippet retains the structure while providing the translated text in simplified Chinese.</p> <p>To translate the text "Example:" to simplified Chinese while keeping the HTML structure intact, you would use the following: ```html <span lang="zh-CN">例子:</span> ``` This HTML structure ensures that the text "例子:" is displayed in simplified Chinese, while indicating the language for proper rendering and accessibility.</p> <pre><span id="305f" class="pu ns gt pr b bf pv pw l px py">from azure.ai.textanalytics import TextAnalyticsClient<br>from azure.core.credentials import AzureKeyCredential<br><br>endpoint = "https://your-text-analytics.cognitiveservices.azure.com/"<br>key = "your-text-analytics-key"<br><br>text_analytics_client = TextAnalyticsClient(endpoint=endpoint, credential=AzureKeyCredential(key))<br><br>documents = ["I am very happy with your service!", "I am not satisfied with the product."]<br><br>response = text_analytics_client.analyze_sentiment(documents=documents)<br>for doc in response:<br> print(f"Sentiment: {doc.sentiment}, Confidence Scores: {doc.confidence_scores}")</span></pre> <p>Here is the translated text in simplified Chinese, keeping the HTML structure: ```html Use Case 3: 预测性维护在制造业中的应用 Problem: 预测设备故障以减少停机时间和维护成本。 Solution: 使用 Azure 机器学习和 Azure Synapse Analytics 来构建预测性维护模型。 ```</p> <p>Sure, here's the translation in simplified Chinese while keeping the HTML structure: ```html </p> <p>数据收集与存储:— 收集设备传感器数据并存储在 Azure Blob Storage 中。</p> ```<p>To translate "Example:" into simplified Chinese within an HTML structure, you would use the following: ```html <span lang="zh-CN">例子:</span> ``` This HTML snippet ensures that the text "例子:" is marked as simplified Chinese (`zh-CN`).</p> <pre><span id="ce31" class="pu ns gt pr b bf pv pw l px py">from azure.storage.blob import BlobServiceClient<br><br>connect_str = "your_connection_string"<br>blob_service_client = BlobServiceClient.from_connection_string(connect_str)<br><br># Create a container<br>container_client = blob_service_client.create_container("sensor-data")<br><br># Upload sensor data<br>blob_client = container_client.get_blob_client("data.csv")<br>with open("path/to/data.csv", "rb") as data:<br> blob_client.upload_blob(data)</span></pre> <p>在 Azure 机器学习中训练预测模型:使用 Azure 机器学习训练预测维护模型。</p> <p>Sure, here's the text translated to simplified Chinese while keeping the HTML structure intact: ```html </p> <p>例子:</p> ``` This HTML code displays "例子:" in simplified Chinese, maintaining the structure for web content.<pre><span id="7a99" class="pu ns gt pr b bf pv pw l px py">from azureml.core import Workspace, Dataset, Experiment<br>from azureml.train.automl import AutoMLConfig<br><br># Connect to workspace<br>ws = Workspace.from_config()<br><br># Create dataset<br>datastore = ws.get_default_datastore()<br>dataset = Dataset.Tabular.from_delimited_files(path=(datastore, 'sensor-data/data.csv'))<br><br># Define AutoML settings<br>automl_config = AutoMLConfig(<br> task='classification',<br> training_data=dataset,<br> label_column_name='failure',<br> compute_target='your_compute_cluster',<br> iterations=10<br>)<br><br># Run experiment<br>experiment = Experiment(ws, "predictive-maintenance")<br>run = experiment.submit(automl_config, show_output=True)</span></pre> <p>To translate "Deploying the Model: — Deploy the trained model as a web service using Azure Machine Learning" into simplified Chinese while keeping the HTML structure, you can use the following: ```html </p> <p>部署模型:— 使用Azure机器学习将训练好的模型部署为Web服务。</p> ``` This HTML code wraps the translated Chinese text in a `<p>` (paragraph) tag, maintaining the structure and allowing for easy integration into web content.</p> <p>To translate "Example:" into simplified Chinese and keep the HTML structure intact, you would write: ```html <span lang="zh-CN">例子:</span> ``` This HTML snippet ensures that the text "例子:" is displayed in simplified Chinese, while preserving the HTML structure for localization purposes.</p> <pre><span id="509a" class="pu ns gt pr b bf pv pw l px py">from azureml.core import Model<br>from azureml.core.webservice import AciWebservice, Webservice<br><br># Register the model<br>model = Model.register(workspace=ws, model_path="outputs/model.pkl", model_name="predictive_maintenance_model")<br><br># Define deployment configuration<br>aci_config = AciWebservice.deploy_configuration(cpu_cores=1, memory_gb=1)<br><br># Deploy the model<br>service = Model.deploy(workspace=ws, name="predictive-maintenance-service", models=[model], inference_config=inference_config, deployment_config=aci_config)<br>service.wait_for_deployment(show_output=True)</span></pre> <p>Certainly! Here's the translated text in simplified Chinese, while keeping the HTML structure intact: ```html 4. 使用预测模型进行维护决策:— 使用部署的模型预测设备故障并相应安排维护。 ``` This HTML structure preserves the original formatting while providing the translated text in simplified Chinese.</p> <p>Here's the translated text in simplified Chinese while maintaining HTML structure: ```html </p> <p>示例:</p> ``` In this translation: - `<p>` and `</p>` are HTML tags denoting a paragraph. - "示例:" is the simplified Chinese translation of "Example:".<pre><span id="29d0" class="pu ns gt pr b bf pv pw l px py">import requests<br><br>url = "http://predictive-maintenance-service.azurewebsites.net/score"<br>data = {"sensor_readings": [0.1, 0.5, 0.3, 0.4, 0.2]}<br><br>response = requests.post(url, json=data)<br>print(response.json())</span></pre> <h2>To translate "Summary" into simplified Chinese while keeping the HTML structure intact, you would use the following: ```html <span lang="zh-CN">总结</span> ``` This HTML snippet embeds the Chinese translation "总结" with the appropriate language attribute for simplified Chinese (`lang="zh-CN"`).</h2> <p>Sure, here is the translated text in simplified Chinese while keeping the HTML structure intact: ```html </p> <p>这些实际应用案例展示了Azure人工智能和机器学习服务在各行各业中的多功能性和强大性。通过利用Azure机器学习、认知服务和Synapse分析等工具,企业可以构建创新解决方案,解决复杂挑战,提高效率并推动增长。</p> ``` This HTML code contains the translated text in simplified Chinese, suitable for embedding in web content while preserving the structure.<h1>Sure, here is the text "Coding Examples and Templates" translated to simplified Chinese while keeping the HTML structure: ```html <span lang="zh-CN">编程示例和模板</span> ```</h1> <h2>To translate "Overview" into simplified Chinese while keeping the HTML structure intact, you would write: ```html 概述 ``` In HTML, this would typically appear within tags like `<h1>`, `<h2>`, `</h2> </h1> </h2> <p>`, or any other appropriate container depending on the context.</p> <p>这一章节提供了使用微软Azure进行各种AI任务的实际编码示例和模板。这些示例旨在帮助初学者和经验丰富的开发人员快速开始构建和部署AI模型。示例涵盖数据准备、模型训练、部署以及预测。</p> <p>Sure, here's the HTML structure with the translated text in simplified Chinese: ```html </p> <div> <p>Example 1: 使用Azure机器学习进行图像分类</p> <p>Objective: 使用Azure机器学习训练并部署图像分类模型。</p> </div> ``` In this HTML snippet: - "Example 1: 使用Azure机器学习进行图像分类" translates to "Example 1: Image Classification with Azure Machine Learning". - "Objective: 使用Azure机器学习训练并部署图像分类模型。" translates to "Objective: Train and deploy an image classification model using Azure Machine Learning."<p>Sure, here's the translation of "Data Preparation — Upload images to a Google Cloud Storage bucket" in simplified Chinese while maintaining the HTML structure: ```html <span>数据准备 — 将图片上传到 Google Cloud 存储桶。</span> ``` This HTML structure wraps the translated text in a `<span>` element, preserving both the translation and the original formatting.</span></p> <pre><span id="20bc" class="pu ns gt pr b bf pv pw l px py">from azure.storage.blob import BlobServiceClient, BlobClient, ContainerClient<br><br>connect_str = "your_connection_string"<br>blob_service_client = BlobServiceClient.from_connection_string(connect_str)<br><br># Create a container<br>container_client = blob_service_client.create_container("image-classification-data")<br><br># Upload images<br>blob_client = container_client.get_blob_client("image1.jpg")<br>with open("path/to/image1.jpg", "rb") as data:<br> blob_client.upload_blob(data)</span></pre> <p>To translate "Create and Import Dataset" into simplified Chinese while keeping the HTML structure intact, you would write: ```html <span lang="zh-CN">创建和导入数据集</span> ``` This HTML snippet specifies the language as simplified Chinese (`zh-CN`) and includes the translated text within a `<span>` element.</span></p> <pre><span id="79d6" class="pu ns gt pr b bf pv pw l px py">from azureml.core import Workspace, Dataset<br><br># Connect to the workspace<br>ws = Workspace.from_config()<br><br># Register the dataset<br>datastore = ws.get_default_datastore()<br>dataset = Dataset.File.from_files((datastore, 'image-classification-data/'))<br>dataset = dataset.register(workspace=ws, name='image_classification_data')</span></pre> <p>Certainly! Here's how you can write "3. Training the Model" in simplified Chinese while keeping the HTML structure: ```html <span>3. 训练模型</span> ```</p> <pre><span id="ccdb" class="pu ns gt pr b bf pv pw l px py">from azureml.train.automl import AutoMLConfig<br>from azureml.core.experiment import Experiment<br><br># Define the AutoML configuration<br>automl_config = AutoMLConfig(<br> task='image-classification',<br> primary_metric='accuracy',<br> training_data=dataset,<br> label_column_name='label',<br> compute_target='your_compute_cluster',<br> iterations=10<br>)<br><br># Create and run the experiment<br>experiment = Experiment(ws, "image_classification_experiment")<br>run = experiment.submit(automl_config, show_output=True)</span></pre> <p>To translate "4. Deploying the Model" to simplified Chinese while keeping HTML structure, you can use the following: ```html <ruby> <rb>4. Deploying the Model</rb> <rp>(</rp><rt>部署模型</rt><rp>)</rp> </ruby> ``` This HTML structure maintains the original text "4. Deploying the Model" while providing the simplified Chinese translation "部署模型" (Deploying the Model) as a ruby annotation. It visually presents the translation alongside the original text, typical in bilingual content where the translation is shown phonetically or contextually.</p> <pre><span id="e67a" class="pu ns gt pr b bf pv pw l px py">from azureml.core import Model<br>from azureml.core.webservice import AciWebservice, Webservice<br><br># Register the model<br>model = Model.register(workspace=ws, model_path="outputs/model.pkl", model_name="image_classification_model")<br><br># Define the deployment configuration<br>aci_config = AciWebservice.deploy_configuration(cpu_cores=1, memory_gb=1)<br><br># Deploy the model<br>service = Model.deploy(workspace=ws, name="image-classification-service", models=[model], inference_config=inference_config, deployment_config=aci_config)<br>service.wait_for_deployment(show_output=True)<br><br>print(service.scoring_uri)</span></pre> <p>To translate "5. Making Predictions" into simplified Chinese while keeping the HTML structure intact, you can use the following: ```html 5. <span lang="zh-CN">做预测</span> ``` In this HTML snippet: - `<span lang="zh-CN">做预测</span>` is the translated text "做预测" (Making Predictions) in simplified Chinese. - `lang="zh-CN"` attribute specifies the language as simplified Chinese.</p> <pre><span id="1aaf" class="pu ns gt pr b bf pv pw l px py">import requests<br><br>url = "http://image-classification-service.azurewebsites.net/score"<br>image_path = "path/to/new_image.jpg"<br><br>with open(image_path, "rb") as image:<br> response = requests.post(url, files={"file": image})<br><br>print(response.json())</span></pre> <p>To translate the text "Example 2: Text Classification with Azure Machine LearningObjective: Train and deploy a text classification model using Azure Machine Learning." into simplified Chinese and keeping the HTML structure intact, you can use the following: ```html </p> <p>Example 2: 使用Azure机器学习进行文本分类目标:使用Azure机器学习训练并部署文本分类模型。</p> ``` This HTML snippet includes the translated text in simplified Chinese within a paragraph (`<p>`) tag, preserving the original structure.</p> <p>Sure, here's how you can structure the HTML to display the translated text in simplified Chinese: ```html </p> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Translate to Simplified Chinese

    Translate to Simplified Chinese

    数据准备 — 准备一个包含文本数据和标签的CSV文件。 — 将CSV文件上传到Azure Blob Storage容器。

    ``` In this HTML structure: - `` specifies the document language as simplified Chinese. - The `` tag ensures proper encoding for Chinese characters. - The translated text is included within `

    ` tags for proper paragraph formatting. Make sure to save this code in a `.html` file and view it in a browser that supports UTF-8 encoding to display Chinese characters correctly.

    from azure.storage.blob import BlobServiceClient

    connect_str = "your_connection_string"
    blob_service_client = BlobServiceClient.from_connection_string(connect_str)

    # Create a container
    container_client = blob_service_client.create_container("text-classification-data")

    # Upload CSV file
    blob_client = container_client.get_blob_client("data.csv")
    with open("path/to/data.csv", "rb") as data:
    blob_client.upload_blob(data)

    Sure, the simplified Chinese translation of "Create and Import Dataset" while keeping the HTML structure intact would be: ```html 创建并导入数据集 ```

    from azureml.core import Workspace, Dataset

    # Connect to the workspace
    ws = Workspace.from_config()

    # Register the dataset
    datastore = ws.get_default_datastore()
    dataset = Dataset.Tabular.from_delimited_files(path=(datastore, 'text-classification-data/data.csv'))
    dataset = dataset.register(workspace=ws, name='text_classification_data')

    To translate "3. Training the Model" into simplified Chinese while keeping the HTML structure, you can use the following: ```html 3. 训练模型 ``` This HTML snippet will display "3. 训练模型" in simplified Chinese on a web page, while also indicating the language of the text for proper handling by browsers and search engines.

    from azureml.train.automl import AutoMLConfig
    from azureml.core.experiment import Experiment

    # Define the AutoML configuration
    automl_config = AutoMLConfig(
    task='classification',
    primary_metric='accuracy',
    training_data=dataset,
    label_column_name='label',
    compute_target='your_compute_cluster',
    iterations=10
    )

    # Create and run the experiment
    experiment = Experiment(ws, "text_classification_experiment")
    run = experiment.submit(automl_config, show_output=True)

    Sure, here is the translation in simplified Chinese while maintaining HTML structure: ```html

    4. 部署模型

    ``` This HTML snippet translates "4. Deploying the Model" to "4. 部署模型" in simplified Chinese.
    from azureml.core import Model
    from azureml.core.webservice import AciWebservice, Webservice

    # Register the model
    model = Model.register(workspace=ws, model_path="outputs/model.pkl", model_name="text_classification_model")

    # Define the deployment configuration
    aci_config = AciWebservice.deploy_configuration(cpu_cores=1, memory_gb=1)

    # Deploy the model
    service = Model.deploy(workspace=ws, name="text-classification-service", models=[model], inference_config=inference_config, deployment_config=aci_config)
    service.wait_for_deployment(show_output=True)

    print(service.scoring_uri)

    在HTML结构中保持不变,将英文文本 "5. Making Predictions" 翻译为简体中文:"5. 进行预测"

    import requests

    url = "http://text-classification-service.azurewebsites.net/score"
    data = {"text": "Your text data for classification."}

    response = requests.post(url, json=data)
    print(response.json())

    To translate the provided English text "Example 3: Predictive Analytics with Azure Synapse Analytics Objective: Build and deploy a predictive model using Azure Synapse Analytics" into simplified Chinese and keep the HTML structure intact, you can use the following: ```html 示例 3:使用Azure Synapse Analytics进行预测分析 目标:使用Azure Synapse Analytics构建和部署预测模型。 ``` In this HTML snippet: - `` indicates that the enclosed text is in simplified Chinese. - The text inside the `` tags is the translation of the original English text. This approach maintains the structure of the HTML while providing the translated content in Chinese.

    Sure, here's the text translated to simplified Chinese while keeping the HTML structure: ```html 1. 数据准备 — 将您的数据集存储在 Synapse 表中。 ```

    from azure.synapse.spark import SynapseSpark

    spark = SynapseSpark.builder.appName("PredictiveAnalytics").getOrCreate()

    # Load data
    df = spark.read.csv("path/to/data.csv", header=True, inferSchema=True)

    # Save data to Synapse table
    df.write.synapsesql("your_synapse_table", mode="overwrite")

    Sure, the simplified Chinese translation of "2. Training the Model" while keeping the HTML structure intact would be: ```html 2. 训练模型 ```

    from azureml.core import Workspace, Dataset, Experiment
    from azureml.train.automl import AutoMLConfig

    # Connect to the workspace
    ws = Workspace.from_config()

    # Register the dataset
    datastore = ws.get_default_datastore()
    dataset = Dataset.Tabular.from_delimited_files(path=(datastore, 'path/to/data.csv'))
    dataset = dataset.register(workspace=ws, name='predictive_analytics_data')

    # Define the AutoML configuration
    automl_config = AutoMLConfig(
    task='regression',
    primary_metric='r2_score',
    training_data=dataset,
    label_column_name='target',
    compute_target='your_compute_cluster',
    iterations=10
    )

    # Create and run the experiment
    experiment = Experiment(ws, "predictive_analytics_experiment")
    run = experiment.submit(automl_config, show_output=True)

    在HTML结构中保持不变,将英文文本 "3. Deploying the Model" 翻译成简体中文为 "3. 部署模型"。

    from azureml.core import Model
    from azureml.core.webservice import AciWebservice, Webservice

    # Register the model
    model = Model.register(workspace=ws, model_path="outputs/model.pkl", model_name="predictive_analytics_model")

    # Define the deployment configuration
    aci_config = AciWebservice.deploy_configuration(cpu_cores=1, memory_gb=1)

    # Deploy the model
    service = Model.deploy(workspace=ws, name="predictive-analytics-service", models=[model], inference_config=inference_config, deployment_config=aci_config)
    service.wait_for_deployment(show_output=True)

    print(service.scoring_uri)

    To translate "4. Making Predictions" into simplified Chinese while keeping the HTML structure intact, you can use the following: ```html

    4. 预测

    ``` This HTML code preserves the heading structure (`

    `) and translates "Making Predictions" into "预测" in simplified Chinese.
    import requests

    url = "http://predictive-analytics-service.azurewebsites.net/score"
    data = {"features": [0.1, 0.5, 0.3, 0.4, 0.2]}

    response = requests.post(url, json=data)
    print(response.json())

    Sure, here is the translation of "Templates for AI Tasks1. Data Loading Template" into simplified Chinese while keeping the HTML structure: ```html

    AI任务模板1. 数据加载模板

    ```
    def load_data_from_blob_storage(container_name, file_path, connection_string):
    from azure.storage.blob import BlobServiceClient
    import pandas as pd

    blob_service_client = BlobServiceClient.from_connection_string(connection_string)
    blob_client = blob_service_client.get_blob_client(container=container_name, blob=file_path)
    download_stream = blob_client.download_blob()
    data = download_stream.readall()

    df = pd.read_csv(pd.compat.StringIO(data.decode('utf-8')))
    return df

    data = load_data_from_blob_storage('your-container', 'path/to/data.csv', 'your-connection-string')
    print(data.head())

    Sure, here is the translation of "Model Training Template" into simplified Chinese while keeping the HTML structure: ```html

    模型训练模板

    ```
    from azureml.core import Workspace, Experiment
    from azureml.train.automl import AutoMLConfig

    def train_model(workspace_config, dataset_name, experiment_name, compute_cluster, task, label_column, iterations=10):
    ws = Workspace.from_config(workspace_config)
    dataset = ws.datasets[dataset_name]

    automl_config = AutoMLConfig(
    task=task,
    primary_metric='accuracy',
    training_data=dataset,
    label_column_name=label_column,
    compute_target=compute_cluster,
    iterations=iterations
    )

    experiment = Experiment(ws, experiment_name)
    run = experiment.submit(automl_config, show_output=True)
    return run

    run = train_model('config.json', 'dataset_name', 'experiment_name', 'compute_cluster', 'classification', 'label', 10)

    Sure, the translation of "Model Deployment Template" into simplified Chinese while keeping the HTML structure intact would look like this: ```html 3. 模型部署模板 ``` In this example: - `` specifies that the following text is in simplified Chinese. - `模型部署模板` is the translation of "Model Deployment Template".

    from azureml.core import Workspace, Model
    from azureml.core.webservice import AciWebservice, Webservice

    def deploy_model(workspace_config, model_path, model_name, service_name, cpu_cores=1, memory_gb=1):
    ws = Workspace.from_config(workspace_config)

    model = Model.register(workspace=ws, model_path=model_path, model_name=model_name)
    aci_config = AciWebservice.deploy_configuration(cpu_cores=cpu_cores, memory_gb=memory_gb)
    service = Model.deploy(workspace=ws, name=service_name, models=[model], inference_config=inference_config, deployment_config=aci_config)
    service.wait_for_deployment(show_output=True)
    return service.scoring_uri

    scoring_uri = deploy_model('config.json', 'path/to/model.pkl', 'model_name', 'service_name', 1, 1)
    print(scoring_uri)

    To translate "4. Prediction Template" into simplified Chinese while keeping HTML structure, you would use the following: ```html 4. 预测模板 ``` This HTML snippet ensures that the text "4. Prediction Template" is displayed in simplified Chinese on the webpage, while also specifying the language for proper rendering and accessibility.

    import requests

    def make_prediction(service_url, input_data):
    response = requests.post(service_url, json=input_data)
    return response.json()

    prediction = make_prediction('http://your-service.azurewebsites.net/score', {"data": "your_input_data"})
    print(prediction)

    To translate "Summary" into simplified Chinese while keeping the HTML structure, you would write: ```html 总结 ``` In this HTML snippet: - `` is the HTML tag for defining a summary in a details element. - `总结` is the simplified Chinese translation for "Summary".

    Sure, here is the translation of the text into simplified Chinese, while keeping the HTML structure: ```html

    这些编码示例和模板为在Azure上进行各种AI任务提供了实用的起点。通过利用这些模板,您可以快速构建、部署和管理用于图像分类、文本分类和预测分析的AI模型。

    ``` This HTML snippet maintains the structure and provides the translated text in simplified Chinese.

    To translate "Troubleshooting and Support" into simplified Chinese while keeping the HTML structure, you can use the following: ```html

    故障排除与支持

    ``` This HTML snippet preserves the structure while providing the translated text in simplified Chinese.

    Sure, the translation of "Overview" into simplified Chinese while keeping the HTML structure would be: ```html 概览 ```

    ```html

    在本最后一章中,我们将介绍在开发 Microsoft Azure 上的 AI 解决方案时可能遇到的常见问题的故障排除技术。此外,我们还将提供关于如何有效使用 Azure 支持资源来解决问题并获取帮助的指导。

    ```

    在保留HTML结构的前提下,将以下英文文本翻译成简体中文: 常见问题与解决方案1. 认证和权限问题 — 症状:访问 Azure 服务时收到“权限被拒绝”或“未经授权”的错误。 — 解决方案: — 确保您的服务主体或用户帐户具有必要的 IAM 角色和权限。 — 验证 `AZURE_SUBSCRIPTION_ID`、`AZURE_CLIENT_ID`、`AZURE_CLIENT_SECRET` 和 `AZURE_TENANT_ID` 环境变量是否设置正确。

    Sure, please provide the English text you’d like to be translated to Simplified Chinese, and I’ll keep the HTML structure intact for you.

    az ad sp create-for-rbac --name "myServicePrincipal" --role contributor \
    --scopes /subscriptions/{subscription-id}/resourceGroups/{resource-group} \
    --sdk-auth

    To translate the given English text to simplified Chinese while keeping the HTML structure, you can use the following: ```html 2. 配额超限错误 — 症状:收到指示您已超过资源配额的错误。 — 解决方案: — 在 Azure 门户的“配额”部分检查当前配额使用情况。 — 如有必要,请申请增加配额: ``` This HTML structure maintains the original format and ensures that the translated text appears as intended, preserving the list and formatting cues.

    To translate "Example:" to simplified Chinese while keeping the HTML structure intact, you can use the following: ```html 例子: ``` This HTML code snippet includes the text "例子:" (which means "Example:" in simplified Chinese) wrapped in a `` element with the `lang="zh-CN"` attribute to specify the language as simplified Chinese.

    az vm list-usage --location eastus --output table
    az support ticket create --problem-class "Quota" --problem-sub-class "Compute" --quota-request "Standard_DS3_v2"

    Sure, here's the HTML structure with the translated text in simplified Chinese: ```html

    3. 模型训练问题 — 症状: 模型训练作业失败或完成时间过长。 — 解决方案: — 在 Azure 机器学习门户中检查训练作业的日志,以找出失败的原因。 — 确保您的训练数据格式正确,且没有丢失或损坏的文件。 — 使用分布式训练和适当的机器类型加快训练过程。

    ``` This HTML snippet includes the translated text in simplified Chinese while maintaining the structure suitable for web display.

    To translate the text "Example:" into simplified Chinese while keeping the HTML structure, you would write: ```html 示例: ``` This HTML snippet ensures that the text "示例:" (which means "Example:") is displayed in simplified Chinese, maintaining the integrity of the HTML structure.

    from azureml.core import ScriptRunConfig
    from azureml.core.runconfig import MpiConfiguration

    distributed_job = ScriptRunConfig(
    source_directory='.',
    script='train.py',
    compute_target='gpu-cluster',
    distributed_job_config=MpiConfiguration(node_count=4)
    )

    run = experiment.submit(distributed_job)
    run.wait_for_completion(show_output=True)

    Certainly! Here's the translated text in simplified Chinese while keeping the HTML structure: ```html 4. 部署问题 — 症状: 模型部署失败或端点未按预期响应。 — 解决方案: — 确保模型文件正确上传并可访问。 — 检查部署日志中是否有任何错误。 — 确保端点配置符合您模型的要求。 ``` This HTML snippet maintains the structure while providing the translation of the text into simplified Chinese.

    Sure, here is the translation of "Example:" into simplified Chinese: 示例:

    from azureml.core import Webservice

    service = Webservice(workspace=ws, name="my-service")
    logs = service.get_logs()
    print(logs)

    Sure, here's the translation of the text you provided into simplified Chinese while maintaining HTML structure: ```html 5. Prediction Issues — Symptom: Predictions are inaccurate or inconsistent. — Solution: — Ensure that the input data format matches the expected format for your model. — Preprocess input data consistently with the preprocessing steps used during model training. — Use Azure Machine Learning’s model monitoring tools to track model performance and detect anomalies. ``` Translated into simplified Chinese: ```html 5. 预测问题 — 症状:预测不准确或不一致。 — 解决方案: — 确保输入数据格式与模型期望的格式匹配。 — 在预处理输入数据时要保持与模型训练期间使用的预处理步骤一致。 — 使用 Azure 机器学习的模型监控工具跟踪模型性能并检测异常。 ``` This HTML structure preserves the original formatting while providing the translated text in simplified Chinese.

    Sure, here is the simplified Chinese translation of "Example:" while keeping the HTML structure: ```html 示例: ``` This HTML code includes the translation "示例:" in simplified Chinese, wrapped in a `` tag with the `lang` attribute specifying Chinese.

    from azureml.monitoring import ModelDataCollector

    data_collector = ModelDataCollector(model_name, inputs="input_data", outputs="predictions")

    def run(data):
    data_collector.capture(inputs=data, outputs=predictions)
    return predictions

    To translate "Leveraging Azure Support Resources1. Documentation and Tutorials — Microsoft Azure Documentation: Comprehensive guides and reference materials for all Azure services. — Microsoft Azure Documentation — Microsoft Learn: Interactive tutorials and learning paths for Azure. — Microsoft Learn" into simplified Chinese while keeping the HTML structure, you can use the following: ```html 利用Azure支持资源1。文档和教程 — 微软Azure文档:所有Azure服务的详细指南和参考资料。 — 微软Azure文档 — 微软学习:Azure的互动教程和学习路径。 — 微软学习 ``` This HTML structure preserves the original format while displaying the translated text in simplified Chinese.

    Certainly! Here's the translated text in simplified Chinese while keeping the HTML structure intact: ```html 2. 社区论坛和 Stack Overflow — Microsoft Q&A: 一个论坛,您可以在此向其他 Azure 用户提问并分享知识。 — Microsoft Q&A — Stack Overflow: 使用 `azure` 标签查找常见问题和解决方案。 — Azure on Stack Overflow ``` This HTML snippet maintains the original structure while presenting the content in simplified Chinese.

    Certainly! Here's the translated text in simplified Chinese while keeping the HTML structure intact: ```html 3. 支持计划

    • 基础支持:免费支持账单和订阅管理。
    • 开发者支持:付费支持计划,提供工作时间内的技术支持和指导。
    • 标准支持:全天候技术支持,响应时间更快。
    • 专业直接支持:最高级别的支持,配有专属客户经理和全面的服务。
    ``` This HTML snippet translates the provided English text into simplified Chinese, maintaining the list structure as per your request.

    Sure, here's the text translated into simplified Chinese while keeping the HTML structure: ```html 比较支持计划并选择最适合您需求的:— Azure 支持计划 ``` This translation maintains the original structure and content while converting the text into simplified Chinese characters.

    To translate "Contacting Support — Opening a Support Ticket: Use the Azure Portal to open a support case for technical issues or billing inquiries. — Azure Portal Support" into simplified Chinese while keeping the HTML structure, you can use the following format: ```html 4. 联系支持 — 开启支持工单:使用 Azure 门户为技术问题或账单查询开启支持案例。 — Azure 门户支持 ``` This HTML code maintains the structure while providing the translated text in simplified Chinese.

    Sure, here's the translation of "Phone and Email Support: Available for Developer, Standard, and Professional Direct support plan customers." into simplified Chinese while maintaining HTML structure: ```html

    电话和电子邮件支持:提供给开发者、标准和专业直接支持计划的客户。

    ```

    To translate the given English text to simplified Chinese while keeping the HTML structure, you can use the following: ```html 5. 培训和认证 — Microsoft Learn: 免费、互动的学习路径和模块,帮助您提升在Azure上的专业能力。 — Microsoft Learn — Microsoft Certification: 认证考试,验证您在Azure上的专业知识和技能。 — Microsoft Certification ``` This HTML structure ensures that the translation is clearly embedded within the intended context and format.

    Sure, here is "Summary" translated into simplified Chinese while keeping the HTML structure: ```html 总结 ```

    Sure, here's the translated text in simplified Chinese while keeping the HTML structure intact: ```html 通过遵循这些故障排除提示并利用Azure的支持资源,您可以有效解决问题,确保您的AI解决方案顺利运行。访问适当的支持和培训资源还将帮助您及时了解Azure上AI开发的最佳实践和进展。 ```

    Certainly! Here is "Conclusion" translated into simplified Chinese while keeping the HTML structure: ```html 结论 ```

    这份全面的指南涵盖了在Microsoft Azure上构建AI解决方案的关键方面,包括设置环境、利用各种AI服务、开发定制插件、实际应用案例、编码示例、最佳实践和故障排除。遵循这些指南,您可以利用Azure强大的工具和服务来构建创新、高效和可扩展的AI解决方案。

    在保持HTML结构的情况下,将以下英文文本翻译成简体中文: 如果您有任何具体问题或需要进一步的帮助,请随时联系Azure支持或查阅提供的额外资源。

    To translate "Thank you for following along, and best of luck with your AI projects on Azure!" into simplified Chinese while keeping HTML structure, you can use the following: ```html 感谢您的关注,并祝您在Azure上的AI项目顺利! ``` In this HTML snippet, `` tags are used to wrap the translated text. The translated text itself is: 感谢您的关注,并祝您在Azure上的AI项目顺利! This translation maintains the structure and ensures proper display within an HTML context.

  • 2024-07-11 05:29:24 AI中文站翻译自原文