Circuits Learned by Example Online