A bar detector

You will learn

Why a neuron's weights work as a template.

Give the neuron the weights of a vertical bar and its sum counts agreements minus disagreements with them. The vertical bar sums to 9 and fires +1, the inverted bar sums to -9 and fires -1, the horizontal bar and the diagonal sum to 1 and noise to 0. The lesson spec is the same neuron in hardware: a combinational BitNet neuron over one 27-trit chunk.

Open the interactive lesson →