detector = IsolationForest(contamination=0.15, random_state=42) detector.fit(training_rows)