Skip to content
Snippets Groups Projects
Commit b9ffdeb7 authored by DesireeWyrzylala's avatar DesireeWyrzylala
Browse files

kernels using

parent de314ab8
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment