An Azure machine learning service for building and deploying models.
We just ran into this issue as well. Found out that the order of properties in the "data" structure must match exactly with the order of columns in the dataset.
This does not make sense to me, since the property names are passed in the json, why would the order matter also?
On top of that, we use C#, and the example code generated in the Azure ML Portal looks like:
using (var client = new HttpClient(handler))
{
// Request data goes here
var scoreRequest = new Dictionary<string, List<Dictionary<string, string>>>()
{
{
"data",
new List<Dictionary<string, string>>()
{
new Dictionary<string, string>()
{
This uses a Dictionary for the properties, but the order of elements in a C# Dictionary is undefined and it does not guarantee the order when reading elements from it.
So the generated/example C# code is prone to errors.
Is this a known issue? Or am I missing something here?
Thanks in advance!