I may have found the answer to my own question...
https://blog.hompus.nl/2020/09/14/get-all-prediction-scores-from-your-ml-net-model/
I still need to try it out, but since there's other watchers I thought I'd share it.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Forgive me... I am a beginner at this. I created & trained a model with the wizard. It is a text classification model. I would like to know the top 5 predictions and their scores. The default code is...
public static ModelOutput Predict(ModelInput input)
{
ModelOutput result = PredictionEngine.Value.Predict(input);
return result;
}
result gives the string of the top prediction and an array of floats which I assume is the scores of the possible answers (I could be wrong). How would I find out what the second best answer's string?
I may have found the answer to my own question...
https://blog.hompus.nl/2020/09/14/get-all-prediction-scores-from-your-ml-net-model/
I still need to try it out, but since there's other watchers I thought I'd share it.