Level 1: XOR Pattern
Separate points where X and Y have the same sign from those with opposite signs.
123
3D View (drag to rotate)
Dark (target: Z < 0)
Light (target: Z > 0)
Your Z Formula
Compute the Z coordinate from X and Y. Return an array like [z_value].
function transform(x, y) {
}
Data Points
| X | Y | Z (transformed) | Class |
|---|---|---|---|
| 1.000 | 1.000 | 0.000 | Dark |
| 1.500 | 1.200 | 0.000 | Dark |
| 0.800 | 1.300 | 0.000 | Dark |
| -1.000 | -1.000 | 0.000 | Dark |
| -1.200 | -0.800 | 0.000 | Dark |
| -0.900 | -1.100 | 0.000 | Dark |
| 1.000 | -1.000 | 0.000 | Light |
| 1.200 | -0.900 | 0.000 | Light |
| 0.900 | -1.200 | 0.000 | Light |
| -1.000 | 1.000 | 0.000 | Light |
| -0.800 | 1.100 | 0.000 | Light |
| -1.100 | 0.900 | 0.000 | Light |