/** Calculate weights using Ada method */ public void GetAdaWeights() { for (int i = 0; i < Noutputs; i++) { for (int j = 0; j < Nnetworks; j++) { weights[i][j] = Math.log(1.0 / betta[j]); } } }