@@ -0,0 +1,873 @@
+package mltk.predictor.tree.ensemble.brt;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport mltk.core.Instances;%0Aimport mltk.core.InstancesTestHelper;%0Aimport mltk.predictor.evaluation.Evaluator;%0Aimport mltk.predictor.evaluation.MetricFactory;%0Aimport mltk.predictor.tree.TreeLearner;%0A%0Apublic class LogitBoostLearnerTest %7B%0A%0A%09@Test%0A%09public void testLogitBoostLearner() %7B%0A%09%09TreeLearner treeLearner = BRTUtils.parseTreeLearner(%22rrt:d:3%22);%0A%09%09Instances instances = InstancesTestHelper.getInstance().getDenseClassificationDataset();%0A%09%09%0A%09%09LogitBoostLearner learner = new LogitBoostLearner();%0A%09%09learner.setLearningRate(0.1);%0A%09%09learner.setMetric(MetricFactory.getMetric(%22auc%22));%0A%09%09learner.setTreeLearner(treeLearner);%0A%09%09%0A%09%09BRT brt = learner.buildBinaryClassifier(instances, 10);%0A%09%09double auc = Evaluator.evalAreaUnderROC(brt, instances);%0A%09%09Assert.assertTrue(auc %3E 0.5);%0A%09%7D%0A%09%0A%7D%0A

add unit test for LogitBoostLearner