Submitted by Emergency-Dig-5262 t3_10rsldp in MachineLearning
Hello people,
I am currently attending a Data Science course and to finish I have to write a paper about a project that I am currently working on. I write the code in VSCode and I use .ipynb notebooks.
So I am basically training a few ML models after a long data preprocessing which worked out fine. But as soon as I run my hyperparameter tuning code, my PC takes a lot of time. Right now I am running hyperparameter tuning for RandomForest and it already runs for 21 hours.
Is there any possibility for me to run my code somewhere else? I read abour Heroku, but that seems to be too much than what I am looking for. I am getting a bit nervous, because I want to get this paper done. The worst case is that I have to buy a new PC.
Thank you so much!
BlazeObsidian t1_j6xbu8f wrote
You can try Kaggle notebooks and Google Colab notebooks but they don't persist for that long. They typically shut down after 6 hours. You'll have to periodically save your best model/hyperparameters but that might be a viable free option.
Google Colab also has a paid option where you can upgrade the RAM, GPU etc.. to meet your needs.
But I am curious as to why it's taking 21 hours. Have you checked in your course forums/discussions for the expected time ?
https://www.kaggle.com/
https://colab.research.google.com/