Index Ai Academy
Glossary · Phase 4 · Deep learning

XOR

"Exclusive or": yes when exactly one of two things is true, but not both. One neuron can't learn it; two layers can.

Try it now

Multiply each input by its weight, add the bias, then pass the sum through an activation. Move anything and follow the numbers.

Learn it properly

The artificial neuron · Weighted sum plus a nonlinearity. About 25 minutes.

Start this free lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write