Here is a relatively non-standard approach to hypothesis testing:
https://news.ycombinator.com/item?id=10484602
So, that was looking for bias. The training was to say what people were the women.
So, could use that to say if these people were like those people. So, could get some people recognition.
Or, go to a valley with a lot of rocks and for each of 1000 rocks measure 10 quantities. Then here is one more rock; did it come from that valley? So, doing valley rock recognition.
Here are 1000 faces from North Korea and 500 from South Korea. Measure 10 quantities on each and ask if the faces are different (this would be a multi-dimensional two sample test, distribution-free).
Here's a more general picture: Take some data. Ask if the data has property X. Make a null hypothesis that the data does have property X, and with that assumption take a function of the data and calculate some probability that would be high if the data has property X. Then see what the probability is for the data do have. It that probability is low, then reject the null hypothesis and conclude that the data does not have property X. So, have now recognized that the data is not X. It may from some further knowledge that conclude that the data has property Y. This might help a self driving car decide if the stuff in the road is just some harmless paper and can drive over it or if it is dangerous and must avoid it, if the ice about to step on is solid, if that knob is to be pulled on or twisted, ..., a lot of questions in AI.
I'm being brief. Questions?