OpenANN  1.1.0
An open source library for artificial neural networks.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Variables
xor Namespace Reference

Variables

tuple X = numpy.array([[0, 1], [0, 0], [1, 1], [1, 0]])
 
tuple Y = numpy.array([[1], [0], [0], [1]])
 
list D = X.shape[1]
 
list F = Y.shape[1]
 
list N = X.shape[0]
 
tuple dataset = DataSet(X, Y)
 
tuple net = Net()
 
dictionary stop_dict = {"minimal_value_differences" : 1e-10}
 
tuple lma = LMA(stop_dict)
 
tuple y = net.predict(X[n])
 

Variable Documentation

list xor.D = X.shape[1]
tuple xor.dataset = DataSet(X, Y)
list xor.F = Y.shape[1]
tuple xor.lma = LMA(stop_dict)
list xor.N = X.shape[0]
tuple xor.net = Net()
dictionary xor.stop_dict = {"minimal_value_differences" : 1e-10}
tuple xor.X = numpy.array([[0, 1], [0, 0], [1, 1], [1, 0]])
tuple xor.Y = numpy.array([[1], [0], [0], [1]])
tuple xor.y = net.predict(X[n])