// set input and output cells for network
NeuralNetworkFactory.setDefaultIO(this);
// set learnng rule
//this.setLearningRule(new BackPropagation(this));
this.setLearningRule(new MomentumBackpropagation());
// this.setLearningRule(new DynamicBackPropagation());
// flatten the network, if desired
if( Neuroph.getInstance().shouldFlattenNetworks() ) {
FlatNetworkPlugin.flattenNeuralNetworkNetwork(this);