{
// random matrix data. However, it provides a constant starting point
// for the unit tests.
BasicNetwork network = new BasicNetwork();
network.addLayer(new BasicLayer(null,true,2));
network.addLayer(new BasicLayer(new ActivationSigmoid(),true,3));
network.addLayer(new BasicLayer(new ActivationSigmoid(),false,3));
network.addLayer(new BasicLayer(null,false,1));
network.getStructure().finalizeStructure();
(new NguyenWidrowRandomizer()).randomize( network );
return network;
}