Network

class mlbase.network.Network[source]

Theano based neural network.

getLastLinkName()[source]

Get last link file name, including path prefix.

getSaveModelName(dateTime=None)[source]

Return default model saving file name, including path prefix.

load(istream)[source]

Load the model from input stream. reset() is called to clean up network instance.

nextLayer()[source]

Use this method to iterate over all known layers.

reset()[source]

For sequential layerout network, use append() to add more layers, the first layer is set with setInput(). Network can do this, because it remember which layer to append to by using member variable currentLayer.

save(ostream)[source]

Save model to the stream.

saveToFile(fileName=None)[source]

Save the network to a file. Use the given file name if supplied. This may take some time when the model is large.

Create sym link to leates saved model.