protected int removePoorestModelBytes ( ) { int poorestIndex = Utils . minIndex ( this . ensembleWeights ) ; int byteSize = this . ensemble [ poorestIndex ] . measureByteSize ( ) ; discardModel ( poorestIndex ) ; return byteSize ; }
Removes the poorest classifier from the model thus decreasing the models size .