public void doit() throws Exception {
    PredictionModelModule pmm = (PredictionModelModule) pullInput(0);
    Table t = (Table) pullInput(1);

    PredictionTable pt = pmm.predict(t);
    int[] outputs = pt.getOutputFeatures();
    int[] preds = pt.getPredictionSet();

    int numRows = pt.getNumRows();

    String[] names = new String[preds.length];
    double[] errors = new double[preds.length];
    for (int i = 0; i < preds.length; i++) {
      int numCorrect = 0;
      for (int j = 0; j < numRows; j++) {
        String orig = pt.getString(j, outputs[i]);
        String pred = pt.getString(j, preds[i]);
        if (orig.equals(pred)) numCorrect++;
      }

      names[i] = pt.getColumnLabel(preds[i]);
      errors[i] = 1 - ((double) numCorrect) / ((double) numRows);
    }

    ParameterPoint pp = ParameterPointImpl.getParameterPoint(names, errors);
    pushOutput(pp, 0);
  }