diff --git a/src/models/sofia_modelle/call_sub_iforestpy b/src/models/sofia_modelle/call_sub_iforestpy index 2b16a3714bbc63f3323cd60fdc0b626b17778135..da34c1e21184618590e04bd9242c32c8261ec3da 100644 --- a/src/models/sofia_modelle/call_sub_iforestpy +++ b/src/models/sofia_modelle/call_sub_iforestpy @@ -11,7 +11,7 @@ params = { 'n_estimators': [25, 50, 100, 150, 200] } -def run_Sub_IForest(data, periodicity=1, n_estimators=100, max_features=1, n_jobs=1): +def run_Sub_IForest(data, periodicity=1, n_estimators=100, max_features=1, n_jobs=-1): slidingWindow = find_length_rank(data, rank=periodicity) clf = IForest(slidingWindow=slidingWindow, n_estimators=n_estimators, max_features=max_features, n_jobs=n_jobs) clf.fit(data)