Expert Systems
Anyone who unpacked a BBC Micro in the 1980s may remember ANIMAL from the Welcome cassette. We thought of an animal, answered yes or no to a handful of questions, and the computer worked out which one we had in mind. When it guessed wrong, it asked for a question that would tell the two animals apart, and so it learned. That little program was an expert system: knowledge stored as a tree of questions, growing every time somebody taught it something new.
Here are 8 of them to play, holding 250 answers between them. Each one was made with Expert System Studio.
Make one about anything
Expert System Studio is a small program for Windows that builds these. We teach it by playing, exactly as ANIMAL was taught, and it asks only for the question that separates one answer from the next. Garden birds, faults in a bicycle, which tea to brew, the questions customers ask a shop: anything that can be told apart by asking questions.
When it is ready, one button turns it into a web page like the players above, ready to upload or to embed in any site. It is free to download.
GET THE STUDIO FREE SEE THE FULL VERSIONLopsided and balanced
A tree taught one guess at a time grows lopsided. These two know the same eight fruits and the same seven questions. The first was taught badly on purpose, so each question splits off just one fruit and a grape is seven questions away. The second is the same tree after the Studio balanced it: every fruit in three. Think of a fruit and play both.
1 to 7 questions, 4.4 on average
3 questions for every fruit
The balancer looks for the question that splits a group most evenly, puts it first, and does the same inside each branch. "Do we peel it?" divides the eight fruits four and four, so it moves from almost the last question to the first. Where the Studio is missing a fact it needs, it asks. Balancing is part of the full version.
What the Studio does
Teach by playing
Play the system inside the Studio. Each wrong guess becomes a new question and a new answer, with no forms to fill in. When two words mean the same thing, it learns both.
More than yes and no
A question can have any set of answers: small, medium or large; red, green or blue; morning, noon or night.
Trees that balance themselves
The Studio rearranges the questions so every answer is reached in as few as possible, as the fruit above shows.
Answers that say more
Give an answer a few lines of text, a picture and links to follow. A help desk can send customers straight to the right page.
A look to match any site
Five looks, from Clean to Mode 7 teletext, then our own colours, fonts and button shapes, and our own wording for every built-in sentence.
One file, any web page
The export is a single web page holding the player and all its knowledge, with nothing else to upload. Its embed code puts the player on any site.
Join free, or unlock Inner-Light for enhanced tools, exclusive creations and very generous discounts