How to save and recover PyBrain training?

PyBrain’s Neural Networks can be saved and loaded using either python’s built in pickle/cPickle module, or by using PyBrain’s XML NetworkWriter. # Using pickle from pybrain.tools.shortcuts import buildNetwork import pickle net = buildNetwork(2,4,1) fileObject = open(‘filename’, ‘w’) pickle.dump(net, fileObject) fileObject.close() fileObject = open(‘filename’,’r’) net = pickle.load(fileObject) Note cPickle is implemented in C, and therefore should … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)