double[] d = { 0,0,0,0,0,0,0,0,0,0,0,0,0 };
BasicNetwork network = EncogUtility.simpleFeedForward(2,3,0,1,false);
NetworkCODEC.arrayToNetwork(d, network);
PruneSelective prune = new PruneSelective(network);
prune.randomizeNeuron(100, 100, 1,1);
Assert.assertEquals("0,100,0,0,0,0,0,100,100,100,0,0,0", network.dumpWeights());
}
public void testRandomizeNeuronOutput()
{
double[] d = { 0,0,0,0,0,0,0,0,0,0,0,0,0 };