Files
azuredatastudio/extensions/machine-learning
Charles Gagnon 2bc6a0cd01 VS Code merge to df8fe74bd55313de0dd2303bc47a4aab0ca56b0e (#17979)
* Merge from vscode 504f934659740e9d41501cad9f162b54d7745ad9

* delete unused folders

* distro

* Bump build node version

* update chokidar

* FIx hygiene errors

* distro

* Fix extension lint issues

* Remove strict-vscode

* Add copyright header exemptions

* Bump vscode-extension-telemetry to fix webpacking issue with zone.js

* distro

* Fix failing tests (revert marked.js back to current one until we decide to update)

* Skip searchmodel test

* Fix mac build

* temp debug script loading

* Try disabling coverage

* log error too

* Revert "log error too"

This reverts commit af0183e5d4ab458fdf44b88fbfab9908d090526f.

* Revert "temp debug script loading"

This reverts commit 3d687d541c76db2c5b55626c78ae448d3c25089c.

* Add comments explaining coverage disabling

* Fix ansi_up loading issue

* Merge latest from ads

* Use newer option

* Fix compile

* add debug logging warn

* Always log stack

* log more

* undo debug

* Update to use correct base path (+cleanup)

* distro

* fix compile errors

* Remove strict-vscode

* Fix sql editors not showing

* Show db dropdown input & fix styling

* Fix more info in gallery

* Fix gallery asset requests

* Delete unused workflow

* Fix tapable resolutions for smoke test compile error

* Fix smoke compile

* Disable crash reporting

* Disable interactive

Co-authored-by: ADS Merger <karlb@microsoft.com>
2022-01-06 09:06:56 -08:00
..

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

The Microsoft Enterprise and Developer Privacy Statement describes the privacy statement of this software.

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the Source EULA.