将文件从Google Colab提交到Kaggle

时间:2020-01-11 03:32:21

标签: file regression submit prediction kaggle

prediction=voting_reg.predict(test_prepared)

submission=pd.DataFrame({'Id':test['Id'],'SalePrice':prediction})

file_name='first_pred.csv'

submission.to_csv(file_name,index=False)

print('Saved file:'+file_name)

!kaggle competitions submit House Prices: Advanced Regression Techniques -f first_pred.csv -m

每当我尝试将其提交给kaggle时,都会出现此错误:

kaggle竞赛提交:错误:参数-m /-消息:预期一个参数

如何将Google colab中的文件提交给kaggle?

1 个答案:

答案 0 :(得分:0)

您必须提供实际信息以与您的提交一起进行。可以为空。

kaggle competitions submit favorita-grocery-sales-forecasting -f sample_submission_favorita.csv.7z -m "My submission message"