Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallel save model #1

Open
wants to merge 21 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
edde508
Changing the cross-session to include parallel
bruAristimunha Apr 21, 2023
0abe9a5
Fixing pass with return
bruAristimunha Apr 21, 2023
bde6d2c
Changing the evaluations.py
bruAristimunha Apr 21, 2023
abc5175
Merge branch 'develop' into parallel-cross-session
bruAristimunha Apr 25, 2023
7bf1726
Changing the Within evaluations.py
bruAristimunha Apr 27, 2023
2346006
Merge remote-tracking branch 'origin/parallel-cross-session' into par…
bruAristimunha Apr 27, 2023
d8da7f6
Reverting
bruAristimunha Apr 27, 2023
51c8f50
Merge remote-tracking branch 'origin/parallel-cross-session' into par…
bruAristimunha Apr 27, 2023
0eba45e
Reverting again
bruAristimunha Apr 27, 2023
bba4f4d
Merge remote-tracking branch 'origin/parallel-cross-session' into par…
bruAristimunha Apr 27, 2023
533a15d
Merge branch 'develop' into parallel-cross-session
bruAristimunha Apr 28, 2023
4a15e28
Parallel WithinSession
bruAristimunha May 3, 2023
d6a431b
Merge remote-tracking branch 'origin/parallel-cross-session' into par…
bruAristimunha May 3, 2023
14c1eb3
Updating the evaluation, removing the yield
bruAristimunha May 16, 2023
6c828b5
Updating the evaluation, removing the yield
bruAristimunha May 16, 2023
4c96598
Changing the parameter to base evaluation
bruAristimunha May 16, 2023
275a16e
Adding verbose as true
bruAristimunha May 16, 2023
563446b
Fixing the issue =)
bruAristimunha May 16, 2023
654dad2
Saving the models
bruAristimunha May 16, 2023
b392397
Changing the save folder
bruAristimunha May 17, 2023
20a968a
Adding id_cv
bruAristimunha May 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion moabb/evaluations/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ class BaseEvaluation(ABC):
If not None, can guarantee same seed for shuffling examples.
n_jobs: int, default=1
Number of jobs for fitting of pipeline.
n_jobs_evaluation: int, default=1
Number of jobs for evaluation, processing in parallel the within session,
cross-session or cross-subject.
overwrite: bool, default=False
If true, overwrite the results.
error_score: "raise" or numeric, default="raise"
Expand All @@ -52,6 +55,7 @@ def __init__(
datasets=None,
random_state=None,
n_jobs=1,
n_jobs_evaluation=1,
overwrite=False,
error_score="raise",
suffix="",
Expand All @@ -63,12 +67,12 @@ def __init__(
):
self.random_state = random_state
self.n_jobs = n_jobs
self.n_jobs_evaluation = n_jobs_evaluation
self.error_score = error_score
self.hdf5_path = hdf5_path
self.return_epochs = return_epochs
self.return_raws = return_raws
self.mne_labels = mne_labels

# check paradigm
if not isinstance(paradigm, BaseParadigm):
raise (ValueError("paradigm must be an Paradigm instance"))
Expand Down
Loading