我是Azure ML的新手,我正在尝试在Azure ML中实现python脚本。我正在尝试部署Web服务,但我只得到一个字符串作为输出。
当我单独运行python脚本时,我得到了结果,但是当在Web服务中实现时,我只得到一条声明“执行正常”。请让我知道,如何去做。
The output returns a Json format.
以下是我的Python脚本输出:
User Patterns
[{"Jane": [{"Thermostat": 20, "Days": [1, 2], "Hour": 6, "Minute": 43}],
"John": [{"Thermostat": 18, "Days": [1, 2], "Hour": 0, "Minute": 15}],
"Jen": [{"Thermostat": 22, "Days": [1, 2], "Hour": 10, "Minute": 1}]}]
Missed Patterns
[{"Jane": [], "John": [], "Jen": []}]
Patternsssssssssss [{"Jane": [{"Thermostat": 20, "Days": [1, 2], "Hour": 6,
"Minute": 43}], "John": [{"Thermostat": 18, "Days": [1, 2], "Hour": 0,
"Minute": 15}], "Jen": [{"Thermostat": 22, "Days": [1, 2], "Hour": 10,
"Minute": 1}]}]
答案 0 :(得分:0)
您能否确保已将连接的Web服务输出连接到Execute Python脚本的第一个输出端口