public CounterPropagationNetwork(int inputsCount, ActivationFunction function,  params int[] neuronsCount)
     : base(inputsCount, 2)
 {
     // create layer
     layers[0] = new KohonenLayer(neuronsCount[0], inputsCount);
     layers[1] = new GrossbergLayer(neuronsCount[1], neuronsCount[0], function);
 }
 public KohonenNetwork(int inputsCount, int neuronsCount)
     : base(inputsCount, 1)
 {
     // create layer
     layers[0] = new KohonenLayer(neuronsCount, inputsCount);
 }