使用ML功能的Azure流分析查询不会将数据保存到表存储

时间:2018-01-31 09:50:39

标签: azure azure-machine-learning-studio azure-stream-analytics

我在azure中有一个流分析工作与机器学习(ML)集成。 我想将数据存储到存储中的表中。我的疑问是:

WITH machinelearning
     AS (SELECT 
             [IoTHub].[ConnectionDeviceId] AS [DeviceId]
           , [ventEnqueuedUtcTime]
           , [temperature]
           , [humidity]
           , [machinelearning]([temperature], [humidity]) AS [result]
         FROM [MachineLearningInput])

     SELECT 
         [System].Timestamp time
       , [DeviceId]
       , [EventEnqueuedUtcTime]
       , CAST([result].[temperature] AS FLOAT) AS [temperature]
       , CAST([result].[humidity] AS FLOAT) AS [humidity]
       , CAST([result].[Scored Probabilities] AS FLOAT) AS 'probabalities of rain'
     INTO 
         [MachineLearningOutput]
     FROM [machinelearning];

如果没有机器学习(温度,湿度)功能,此查询可以正常工作。

0 个答案:

没有答案