@Test
public void fitAndPredict() throws Exception {

	List<String> imports = Arrays.asList("sklearn", "sklearn.ensemble");
	String constructInstruction = "sklearn.ensemble.RandomForestClassifier(n_estimators=100)";
	ScikitLearnWrapper<ISingleLabelClassification, ISingleLabelClassificationPredictionBatch> slw = new ScikitLearnWrapper<>(constructInstruction, ScikitLearnWrapper.getImportString(imports), true,
			EScikitLearnProblemType.CLASSIFICATION);
	ILabeledDataset<ILabeledInstance> dataset = this.loadARFF(CLASSIFICATION_ARFF);
	RandomHoldoutSplitter<ILabeledDataset<ILabeledInstance>> splitter = new RandomHoldoutSplitter<>(new Random(), .7);
	IDatasetSplitSet<ILabeledDataset<ILabeledInstance>> set = splitter.nextSplitSet(dataset);
	long startTrain = System.currentTimeMillis();
	ISingleLabelClassificationPredictionBatch preds = slw.fitAndPredict(set.getFolds(0).get(0), set.getFolds(0).get(1));
	System.out.println("Call took: " + (System.currentTimeMillis() - startTrain) + "ms");
	assertNotNull(preds);
}