protected void singleEnsemble(final double[] ensemble,final NumberVector vec){
  double[] buf=new double[1];
  for (int i=0; i < ensemble.length; i++) {
    buf[0]=vec.doubleValue(i);
    ensemble[i]=voting.combine(buf,1);
    if (Double.isNaN(ensemble[i])) {
      LOG.warning("NaN after combining: " + FormatUtil.format(buf) + " "+ voting.toString());
    }
  }
  applyScaling(ensemble,scaling);
}

protected void singleEnsemble ( final double [ ] ensemble , final NumberVector vec ) { double [ ] buf = new double [ 1 ] ; for ( int i = 0 ; i < ensemble . length ; i ++ ) { buf [ 0 ] = vec . doubleValue ( i ) ; ensemble [ i ] = voting . combine ( buf , 1 ) ; if ( Double . isNaN ( ensemble [ i ] ) ) { LOG . warning ( "NaN after combining: " + FormatUtil . format ( buf ) + " " + voting . toString ( ) ) ; } } applyScaling ( ensemble , scaling ) ; }
build a single - element " ensemble " .
