News for hackers. Stuff that matters.
Re:Ask HN: Is there any work on self-testing software? by gus_massa on Monday December 31, 2018 @08:22PM (#18798297)
Somewhat related:

A few yeas ago I used SpamBayes. The program calculates two values independently:

* The "probability" that a message is spam

* The "probability" that a message is ham (not spam)

They aren't real probabilities and they don't add up to one. Usually you get one value that is close to zero and one that is close to one.

Sometimes you get two values that are close to zero and it means that the email is of an unknown type (and you must classify it so the program learns to classify similar messages) and sometimes you get two values that are close to one and it means that the email is of a weird type (and you must classify it so the program learns to classify similar messages).

So the programs "knows" when it is confused.

Re:Ask HN: Is there any work on self-testing software? by dogweather on Monday December 31, 2018 @09:14PM (#18798485)
That's pretty cool, like a confidence score.