-
Notifications
You must be signed in to change notification settings - Fork 1
xeno
Tim Erickson edited this page Sep 28, 2018
·
6 revisions
Note: this is designed to be used in conjunction with arbor.
This plugin generates extraterrestrial creatures that may or may not have a particular malady. These maladies are associated with attributes (hair color, weight, number of tentacles, etc.) of the creatures. Your goal is to learn to diagnose the maladies, or, possibly, to identify which creatures are at risk.
There are three modes:
- In "training" you get as many creatures as you like and are told whether they are sick or well.
- In "one by one" you get one creature and tell the plugin whether you think it is sick or well. Then you're told if you are correct.
- In "auto," you have used arbor to construct a classification tree to diagnose the creatures. You tell the plugin how many creatures; it generates them; and then sends their data to the tree for diagnosis. You are told which are correct and which are not.
In this initial version, you get or lose points depending on how good your diagnoses are. In this context, a false negative is worse than a false positive.
The purpose is to give students experience with the very idea of a tree so that when they use more sophisticated tools they will better understand what they are doing.
-
xeno.html: the basic UI for this plugin, plus paths to the js. -
xeno.css: style the html. Note that the layout usesgrid. -
xeno.js: defines the globalxeno, acts as a controller, responds to control inputs, etc. Also manages everything that would ordinarily be inxeno.ui.js, but this is relatively simple, so everything is here. -
xeno.model.js: Generates new cases. Also has the algorithm for doing so based on the malady chosen; that's in the objectxeno.model.maladies. -
xeno.strings.js: Localization! If you import the url with?lang=de, it will show up more or less in German. -
xenoConnect.js: manages the connections with CODAP. Includes sending new creatures to thecreaturestable, including in response to diagnoses made in the tree.
-
arborWorkshop.html: a web page with instructions for using this in combination with arbor. We have "imported" this page into documents for workshop use. -
arborWorkshop.css: styling for that web page.