Response from AzurePredict does not match what expected from Azure WebService

Jan 16, 2015 at 3:39 PM
Edited Jan 16, 2015 at 3:40 PM
Thanks for this Add-In!

When I test my webservice in Azure I get the following result. The first 6 values are my input parameters. The next 3 are my scored probabilities and the last value is my scored label.

"Result: 1,0,1,3,129,4,0.473854928596308,0.414241553465691,0.111903517938001,1"

When I use the AzurePredict Add-In I get the following values. In this case the scored label is first, and the next 3 are my scored probabilities in the opposite order of what I saw in Azure.

"1, 0.111903517938001, 0.414241553465691, 0.473854928596308"

Why is this? Why does it not match the results as described by the webservice in Azure?

Thanks again for this tool!
Mar 17, 2015 at 2:02 AM
Add-in was trying to optimize by just providing the final output values. It has been fixed now to return all the columns.
Mar 17, 2015 at 4:11 PM

When I use the azurePredict function I now get the following error message.

“Failed to connect to prediction REST API endpoint: The remote server returned an error: (400) Bad Request.. Please check the URL.”

Any idea why?

The getJson function is working. So I assume my URL and Key are correct. When I test the webservice in Azure it works as well

Thanks, Franz

Mar 17, 2015 at 10:08 PM
Can you send me output of getJson and API help page URL?
Mar 17, 2015 at 10:50 PM
Forgot to mention, please install the latest version of add-in as API schema changed as part of GA release