azuredatastudio/extensions/machine-learning
Benjin Dubishar 733359de57
Updating yarn lock for ML (#22719)
2023-04-13 14:00:38 -07:00
..
images add option to show link icon (#13506) 2020-11-20 14:06:07 -08:00
src Remove unused files in sql and extensions folders (#22444) 2023-03-27 16:40:32 -07:00
.gitignore ML - dashboard icons and links (#10153) 2020-04-28 21:21:30 -07:00
.vscodeignore Webpack Extensions update (#15919) 2021-07-01 09:56:55 -07:00
README.md Update extension privacy statements (#22120) 2023-03-02 16:39:29 -08:00
config.json Updating sqlmlutils package for R and Python (#15549) 2021-05-27 12:31:38 -07:00
coverConfig.json Update to latest vscodetestcover (#10680) 2020-06-02 13:33:30 -07:00
extension.webpack.config.js Webpack Extensions update (#15919) 2021-07-01 09:56:55 -07:00
package.json Upgrade http(s)-proxy-agent dependent npm packages (#22306) 2023-03-13 11:05:59 -07:00
package.nls.json ML- Fixed the issue with wrong title in predict page (#10467) 2020-05-18 17:12:02 -07:00
tsconfig.json Merge from vscode a348d103d1 (#15681) 2021-06-17 08:17:11 -07:00
yarn.lock Updating yarn lock for ML (#22719) 2023-04-13 14:00:38 -07:00

README.md

Machine Learning extension for Azure Data Studio

The Machine Learning extension for Azure Data Studio enables you to manage packages, import machine learning models, make predictions, and create notebooks to run experiments for SQL databases.

For more information, see the Machine Learning extension documentation.

Installation

Find the Machine Learning extension in Azure Data Studio and install the latest available version.

The following prerequisites need to be installed on the computer you run Azure Data Studio on:

  • Python 3. Specify the local path to a preexisting Python installation under Settings. If you have used a Python kernel notebook in Azure Data Studio, the extension will use the path from the notebook by default.
  • Microsoft ODBC driver 17 for SQL Server for Windows, macOS, or Linux.
  • R 3.5 (optional). Enable R and specify the local path to a preexisting R installation under Settings. This is only required if you want to manage R packages in your database.

For more information on how to install and configure the prerequisites, see the Machine Learning extension documentation.

Manage packages

You can install and uninstall Python and R packages in your SQL database with Azure Data Studio. The packages you install can be used in Python or R scripts running in-database using the sp_execute_external_script T-SQL statement. This feature is currently limited to work with SQL Server Machine Learning Services.

Click on Manage packages in database to install or uninstall a Python or R package. For more information, see how to manage packages with the Machine Learning extension.

Make predictions

With the extension, you can use an ONNX model to make predictions. The model can either be an existing model stored in your database or an imported model. This feature is currently limited to work with Azure SQL Edge.

Click on Make predictions and choose between importing an ONNX model or use an existing model stored in your database. A T-SQL script will then be generated, which you can use to make predictions. For more information, see how to make predictions with the Machine Learning extension.

Import models

The Machine Learning extension can import ONNX models into your database. You can then use these models to make predictions. This feature is currently limited to work with Azure SQL Edge.

Click on Import models and choose between importing a model from a file or from Azure Machine Learning. For more information, see how to import models with the Machine Learning extension.

Create notebook

You can run experiments and create models in Python with a notebook in Azure Data Studio. You can also run T-SQL code, and run Python and R with SQL Server Machine Learning Services, in a notebook.

Click on Create notebook to create a new notebook in Azure Data Studio. For more information, see how to create a notebook with the Machine Learning extension.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Privacy Statement

To learn more about our Privacy Statement visit this link.

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the Source EULA.