I'm using ML.NET 0.7 and have a MulticlassClassification model with the following result class:
public class TestClassOut
{
public string Id { get; set; }
public float[] Score { get; set; }
public string PredictedLabel { get; set; }
}
I'd like to know the scores and the corresponding labels on the Scores property. Feels like I should be able to make the property a Tuple<string,float> or similar to get the label that the score represents.
I understand that there was a method on V0.5:
model.TryGetScoreLabelNames(out scoreLabels);
But can't seem to find the equivalent in V0.7.
Can this be done? if so how?