def setUpClass(self):
        """
        Set up the unit test by loading the dataset and training a model.
        """
        # Load data and train model
        scikit_data = load_boston()
        self.X = scikit_data["data"].astype("f").astype(
            "d"
        )  ## scikit-learn downcasts data
        self.target = 1 * (scikit_data["target"] > scikit_data["target"].mean())
        self.feature_names = scikit_data["feature_names"]
        self.output_name = "target"
        self.scikit_data = scikit_data

        Set up the unit test by loading the dataset and training a model.
        
coremltools/test/sklearn_tests/test_random_forest_classifier_numeric.py