This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
class NeuralNetwork(object): | |
def __init__(self, input_nodes, hidden_nodes, output_nodes, learning_rate): | |
# Set number of nodes in input, hidden and output layers. | |
self.input_nodes = input_nodes | |
self.hidden_nodes = hidden_nodes | |
self.output_nodes = output_nodes |
NewerOlder