To be trusted you must

SEPARATE YOUR THOUGHTS

Lift the data into 3D so a plane can divide it

How to Play

  • Points are shown in 3D space
  • Dark and light points are mixed
  • Write a formula to compute Z from X and Y
  • Goal: dark points below Z=0, light above
  • Drag the view to rotate in 3D
Separated
No
Dark
6
Light
6

Level 1: XOR Pattern

Separate points where X and Y have the same sign from those with opposite signs.

123
Create a Z value that separates dark points (below Z=0) from light points (above Z=0). Drag to rotate the view.

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

XYZ (transformed)Class
1.0001.0000.000Dark
1.5001.2000.000Dark
0.8001.3000.000Dark
-1.000-1.0000.000Dark
-1.200-0.8000.000Dark
-0.900-1.1000.000Dark
1.000-1.0000.000Light
1.200-0.9000.000Light
0.900-1.2000.000Light
-1.0001.0000.000Light
-0.8001.1000.000Light
-1.1000.9000.000Light
Too old for this