Network¶
-
class
mlbase.network.
Network
[source]¶ Theano based neural network.
-
build
(reload=False)[source]¶ Build the training function and predict function after collecting all the necessary information.
-
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. This is a DAG walker. Guarantee all previous layers are visited for the next visiting layer.
-
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.
-