<NME> SubsetAccPredictor.java
<BEF> ADDFILE
<MSG> SubsetAccPredictor for crf

<DFF> @@ -0,0 +1,23 @@
+package edu.neu.ccs.pyramid.multilabel_classification.crf;
+
+import edu.neu.ccs.pyramid.dataset.MultiLabel;
+import edu.neu.ccs.pyramid.multilabel_classification.PluginPredictor;
+import edu.neu.ccs.pyramid.multilabel_classification.imlgb.IMLGradientBoosting;
+import org.apache.mahout.math.Vector;
+
+/**
+ * Created by chengli on 8/19/16.
+ */
+public class SubsetAccPredictor implements PluginPredictor<CMLCRF> {
+    private static final long serialVersionUID = 1L;
+    private CMLCRF crf;
+    @Override
+    public CMLCRF getModel() {
+        return crf;
+    }
+
+    @Override
+    public MultiLabel predict(Vector vector) {
+        return crf.predict(vector);
+    }
+}

SubsetAccPredictor for crf