<NME> BMMInitializerTest.java
<BEF> ADDFILE
<MSG> stable calculation of kl divergence

<DFF> @@ -0,0 +1,33 @@
+package edu.neu.ccs.pyramid.multilabel_classification.bmm_variant;
+
+import edu.neu.ccs.pyramid.configuration.Config;
+import edu.neu.ccs.pyramid.dataset.DataSetType;
+import edu.neu.ccs.pyramid.dataset.MultiLabelClfDataSet;
+import edu.neu.ccs.pyramid.dataset.TRECFormat;
+
+import java.io.File;
+
+import static org.junit.Assert.*;
+
+public class BMMInitializerTest {
+    private static final Config config = new Config("config/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();
+    }
+
+    private static void test1() throws Exception{
+
+        MultiLabelClfDataSet trainSet = TRECFormat.loadMultiLabelClfDataSet(new File(DATASETS, "/flags/train"),
+                DataSetType.ML_CLF_SPARSE, true);
+
+
+        int numClusters = 2;
+        double softmaxVariance = 1000;
+        double logitVariance = 1000;
+        BMMClassifier bmmClassifier = new BMMClassifier(trainSet.getNumClasses(),numClusters,trainSet.getNumFeatures());
+        BMMInitializer.initialize(bmmClassifier,trainSet,softmaxVariance,logitVariance);
+    }
+
+}
\ No newline at end of file

stable calculation of kl divergence