Ekinlikler
31 Mar 23 - 2 Nis 23
En büyük SQL, Fabric ve Power BI öğrenme etkinliği. 31 Mart – 2 Nisan. 400 ABD doları tasarruf etmek için FABINSIDER kodunu kullanın.
Bugün kaydolunBu tarayıcı artık desteklenmiyor.
En son özelliklerden, güvenlik güncelleştirmelerinden ve teknik destekten faydalanmak için Microsoft Edge’e yükseltin.
Applies to:
SQL Server 2017 (14.x) and later
Learn how to run Python and R scripts in Azure Data Studio notebooks with SQL Server Machine Learning Services. Azure Data Studio is a cross-platform database tool.
Download and install Azure Data Studio on your workstation computer. Azure Data Studio is cross-platform, and runs on Windows, macOS, and Linux.
A server with SQL Server Machine Learning Services installed and enabled. You can use Machine Learning Services on Windows, Linux, or Big Data Clusters:
Önemli
Machine Learning Services runs as part of SQL Server. Therefore, you need to use a SQL kernel and not a Python kernel.
You can use Machine Learning Services in Azure Data Studio with a SQL notebook. To create a new notebook, follow these steps:
Click File and New Notebook to create a new notebook. The notebook will by default use the SQL kernel.
Click Attach To and Change Connection.
Connect to an existing or new SQL Server. You can either:
Choose an existing connection under Recent Connections or Saved Connections.
Create a new connection under Connection Details. Fill out the connection details to your SQL Server and database.
SQL Notebooks consist of code and text cells. Code cells are used to run Python or R scripts via the stored procedure sp_execute_external_scripts. Text cells can be used to document your code in the notebook.
Follow these steps to run a Python script:
Click + Code to add a code cell.
Enter the following script in the code cell:
EXECUTE sp_execute_external_script @language = N'Python'
, @script = N'
a = 1
b = 2
c = a/b
d = a*b
print(c, d)
'
Click Run cell (the round black arrow) or press F5 to run the single cell.
The result will be shown under the code cell.
Follow these steps to run an R script:
Click + Code to add a code cell.
Enter the following script in the code cell:
EXECUTE sp_execute_external_script @language = N'R'
, @script = N'
a <- 1
b <- 2
c <- a/b
d <- a*b
print(c(c, d))
'
Click Run cell (the round black arrow) or press F5 to run the single cell.
The result will be shown under the code cell.
Ekinlikler
31 Mar 23 - 2 Nis 23
En büyük SQL, Fabric ve Power BI öğrenme etkinliği. 31 Mart – 2 Nisan. 400 ABD doları tasarruf etmek için FABINSIDER kodunu kullanın.
Bugün kaydolunEğitim
Modül
Çok Dilli Not Defterleri giriş - Training
tek bir belgede birden çok dilde kod oluşturmak ve çalıştırmak için Çok Dilli Not Defterleri kullanabilirsiniz. Bu modülde Çok Dilli Not Defterleri tanıtılır ve birden çok dilde kod oluşturma ve çalıştırma işlemleri gösterilir.
Sertifikasyon
Microsoft Sertifikalı: Azure Veri Bilimcisi İş Ortağı - Certifications
Python, Azure Machine Learning ve MLflow ile veri alımını ve hazırlığını, model eğitimini ve dağıtımlarını ve makine öğrenmesi çözümü izlemeyi yönetin.
Belgeler
Azure Data Studio'da Jupyter Not Defterlerini kullanma - Azure Data Studio
Azure Data Studio'da Jupyter Not Defterlerini kullanmaya başlamayı öğrenin.
Machine Learning uzantısıyla paketleri yönetme - Azure Data Studio
[Azure Data Studio için Machine Learning uzantısıyla veritabanınızda Python veya R paketlerini yönetmeyi öğrenin.
Machine Learning Uzantısı - Azure Data Studio
Azure Data Studio için Machine Learning uzantısı paketleri yönetmenize, makine öğrenmesi modellerini içeri aktarmanıza, tahminlerde bulunmanıza ve SQL veritabanlarınız için denemeler çalıştırmak üzere not defterleri oluşturmanıza olanak tanır.
Azure Data Studio'da Python Çekirdeği ile Not Defterleri - Azure Data Studio
Bu öğreticide Python not defteri oluşturma ve çalıştırma işlemi gösterilmektedir.