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

Add batch_size to nplet measures and heuristic functions #15

Open
Laouen opened this issue Oct 20, 2024 · 1 comment
Open

Add batch_size to nplet measures and heuristic functions #15

Laouen opened this issue Oct 20, 2024 · 1 comment
Labels

Comments

@Laouen
Copy link
Owner

Laouen commented Oct 20, 2024

the following functions comput in a single batch the given input:

nplet_measures
nplet_measures_hot_encoded
greedy (the repeat parameter is the batch)
simulated_annealing (the repeat parameter is the batch)
simulated_annealing_multi_order (the repeat parameter is the batch)

The problem is that in some cases the single batch could be to big (for example if repeat == 2000) or if doing an analysis taking all nplets with some attributes. Then, we need to implement a dataset and dataloader to process in smaller batches where the user controls the batch_size as parameter.

@Laouen Laouen added documentation Improvements or additions to documentation feature and removed documentation Improvements or additions to documentation labels Oct 20, 2024
@Laouen
Copy link
Owner Author

Laouen commented Jan 23, 2025

This feature is becoming very relevant for easy use of the tool in not powerful devices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant