public void TestMaxentOnPrepAttachData() { var model = new GISTrainer().TrainModel(100, new TwoPassDataIndexer(PrepAttachDataUtility.CreateTrainingStream(), 1), 1); PrepAttachDataUtility.TestModel(model, 0.7997028967566229d); }
public void TestMaxentOnPrepAttachData2Threads() { var trainer = new GISTrainer(); var di = new TwoPassDataIndexer(PrepAttachDataUtility.CreateTrainingStream(), 1); var model = trainer.TrainModel(100, di, new UniformPrior(), 1, 2); PrepAttachDataUtility.TestModel(model, 0.7997028967566229d); }