Welcome to challenges!
The idea is to have a series of simple problems, presented every so often, where people can discuss different circuits and implementations / weigh the pros and cons of various approaches. The goal is to hopefully learn some new techniques for neural circuit design and generate a set of efficient, robust solutions to various problems.
Answers should be posted with code and simulation results!
The first challenge is to generate a circuit that transforms an input signal into a clean 0 if it’s below .5, and a clean 1 if it’s above .5.
The input to the system is
nengo.Node(lambda x: np.cos(x)*.5+.5) and the system should run for 6 seconds.