PythonNN_demo001
# Normal dist initialisation | |
# Matrix multiplication: input * hidden * output | |
self.wih = np.random.normal(0.0, pow(self.i_nodes, -0.5), (self.h_nodes, self.i_nodes)) | |
self.who = np.random.normal(0.0, pow(self.h_nodes, -0.5), (self.o_nodes, self.h_nodes)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment