public NeuralNetwork(int input_nodes, int hidden_nodes, int output_nodes) { this.input_nodes = input_nodes; this.hidden_nodes = hidden_nodes; this.output_nodes = output_nodes; weights_ih = new Matrixs(this.hidden_nodes, this.input_nodes); weights_ho = new Matrixs(this.output_nodes, this.hidden_nodes); weights_ih.Randomize(); weights_ho.Randomize(); bias_h = new Matrixs(this.hidden_nodes, 1); bias_o = new Matrixs(this.output_nodes, 1); bias_h.Randomize(); bias_o.Randomize(); learningRate = 0.1; }