It's also fun to go beyond strictly numeric types, eg responding to a number with the name of a country, or turning a letter or word into a number, etc.
It's also fun to go beyond strictly numeric types, eg responding to a number with the name of a country, or turning a letter or word into a number, etc.
The researchers presented the following to people.
f(1) = true
f(2) = true
f(4) = true
f(8) = true
And asked, what is f?And the people will immediately jump in and test 16, 32, and then proudly declare that
f = x -> x = 2^n for some integer n
Forgetting to test f(3), f(5), etc.With more examination it turns out that
f = x -> true.
\* I wish I could remember more of the details such as whether it was an experiment or just an illustration of one but it's not an easy thing to search for and I rely on memory and searching too much.A good video and better than I explained it too.
The video says it's inspired by Taleb's Black Swan so I suspect I read it in that too.
He uses the game to show that people do something akin to Bayesian updating over possible concepts and have certain intuitive priors (e.g., ‘even numbers’ is a priori more likely than {2, 7, 9, 31}).
This is briefly mentioned at the beginning of Kevin Murphy’s Machine Learning: A Probabilistic Approach, so you might also have encountered it there.
I think this mindset should be taught explicitly starting in grade school.
If you have an idea, think how you'd disprove it, and test it. If you can't think of how you'd disprove it, that's a strike against the idea. If you can't test it, that should at least make you suspicious.
Given any input word, I would tell them whether it was above the line, or below the line (which corresponded to acceptable and unacceptable behaviour in camp-speak). I think only two kids figured it out on their own, and each time I challenged them to write a program to categorize words automatically.
I wonder if hacker news can figure it out :)
"Hacker" -> Above the line
"News" -> Above the line
"chrisweekly" -> Below the line
"functional" -> Above the line
"programming" -> Below the line
What about "Hacks"? It uses only letters found in accepted words, but should be rejected because of the odd number of letters.
"Above the line" if len(s) % 2 == 0 else "Below the line"I think it's called "above the line" "below the line" because the characters in each of the accepted words don't travel below the "character placement line" that runs along the bottom of every word. I've forgotten the "real name" for this line.
Thus,
toothpaste -> below the line, because of "p"
tooth -> above the line, no characters pass below it.
Generally, if the word contains a y,p,q,g, or j, then it's "below".Right?
EDITS:
1: TIL the name for this property of a character is called a descender[1]. (And yet I still can't find the name for that blasted line.)
2: It's called a baseline[2], thanks taylorlunt
REFS:
I'll likely use it to mystify kids someday soon.
data TheLine = Above | Below
categoriseWord :: String -> TheLine
categoriseWord s
| length s <= 10 = Above
| otherwise = Below
There's not a lot to go on, though.Fuzzy -> Below the line
Weeds -> Above the line
let descenders = ['q','y','g','p','j'];
let isBelow = (word) => descenders.some(d => word.includes(d));
let tests = {
"Hacker" : false,
"News" : false,
"chrisweekly" : true,
"programming" : true,
};
for (const test in tests) {
let pass = isBelow(test) == tests[test];
console.log( pass ? `Passed for ${test}` : `Failed for ${test}` );
}The land of Nodd has floors, but no ceiling. It has grass but no lawn. It has no animals but there are teeth. Etc.
The game is we asked him questions about whether it has something or does not, and we had to figure out what "The land of Nodd" was :P
Is there a good way to play to train for “most confidence before answering” without making it a drudge of endless tests and humhawing?
Making each question a more powerful test would be good, but that’s not what racing to the answer encourages, that encourages guessing the teacher’s password.
What about tests are free, first to answer wins, but a wrong answer or two disqualifies you completely?
You don’t have to use the official Looney pyramids, of course, but those work really well. Just enough variations to be really interesting.
There’s an older game that uses playing cards, Eleusis: https://en.wikipedia.org/wiki/Eleusis_(card_game)