<NME> AdaBoostMHTest.java
<BEF> ADDFILE
<MSG> add more tests

<DFF> @@ -0,0 +1,48 @@
+package edu.neu.ccs.pyramid.multilabel_classification.adaboostmh;
+
+import edu.neu.ccs.pyramid.configuration.Config;
+import edu.neu.ccs.pyramid.dataset.*;
+import edu.neu.ccs.pyramid.eval.Accuracy;
+import edu.neu.ccs.pyramid.eval.Overlap;
+import edu.neu.ccs.pyramid.multilabel_classification.imlgb.IMLGBConfig;
+import edu.neu.ccs.pyramid.multilabel_classification.imlgb.IMLGBTrainer;
+import edu.neu.ccs.pyramid.multilabel_classification.imlgb.IMLGradientBoosting;
+import org.apache.commons.lang3.time.StopWatch;
+
+import java.io.File;
+import java.util.List;
+
+import static org.junit.Assert.*;
+
+public class AdaBoostMHTest {
+    private static final Config config = new Config("configs/local.config");
+    private static final String DATASETS = config.getString("input.datasets");
+    private static final String TMP = config.getString("output.tmp");
+
+    public static void main(String[] args) throws Exception{
+        test1();
+
+    }
+
+    static void test1() throws Exception{
+        MultiLabelClfDataSet dataSet = TRECFormat.loadMultiLabelClfDataSet(new File(DATASETS, "ohsumed/3/train.trec"), DataSetType.ML_CLF_SPARSE, true);
+        MultiLabelClfDataSet testSet = TRECFormat.loadMultiLabelClfDataSet(new File(DATASETS, "ohsumed/3/test.trec"), DataSetType.ML_CLF_SPARSE, true);
+        AdaBoostMH boosting = new AdaBoostMH(dataSet.getNumClasses());
+
+        AdaBoostMHTrainer trainer = new AdaBoostMHTrainer(dataSet,boosting);
+
+        StopWatch stopWatch = new StopWatch();
+        stopWatch.start();
+        for (int round =0;round<500;round++){
+            System.out.println("round="+round);
+            trainer.iterate();
+            System.out.println(stopWatch);
+        }
+
+        System.out.println("training accuracy="+ Accuracy.accuracy(boosting, dataSet));
+        System.out.println("training overlap = "+ Overlap.overlap(boosting,dataSet));
+        System.out.println("test accuracy="+ Accuracy.accuracy(boosting, testSet));
+        System.out.println("test overlap = "+ Overlap.overlap(boosting,testSet));
+    }
+
+}
\ No newline at end of file

add more tests