trainindata / deploying-machine-learning-models

Code for the online course "Deployment of Machine Learning Models"
https://www.udemy.com/course/deployment-of-machine-learning-models/?referralCode=D4FE5EA129FFD203CFF4
BSD 3-Clause "New" or "Revised" License
764 stars 7.46k forks source link

kaggle api download dataset bug #468

Open camilojaure opened 3 years ago

camilojaure commented 3 years ago

I've encounter that when downloading the test and train datasets from kaggle from the fetch_kaggle_dataset.sh returns a zip file so in result the model can't be trained. I've found a solution by specifying the -f argument in the command to catch the train.csv and test.csv precisely. So in my version the script follows like this:

kaggle competitions download -c house-prices-advanced-regression-techniques -f train.csv -p packages/regression_model/regression_model/datasets/ kaggle competitions download -c house-prices-advanced-regression-techniques -f test.csv -p packages/regression_model/regression_model/datasets/

Pendu commented 3 years ago

thank you very much!