code: @Override
      public double[] getVotesForInstance(Instance inst) {
          double[] ret;
          inst.setDataset(dataset);
          if (this.isInit == false) {
             ret = new double[dataset.numClasses()];
          } else {
              ret = learner.getVotesForInstance(inst);
          }
          return ret;
      }
docs: Predicts the class memberships for a given instance. If an instance is
  unclassified, the returned array elements must be all zero.
  
  @param inst the instance to be classified
  @return an array containing the estimated membership probabilities of the
  test instance in each class