reformBatches

abstract fun reformBatches(numBatches: Int): DoubleArray

Takes the current batch means and batches them into the specified number of batches. This does not change the current batch means

Return

the array of new batch means

Parameters

numBatches

the number of batches, must be greater that zero, and less than or equal to the current number of batches