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

Stopping slow algorithms #440

Open
PierrickPochelu opened this issue Dec 15, 2023 · 0 comments
Open

Stopping slow algorithms #440

PierrickPochelu opened this issue Dec 15, 2023 · 0 comments

Comments

@PierrickPochelu
Copy link

Kernel methods may take several order magnitude more time than regressors.

I propose to introduce a time threshold (t) seconds for training algorithms. When the training time of an algorithm surpasses this threshold, the algorithm's training is terminated, and lazypredict goes to the next algorithm.

We may imagine those following implementation details:

  • All training algorithms are encapsulated in threads to facilitate time management.
  • API exposes to the user a time threshold parameter (t).
  • If the training time exceeds 't', the corresponding thread is terminated, and lazypredict goes to the next training loop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant