CsvRecordFactory csv = lmp.getCsvRecordFactory();
assertEquals("[1, 2]", Sets.newTreeSet(csv.getTargetCategories()).toString());
assertEquals("[Intercept Term, x, y]", Sets.newTreeSet(csv.getPredictors()).toString());
// verify model by building dissector
AbstractVectorClassifier model = TrainLogistic.getModel();
List<String> data = Resources.readLines(Resources.getResource("donut.csv"), Charsets.UTF_8);
Map<String, Double> expectedValues = ImmutableMap.of("x", -0.7, "y", -0.43, "Intercept Term", -0.15);
verifyModel(lmp, csv, data, model, expectedValues);
// test saved model