Distance becomes a score
Move the input and watch distance from a target become a scalar score. Find the symmetry yourself.
Teaching model · computed in your browser
Distance from unity
Move the input, watch the distance from 1 change, and calculate the score yourself.
x is a real input and |x − 1| is its absolute distance from 1. The displayed domain is −3 ≤ x ≤ 5; the mathematical function is defined for every real x.
Try this: compare x = 0 and x = 2. Why do they produce the same score?
The default worked example is shown below.
Substitute, then simplify: U(1) = 1 ÷ (1 + 0) = 1. Equal distances on either side of 1 give equal scores. A score of 1 is a property of this function; it is not evidence of consciousness.
| x | Distance from 1 | U(x) |
|---|---|---|
| -1 | 2 | 0.3333 |
| 0 | 1 | 0.5 |
| 1 | 0 | 1 |
| 2 | 1 | 0.5 |
| 3 | 2 | 0.3333 |
Learn the ideas behind this lab.
Follow a worked example, practice on your own, and return to the original project sources.
Progress is kept in this browser. How learning works