NeuroTechX / NeuroTechX/moabb

Save results as soon as they are computed

Open
#419 1 comment 0 reactions 2 assignees View on GitHub

@bruAristimunha is already working on this.

Since Jul 11, 2023.

enhancement moabb
Dominant language
Python
Stars
1.1k
Forks
264
Avg merge
1d 13m
Merged PRs (30d)
23

Description

As I understand, rn we save the results to the hdf5 file when the evaluation of a whole dataset is over, and then we continue with the next dataset:
https://github.com/NeuroTechX/moabb/blob/a9f2e4ca3abc02e5fb81d36da06760f11653e550/moabb/evaluations/base.py#L165

But if we evaluate many pipelines on the same dataset, the chances of failing before the end of the evaluation are high. And if we fail all the results for the dataset are lost...
Would it be possible to save the results as soon as they are computed (i.e. after every fold of every session of every subject)?

Potential issues I see:

  • parallel access to the hdf5 file
  • computational overhead due to accessing the hdf5 more often

What do you think?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.