Beta

Sync to cloud

Uses your current signed-in YoolVi account. A Learn profile is not required.

Upload a snapshot of this browser’s saved lesson work across all subjects, including notes, experiments, journal and review history. Existing guest work is included only when you confirm below. This does not upload account credentials or award XP.

Sync uploads to your private account; it does not automatically merge or replace this device’s work. On another device, download the cloud copy and use My Learning’s backup import. The previous cloud snapshot is retained when a new one replaces it.

Export or import this device’s work

No background uploads. Edits made after a snapshot need another sync. On shared devices, work is bound to the first account observed by cloud sync; another account must use a separate browser profile. Keep your own downloaded backup too.

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Back to Neural Networks Training and Debugging

Can it tell when two switches are different?

See why adding a hidden layer can solve patterns a straight boundary cannot, before paying for a larger model.

Nonlinear layersFixed teaching example — not your saved experiment.
  1. Starting information

    Switches: off/on and on/off

  2. Relationship or operation

    Both differ; matching switch pairs do not

  3. Consequence

    Lamp on only for different switches

XOR means exactly one input is on. A nonlinear transformation such as ReLU, which replaces negative values with zero, enables boundaries that one straight line cannot express.

Your learning goal

Try all four switch pairs. Find what makes the rule work.

Start this lesson
Preparation and refresher links
Lesson outline · six steps
  1. Understand nonlinear layers
  2. Predict: Nonlinear layers
  3. Investigate: Nonlinear layers
  4. Explain: Nonlinear layers
  5. Apply: Nonlinear layers
  6. Reflect on nonlinear layers

Visual explanation

Related ideas and prerequisites