Azure的机器学习Web服务输入数据问题 [英] Azure Machine Learning Web service Input Data Issue

查看:225
本文介绍了Azure的机器学习Web服务输入数据问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个Azure的ML web服务为例,当它涉及到部署Web服务面临的一个未知的错误。该错误不来解释,因此很难追查。

I have created an Azure ML webservice as an example and face an unknown error when it comes to deploy a web service. The error comes without an explanation, so it's hard to trace.

在运行演播室内的实验中,实验运行没有任何问题。然而,当部署到web服务,测试功能未能通过相同的输入作为工作室。

When running the experiment within the studio, the experiment was running without any issue. However, when deploy to webservice, the test function has failed with the same input as in the studio.

我也发布了服务的一个样本,看是否有人能看到问题是什么。

I have also published a sample of the service to see if anyone can see what the issue is.

https://gallery.cortanaintelligence.com/Experiment/mywebservice-1

有关该服务的一些信息:

Some info about the service:

该服务需要输入一个字符串重新psented为svmlight格式的稀疏特征向量$ P $。它将返回predicted类的输入特征矢量。而摄影棚内的实验,没有任何问题,运行运行从部署的服务测试功能,当错误失败。

The service takes input as a string represented for a sparse feature vector of svmlight format. It will return the predicted class for the input feature vector. The error fails when running the test function from the deployed service while the experiment within the studio is running without any issue.

希望任何人有一个想法如何去错了。

Hope anyone has an idea how it went wrong.

推荐答案

使用测试对话框意味着你使用的是请求 - 响应服务,这是一个实时的API。这有HTTP超时为完成请求最大时间。由于该特征矢量太长,则请求被越来越超时。可否请您尝试使用批处理执行服务低于

Using test dialog means you are using request-response service which is a real-time API. This has http timeout as maximum time to complete the request. Since the feature vector is too long, the request is getting timed out. Can you please try to use batch execution service as described below

<一个href=\"https://azure.microsoft.com/en-us/documentation/articles/machine-learning-consume-web-services/#batch-execution-service-bes\" rel=\"nofollow\">https://azure.microsoft.com/en-us/documentation/articles/machine-learning-consume-web-services/#batch-execution-service-bes

这篇关于Azure的机器学习Web服务输入数据问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆