End-to-end examples
Downloading data, training a model, and uploading predictions
This example demonstrates how to use the ChallengeClient
to download data, train a model, and upload predictions.
Submission automation
Scheduling a Kaggle notebook
If you're just starting out, we recommend using Kaggle Notebooks to schedule your submissions.
- Settings (⚙) → Schedule a notebook run → On
- Choose Frequency (daily / weekly / monthly), Start date, Runs ≤ 10 → Save
- A clock icon appears; each run writes a new Version with full logs & outputs
- Limits: CPU-only • ≤ 9 h per run • 1 private / 5 public schedules active
- Pause or delete the job anytime from the same Settings card
Need GPUs? Trigger notebook commits with the Kaggle API from cron/GitHub Actions.
Scheduling a Google Colab (Vertex AI) notebook
- Create a Google Cloud account if you don't have one already
- Go to Google Colab Notebooks in Vertex AI
- Set up a schedule:
- Open your notebook in Colab
- Click Runtime → Manage sessions
- Select Recurring and configure your schedule
- Set frequency (daily/weekly/monthly) and duration
- Click Save
- Authentication options:
- Use service account keys stored securely
- Set up environment variables in the Vertex AI console
- Use Google Cloud's Secret Manager for API keys
Note: Scheduled Colab notebooks run on Google Cloud and may incur charges based on your usage.