public static RandomForest fit(Formula formula, DataFrame data) {
        return fit(formula, data, new Properties());
    }
@Test
    public void testBreastCancer() {
        System.out.println("Breast Cancer");

        MathEx.setSeed(19650218); // to get repeatable results for cross validation.
        ClassificationValidations<RandomForest> result = CrossValidation.classification(10, BreastCancer.formula, BreastCancer.data,
                (f, x) -> RandomForest.fit(f, x, 100, 5, SplitRule.GINI, 20, 100, 5, 1.0, null, Arrays.stream(seeds)));

        System.out.println(result);
        assertEquals(0.9550, result.avg.accuracy, 1E-4);
    }