private int getPoorestClassifierIndex ( ) { int minIndex = 0 ; for ( int i = 1 ; i < this . weights . length ; i ++ ) { if ( this . weights [ i ] [ 0 ] < this . weights [ minIndex ] [ 0 ] ) { minIndex = i ; } } return minIndex ; }
Finds the index of the classifier with the smallest weight .