简体   繁体   English

我可以将数据从本地SQL Server数据库导入到Azure机器学习虚拟机吗?

[英]Can I import data from On-Premises SQL Server Database to Azure Machine Learning virtual machine?

On the limited Azure Machine Learning Studio, one can import data from an On-Premises SQL Server Database. 在有限的Azure Machine Learning Studio上,可以从本地SQL Server数据库导入数据。 What about the ability to do the exact same thing on a python jupyter notebook on a virtual machine from the Azure Machine Learning Services workspace ? 从Azure Machine Learning Services工作区在虚拟机上的python jupyter笔记本上执行完全相同的操作的功能怎么样?

It does not seem possible from what I've found in the documentation. 根据我在文档中找到的内容,这似乎是不可能的。 Data sources would be limited in Azure ML Services : "Currently, the list of supported Azure storage services that can be registered as datastores are Azure Blob Container, Azure File Share, Azure Data Lake, Azure Data Lake Gen2, Azure SQL Database, Azure PostgreSQL, and Databricks File System" Azure ML Services中的数据源将受到限制:“当前,可以注册为数据存储的受支持Azure存储服务列表包括Azure Blob容器,Azure文件共享,Azure Data Lake,Azure Data Lake Gen2,Azure SQL数据库,Azure PostgreSQL和Databricks文件系统”

Thank you in advance for your assistance 预先感谢您的协助

As of today, you can load SQL data, but only a MS SQL Server source (also on-premise) is supported . 从今天开始, 您可以加载SQL数据,但仅支持MS SQL Server源(本地)

Using azureml.dataprep , code would read along the lines of 使用azureml.dataprep ,代码将按照

import azureml.dataprep as dprep

secret = dprep.register_secret(value="[SECRET-PASSWORD]", id="[SECRET-ID]")

ds = dprep.MSSQLDataSource(server_name="[SERVER-NAME]",
                           database_name="[DATABASE-NAME]",
                           user_name="[DATABASE-USERNAME]",
                           password=secret)

dflow = dprep.read_sql(ds, "SELECT top 100 * FROM [YourDB].[ATable]")
# print first records
dflow.head(5)

As far as I understand the APIs are under heavy development and azureml.dataprep may be soon superseded by functionality provided by the Dataset class . 据我了解,API正在大量开发中, azureml.dataprep可能很快会被Dataset类提供的功能所取代。

You can always push the data to a supported source using a data movement/orchestration service. 您始终可以使用数据移动/编排服务将数据推送到受支持的源。 Remember that all Azure services are not going to have every source option like Power BI, Logic Apps or Data Factory...this is why data orchestration/movement services exist. 请记住,所有Azure服务都不会像Power BI,Logic Apps或Data Factory一样具有所有来源选项……这就是为什么存在数据编排/移动服务的原因。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 Python 将 CSV 从远程机器导入 Azure SQL Server - Using Python to import CSV from remote machine into Azure SQL Server 如何将标头添加到我从机器学习数据库中提取的以下数据中 - How can I add header to the following data that I am pulling from the machine learning database 使用 Z23EEEB4347BDD26BDDFC6B7EE 从 Azure 机器学习服务连接 Azure SQL 数据库时出错 - Error in connecting Azure SQL database from Azure Machine Learning Service using python 如何从 Azure ADLS Gen 1 在 Azure 机器学习工作室中注册特定版本的增量表? - How can I register a specific version of a Delta Table in Azure Machine Learning Studio from Azure ADLS Gen 1? 您可以在 SQL SERVER 2016 中将 Python 与 MS 机器学习结合使用吗 - Can you use Python with MS Machine Learning in SQL SERVER 2016 如何从Azure Machine Learning Studio中的R或Python脚本中读取本地文件? - How can I read a local file from an R or Python script in Azure Machine Learning Studio? Azure机器学习-python - Azure Machine Learning - python 如何将此代码中的数据保存在单独的文件中以创建机器学习 model? - How can I save data from this code in separate files to create a machine learning model? 我可以使用什么机器学习对来自 MyoArm Band 的 EMG 数据进行分类? - What machine learning i can use for classifing EMG data from MyoArm Band? Azure虚拟机操作 - azure virtual machine operations
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM