void function ( double [ ] [ ] arg0 ) { Random loc0 = new Random ( seed ) ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { for ( int loc2 = 0 ; loc2 < arg0 [ loc1 ] . length ; loc2 ++ ) { arg0 [ loc1 ] [ loc2 ] = 4 * loc0 . nextDouble ( ) - 2 ; } } }
initializes a weight matrix with random weights between -2 and 2 concode_field_sep int[] neuronsPerLayer concode_elem_sep PrintWriter log concode_elem_sep int logLine concode_elem_sep ArrayList<double[]> deltaValues concode_elem_sep ArrayList<double[]> neuronOutputs concode_elem_sep int inputDimension concode_elem_sep double[] learningRate concode_elem_sep double[] output concode_elem_sep double[] input concode_elem_sep TransferFunction[] transfer concode_elem_sep ArrayList<double[]> netSums concode_elem_sep ArrayList<double[][]> weightMatrices concode_elem_sep int outputDimension concode_elem_sep int layers concode_elem_sep long seed concode_field_sep double test concode_elem_sep double test concode_elem_sep void log concode_elem_sep void teach concode_elem_sep String toString concode_elem_sep void main concode_elem_sep double[] calculate concode_elem_sep void setLearningRate concode_elem_sep double error concode_elem_sep double trans concode_elem_sep Vector<Pattern> readPatternsFromFile concode_elem_sep void train concode_elem_sep void train