def randomweights(ins, outs, n, m): matrix = [] for i in range(outs): list = [] for j in range(ins): weight = backprop4.rand(n,m) list.append(weight) matrix.append(list) return matrix
def randTest(): testgeister = [] d = {} i = 680 while i < 799: n = backprop4.rand(680,799) d[n]=geisterdata[i] i = i + 1 for i in d.keys(): testgeister.append(d[i]) return testgeister
def randValid(): validgeister = [] d = {} i = 560 while i < 679: n = backprop4.rand(560,679) d[n]=geisterdata[i] i = i + 1 for i in d.keys(): validgeister.append(d[i]) return validgeister
def randTraining(): newgeister = [] d = {} i = 0 while i < 560: n = backprop4.rand(0,559) d[n]=geisterdata[i] i = i + 1 for i in d.keys(): newgeister.append(d[i]) return newgeister
def randombias(outs, n, m): list = [] for i in range(outs): k = backprop4.rand(n,m) list.append(k) return list