For example, provided trainings for letters A, B and C, once we are predicting the results providing image A, it would be great if we could have outputs results as an object looking like:
{
A: 0.99, // this is the correct answer because it has the highest number.
B: 0.01,
C: 0.00
}
At the moment this is not possible, the predict function only returns one value, so it's very limited with what you can do.
For example, provided trainings for letters A, B and C, once we are predicting the results providing image A, it would be great if we could have outputs results as an object looking like:
{
A: 0.99, // this is the correct answer because it has the highest number.
B: 0.01,
C: 0.00
}
At the moment this is not possible, the predict function only returns one value, so it's very limited with what you can do.