Keras XOR Network
Train a small network to learn the XOR pattern.
Files stay in this browser tab. Select them again when reopening a draft.
Keras
XOR training
Train a Keras neural network to classify samples into the right class.
Input
x1
x2
…
Predicted
class A
Each chromosome encodes the network's weights; fitness = classification accuracy.
Run This Yourself, for Free
Sign in to configure and launch a genetic algorithm against this problem, or bring your own.
Get started