shankarpandala / lazypredict

Lazy Predict help build a lot of basic models without much code and helps understand which models works better without any parameter tuning
MIT License
2.76k stars 317 forks source link

Stopping slow algorithms #440

Open PierrickPochelu opened 6 months ago

PierrickPochelu commented 6 months ago

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: