def _forward_prop(self, x):
    self._activations[0] = x
    for i in range(1, self.num_layers):
        self._zs[i] = (self.weights[i].dot(self._activations[(i - 1)]) + self.biases[i])
        self._activations[i] = sigmoid(self._zs[i])
def _forward_prop(self, x):
    self._activations[0] = x
    for i in range(1, self.num_layers):
        self._zs[i] = (self.weights[i].dot(self._activations[(i - 1)]) + self.biases[i])
        self._activations[i] = sigmoid(self._zs[i])