From b9ffdeb73834606f66ff2170f6ea9370a635602e Mon Sep 17 00:00:00 2001 From: DesireeWyrzylala <74858504+DesireeWyrzylala@users.noreply.github.com> Date: Thu, 13 Feb 2025 20:40:13 +0100 Subject: [PATCH] kernels using --- src/models/sofia_modelle/call_sub_iforestpy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/sofia_modelle/call_sub_iforestpy b/src/models/sofia_modelle/call_sub_iforestpy index 2b16a37..da34c1e 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) -- GitLab