Linux command
kaggle-competitions 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List competitions
kaggle competitions list
Download competition files
kaggle competitions download -c [competition-name]
Submit to competition
kaggle competitions submit -c [competition-name] -f [submission.csv] -m "[message]"
List competition files
kaggle competitions files -c [competition-name]
View leaderboard
kaggle competitions leaderboard -c [competition-name] -s
List past submissions
kaggle competitions submissions -c [competition-name]
Search competitions
kaggle competitions list -s "[search-term]"
Download a specific file
kaggle competitions download -c [competition-name] -f [filename]
说明
kaggle competitions manages Kaggle machine learning competitions from the command line. Part of the Kaggle CLI, it allows downloading datasets, submitting predictions, and checking leaderboard standings without using the web interface.
参数
- list
- List available competitions. Supports --category, --sort-by, --page, --search, --csv.
- download -c _name_
- Download competition data. Use -f for a specific file, -p for destination path, -o to overwrite.
- submit -c _name_ -f _file_ -m _message_
- Submit predictions. Both -f and -m are required.
- files -c _name_
- List competition data files.
- submissions -c _name_
- List your past submissions and scores.
- leaderboard -c _name_
- View competition leaderboard. Use -s to show, -d to download as CSV.
FAQ
What is the kaggle-competitions command used for?
kaggle competitions manages Kaggle machine learning competitions from the command line. Part of the Kaggle CLI, it allows downloading datasets, submitting predictions, and checking leaderboard standings without using the web interface.
How do I run a basic kaggle-competitions example?
Run `kaggle competitions list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does list do in kaggle-competitions?
List available competitions. Supports --category, --sort-by, --page, --search, --csv.