要使用Azure机器学习Web服务here,您可以在C#,R,Python和JavaScript中找到一些示例代码。我想在PowerShell中使用它。 我找到了this教程,但是当我运行下面的代码行时,它将返回无法识别的错误:
Set-AzureMLWebServiceConnection -URI $Url -APIKey $API_key
Output:
Set-AzureMLWebServiceConnection : The term 'Set-AzureMLWebServiceConnection' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\Reza\Desktop\ndbench\Azure\Automation\01_get_metrics\add_target_to_tables - runbook_01.ps1:33 char:1
+ Set-AzureMLWebServiceConnection -URI $Url -APIKey $API_key
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-AzureMLWebServiceConnection:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
我在PowerShell命令列表中找不到Set-AzureMLWebServiceConnection
,我也不知道如何启用/安装它。
您能否指导我,如何使用PowerShell连接到Azure机器学习Web服务?
答案 0 :(得分:1)