← Questions
Two-layer neural network in NumPy
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Write a small neural network with two layers using only NumPy: no deep learning framework. Set up the weights, run inputs through both layers and produce class probabilities with a softmax at the end.
Expect to be questioned on the details of your exponent and softmax code: what can go wrong when you call np.exp on raw scores, and how your softmax handles it.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Sign in to submit your code; every attempt is kept here.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding