我在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];
如果没有机器学习(温度,湿度)功能,此查询可以正常工作。