When trying to use EnsembleStack with mode="labels" I got the "too many indices for an array" error in stacker.py. The reason is that as per the comment in Ensemble.output() method the output matrix is 2d for mode='labels' and 3d for 'probs' and 'votes'. I added the conditional assignment based on the self.method in EnsembleStack.
When trying to use EnsembleStack with mode="labels" I got the "too many indices for an array" error in stacker.py. The reason is that as per the comment in Ensemble.output() method the output matrix is 2d for mode='labels' and 3d for 'probs' and 'votes'. I added the conditional assignment based on the self.method in EnsembleStack.