@ Override public void setNewNumberOfLabels ( int labels ) { int examples = numExamples ( ) ; INDArray newOutcomes = Nd4j . create ( examples , labels ) ; setLabels ( newOutcomes ) ; }
Clears the outcome matrix setting a new number of labels