ExperimentBuilder extends AbstractBuilder { @Override public ExperimentBuilder experiment(ExperimentType type, String experimentName) { super.experiment(type, experimentName); return this; } ExperimentBuilder(); ExperimentBuilder machineLearningBackend(MLBackend... backends); @SuppressWarnings({ "unchecked", "rawtypes" }) @Override ParameterSpace getParameterSpace(); ExperimentBuilder featureSets(TcFeatureSet... featureSet); ExperimentBuilder featureFilter(String... filter); ExperimentBuilder features(TcFeature... features); @Override ExperimentBuilder dataReaderTrain(CollectionReaderDescription reader); @Override ExperimentBuilder dataReaderTest(CollectionReaderDescription reader); @Override ExperimentBuilder learningMode(LearningMode learningMode); @Override ExperimentBuilder featureMode(FeatureMode featureMode); @Override ExperimentBuilder learningCurveLimit(int learningCurveLimit); @Override ExperimentBuilder experiment(ExperimentType type, String experimentName); @Override ExperimentBuilder reports(ReportBase... reports); @Override ExperimentBuilder preprocessing(AnalysisEngineDescription preprocessing); @Override ExperimentBuilder numFolds(int numFolds); @Override ExperimentBuilder name(String experimentName); ExperimentBuilder bipartitionThreshold(double threshold); Experiment_ImplBase build(); @Override ExperimentBuilder outputFolder(String filePath); @Override ExperimentBuilder outputFolder(File file);  }
@Test public void experimentTypeCV() { builder.experiment(ExperimentType.CROSS_VALIDATION, "cv"); assertEquals(builder.type.toString(), ExperimentType.CROSS_VALIDATION.toString()); }
@Test public void experimentTypeLearningCurve() { builder.experiment(ExperimentType.LEARNING_CURVE, "cv_learningCurve"); assertEquals(builder.type.toString(), ExperimentType.LEARNING_CURVE.toString()); }
@Test public void experimentTypeTrainTest() { builder.experiment(ExperimentType.TRAIN_TEST, "trainTest"); assertEquals(builder.type.toString(), ExperimentType.TRAIN_TEST.toString()); }
@Test public void experimentTypeLearningCurvedFixedTest() { builder.experiment(ExperimentType.LEARNING_CURVE_FIXED_TEST_SET, "fixedTest"); assertEquals(builder.type.toString(), ExperimentType.LEARNING_CURVE_FIXED_TEST_SET.toString()); }
@Test public void experimentSaveModelTest() { builder.experiment(ExperimentType.SAVE_MODEL, "saveModel"); assertEquals(builder.type.toString(), ExperimentType.SAVE_MODEL.toString()); }