Skip to content

Commit

Permalink
Removing code not use
Browse files Browse the repository at this point in the history
  • Loading branch information
bruAristimunha committed Oct 27, 2023
1 parent a539ac7 commit 21be5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moabb/evaluations/evaluations.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,10 +678,10 @@ def evaluate(
# perform leave one subject out CV
if self.n_splits is None:
cv = LeaveOneGroupOut()
# cv = GroupKFold(n_splits=n_subjects)
else:
cv = GroupKFold(n_splits=self.n_splits)
n_subjects = self.n_splits

inner_cv = StratifiedKFold(3, shuffle=True, random_state=self.random_state)

# Implement Grid Search
Expand Down

0 comments on commit 21be5ab

Please sign in to comment.