human
Can you provide a the Python code you requested given the following:
I am working on the file "Python/7 Neural Networks/Digit-Recognition-NN.ipynb".
The first task is:
The class Network is used to represent a feed-forward neural network with one hidden layer.
The constructor is called with the argument hiddenSize.  This parameter specifies the number of neurons in the hidden layer.  The network has $28 \cdot 28 = 784$ input nodes.  Each of the input nodes corresponds to the gray scale value of a single pixel in a $28 \cdot 28$ gray scale image of the digit that is to be recognized.  The number of output neurons is 10.  For $i \in {0,\cdots,9}$, the $i$th output neuron tries to recognize the digit $i$.
Can you write Python code for it?
assistant
#Here is the Python code you requested.

class Network(object):
    def __init__(self, hiddenSize):
        self.mInputSize  = 28 * 28
        self.mHiddenSize = hiddenSize
        self.mOutputSize = 10
        self.mBiasesH    = np.zeros((self.mHiddenSize, 1))   # biases hidden layer
        self.mBiasesO    = np.zeros((self.mOutputSize, 1))   # biases output layer
        self.mWeightsH   = rndMatrix(self.mHiddenSize, self.mInputSize)  # weights hidden layer
        self.mWeightsO   = rndMatrix(self.mOutputSize, self.mHiddenSize) # weights output layer