The AI Lab
Three demos that open the hood. Everything runs on your own device: nothing you click is sent anywhere, and no sign-up is needed. Safe for every age.
Teach the machine
Pick a color, then click the board to add examples, like showing a computer pictures labeled “apple” or “orange.” The machine looks at the closest examples it has seen and guesses. That is real machine learning (it is called k-nearest neighbors).
Predict the next word
This tiny language model has read only Psalm 23, Psalm 8:3–6 and Psalm 139:14. It counts which word tends to follow which. Chat assistants work on the same idea, just trained on vastly more text with far bigger math: they predict likely next words.
Start with:
Choose the next word:
Which honor should I earn next?
An expert system does not learn from data. A person writes the rules, and the computer applies them and explains why. Answer the questions and watch the rules.
Do you love being outdoors?
Do you want to fly something?
How old are you?
Do you like building things?
Some questions do not matter for some answers. Real expert systems only ask what they need. Notice how this one shows its reasoning: that is the big advantage over a “black box.”
What each demo teaches
| Demo | Honor requirements | The lesson |
|---|---|---|
| Teach the machine | 5 (learning, pattern recognition), 7 | AI learns from examples, so bad or unbalanced examples produce bad guesses. |
| Predict the next word | 5 (natural language processing), 7, 8 | Language models predict likely words. Sounding right is not the same as being true. |
| Expert system | 9, 10, 11 (knowledge engineering) | Rules written by an expert, applied consistently, with the reasoning shown. |