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

Save results as soon as they are computed #419

Open
PierreGtch opened this issue Jul 10, 2023 · 1 comment · May be fixed by #422
Open

Save results as soon as they are computed #419

PierreGtch opened this issue Jul 10, 2023 · 1 comment · May be fixed by #422
Assignees

Comments

@PierreGtch
Copy link
Collaborator

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:

self.push_result(res, pipelines)

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?

@bruAristimunha
Copy link
Collaborator

I love this idea, it is fundamental, but I don't have much experience in how to do and change the hd5f. Can you open a PR, and we discuss it with the code?

@PierreGtch PierreGtch linked a pull request Jul 11, 2023 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants