def METHOD_NAME(self):
    self.n_train = 200
    self.n_test = 100
    self.contamination = 0.1
    self.roc_floor = 0.8
    self.X_train, self.X_test, self.y_train, self.y_test = generate_data(
        n_train=self.n_train, n_test=self.n_test, n_features=10,
        contamination=self.contamination, random_state=42)
    self.clf = ECOD(contamination=self.contamination, n_jobs=2)
    self.clf.fit(self.X_train)
    # get a copy from the single thread copy
    self.clf_ = ECOD(contamination=self.contamination)
    self.clf_.fit(self.X_train)