News for hackers. Stuff that matters.
Re:Real time numbers recognition (MNIST) on an iPhone with C... by lozenge on Thursday November 08, 2018 @10:53AM (#18407085)
The predictions variable has a confidence value for each digit. You can put a cutoff and say if none is above a certain confidence, assume there's no number at all.
Re:Real time numbers recognition (MNIST) on an iPhone with C... by jefft255 on Thursday November 08, 2018 @11:09AM (#18407215)
This could work, but it is important to note that a lot of ML algorithms trained in a closed domain (no "other" class) will be pretty bad at knowing what they don't know. This is an open problem in ML.
Re:Real time numbers recognition (MNIST) on an iPhone with C... by jononor on Friday November 09, 2018 @08:17AM (#18414104)
Choosing the threshold will be hard. And (as mentioned by other poster) the model is unlikely to generalize well to classes of data it has not seen. I suspect that this approach will get things similar to numbers wrong quite often, like handwritten characters (a,b,c). Including these into the training set is much more likely to yield a model which will successfully discriminate it.