def test(array): #array=np.array([[ 0.09167325, 0.006 ,0,0,0]]) array=mf.normalize(array) return MLPmodel.predict(array,array.shape[0])
def test(array,weightfile='MLP_weightsMultispeed151226.hdf5'): #array=np.array([[ 0.09167325, 0.006 ,0,0,0]]) MLPmodel=init(weight=weightfile) array=mf.normalize(array) return MLPmodel.predict(array,array.shape[0])