package water.api;

import hex.ConfusionMatrix;
import water.util.TwoDimTable;

public class ConfusionMatrixBase<I extends ConfusionMatrix, S extends ConfusionMatrixBase> extends Schema<I, ConfusionMatrixBase<I, S>> {
  @API(help="Confusion matrix (Actual/Predicted)", direction=API.Direction.OUTPUT)
  public long[][] confusion_matrix; // [actual][predicted]

  @API(help = "Prediction error by class", direction=API.Direction.OUTPUT)
  public double[] prediction_error_by_class;

  @API(help = "Prediction error", direction=API.Direction.OUTPUT)
  public double prediction_error;

  @API(help="Annotated confusion matrix", direction=API.Direction.OUTPUT)
  public TwoDimTableV1 table;

  // Version&Schema-specific filling into the implementation object
  public I createImpl() {
    // TODO: this is bogus. . .
    ConfusionMatrix cm = new ConfusionMatrix(this.confusion_matrix, null);
    return (I)cm;
  }
}

@@ -215,373 +215,8 @@
 %3E %7B%0A
-  @API(help=%22Confusion matrix (Actual/Predicted)%22, direction=API.Direction.OUTPUT)%0A  public long%5B%5D%5B%5D confusion_matrix; // %5Bactual%5D%5Bpredicted%5D%0A%0A  @API(help = %22Prediction error by class%22, direction=API.Direction.OUTPUT)%0A  public double%5B%5D prediction_error_by_class;%0A%0A  @API(help = %22Prediction error%22, direction=API.Direction.OUTPUT)%0A  public double prediction_error;%0A%0A
   @A
@@ -285,16 +285,16 @@
 OUTPUT)%0A
+
   public
@@ -491,29 +491,12 @@
 rix(
-this.confusion_matrix
+null
 , nu

remove dead fields