How to Get Good at Kaggle: The Complete Kaggle Competitions Guide (2027)
A practical guide to getting good at Kaggle competitions: how to pick your first competition, a repeatable competition workflow, the validation, feature engineering and ensembling techniques that top solutions keep using, which public notebooks and winning write-ups to study, and a staged plan from first submission to medals. It covers tabular, computer vision, NLP and the newer LLM and agent competitions.
Last reviewed: December 2026.
Independent community guide; not affiliated with or endorsed by Kaggle or Google.
Table of contents
- Why Kaggle (and what it will not teach you)
- How Kaggle works: tiers, medals and competition types
- Roadmap: from zero to medals
- Choosing a competition
- The competition workflow
- Validation: the single most important skill
- Techniques by data type
- Ensembling and stacking
- Code competitions and inference limits
- Using LLMs and coding agents in competitions
- Notebooks and write-ups to study
- Free courses, books and tools
- Compute: free and cheap GPUs
- Teaming, discussion and etiquette
- Rules you must not break
- Exercises
- FAQ
- Where to go next
- Contributing
- License
Why Kaggle (and what it will not teach you)
Kaggle is the largest platform for machine learning competitions, datasets and notebooks, owned by Google. Competing teaches things that are hard to learn elsewhere:
- Honest evaluation. The private leaderboard punishes overfitting immediately.
- Speed of iteration. You learn to run many cheap experiments instead of one perfect one.
- State-of-the-art techniques in context. Winning write-ups show what actually works on real data this year.
- A public portfolio. Medals, notebooks and write-ups are visible to employers.
What Kaggle will not teach you: framing a business problem, collecting and labeling data, deployment, monitoring, and working within latency or cost budgets (except partially in code competitions). Pair Kaggle with a real end-to-end project if your goal is a job.
How Kaggle works: tiers, medals and competition types
Progression
Kaggle has four progression categories: Competitions, Datasets, Notebooks (Code) and Discussions. In each you move through tiers: Novice, Contributor, Expert, Master and Grandmaster. In Competitions, tiers come from medals:
| Tier | Typical competition requirement |
|---|---|
| Expert | 2 bronze medals |
| Master | 1 gold and 2 silver medals |
| Grandmaster | 5 gold medals, including at least 1 solo gold |
Medal cut-offs depend on team count (roughly top 10% for bronze, top 5% for silver, and a small fixed number plus a fraction of teams for gold on large competitions). Always check the official progression page because thresholds and rules can change.
Competition types
| Type | What it is | Medals? | Good for |
|---|---|---|---|
| Getting Started (for example Titanic, House Prices, Digit Recognizer) | Permanent learning competitions with rolling leaderboards | No | First submissions |
| Playground Series (search Playground on Kaggle) | Short (often monthly) synthetic tabular or other competitions | No (swag sometimes) | Practicing the full workflow fast |
| Featured | Company or research-sponsored problems with prizes | Yes | Real medals and learning |
| Research | Scientific or experimental problems | Often | Novel problems |
| Analytics / Hackathons | Judged notebooks, write-ups, demos or apps rather than a leaderboard | Varies | Storytelling, LLM apps |
| Community | Hosted by users, schools and companies, including self-service Community Hackathons | No | Practice |
| Simulations / Game Arena | Agents play games against each other | Varies | Reinforcement learning and agents |
Many modern competitions are code competitions: you submit a notebook that runs on hidden test data within a time limit and often without internet. See Code competitions and inference limits.
Roadmap: from zero to medals
Times assume about 10 hours per week and basic Python.
Stage 1: Foundations (3 to 4 weeks)
- Take the free Kaggle Learn micro-courses: Python, Pandas, Intro to Machine Learning, Intermediate Machine Learning, Feature Engineering, Data Visualization.
- Submit to Titanic and House Prices. Learn the submission flow, the public leaderboard and how to read a competition’s Overview, Data, Evaluation and Rules pages.
- Milestone: a cross-validated LightGBM or XGBoost model in a clean notebook.
Stage 2: Workflow practice (1 to 2 months)
- Join three or four Playground Series episodes in a row. Treat each as a full competition: EDA, baseline, CV, features, tuning, ensemble.
- Read the top discussion posts and the winners’ write-ups after each episode closes, then reproduce one idea.
- Milestone: a personal template repository (data loading, CV loop, out-of-fold predictions, logging, submission writer).
Stage 3: First featured competition (2 to 3 months)
- Pick an active Featured competition with at least 6 weeks left, in a data type you know (usually tabular).
- Follow the competition workflow. Aim for the top 20% first, then bronze.
- Milestone: first bronze medal, and a short write-up of what you tried.
Stage 4: Specialize (3 to 6 months)
- Choose one area (tabular, computer vision, NLP/LLMs, time series, or simulations) and do two or three competitions in it.
- Study every gold write-up of past competitions in that area.
- Team up with people at your level or slightly above (see teaming).
- Milestone: Competitions Expert (two bronzes), then a silver.
Stage 5: Gold and beyond (ongoing)
- Gold medals usually come from a combination of a strong validation setup, a unique insight about the data, and disciplined ensembling.
- Publish solution write-ups and clean notebooks; they help the community and your reputation.
Choosing a competition
Good first competitions:
- Tabular data that fits in memory, a clear metric (AUC, RMSE, log loss) and many teams.
- At least 4 to 8 weeks remaining, so you can iterate.
- An active Discussion tab and some public baselines to learn from.
- A train/test split you understand (random, by time, by group). Read the data description twice.
Red flags for beginners: tiny test sets (high leaderboard noise), very large image or video datasets you cannot process on free compute, unusual metrics with no baselines yet, and competitions in their final week.
The competition workflow
A repeatable loop used, in some form, by most strong competitors:
- Read everything. Overview, evaluation metric, data description, rules (external data, team size, submission limits, compute limits, code requirements).
- Understand the metric. Implement it locally. Know what it rewards (ranking for AUC, calibration for log loss, large errors for RMSE).
- Quick EDA. Target distribution, missing values, feature types, train vs test distribution differences, duplicates, time ranges, group structure.
- Build the validation scheme that mirrors how the test set was created. This is step 4, not step 10. See the next section.
- Simple baseline. A gradient-boosted tree on raw features (tabular), or a pretrained backbone fine-tuned with default settings (images and text). Submit it to check that CV and leaderboard move together.
- Iterate fast. One change at a time; log every experiment (config, CV score, LB score). Keep runs short; use a data subsample or fewer folds while exploring.
- Feature engineering / model improvements. Driven by error analysis: look at what the model gets wrong.
- Hyperparameter tuning once features stabilize, with Optuna or simple manual sweeps.
- Diversity. Train different model families, seeds, architectures and feature sets.
- Ensemble with out-of-fold predictions: averaging, weighted blending, hill climbing or stacking.
- Choose final submissions (usually two). Pick by CV, not by public leaderboard, with one safer and one more aggressive choice.
- Write up what worked and what did not, even if you finish low.
Validation: the single most important skill
The private leaderboard is the only score that counts, and it is computed on data you never see. The public leaderboard is a small, noisy sample. Your local cross-validation (CV) is how you decide what works.
Match the split to the problem:
| Situation | Validation scheme |
|---|---|
| Rows are independent | KFold (shuffle) |
| Classification with imbalance | StratifiedKFold |
| Several rows per user, patient, image, etc. | GroupKFold or StratifiedGroupKFold |
| Test data is in the future | Time-based split or expanding window (TimeSeriesSplit), with a gap if needed |
| Test is from a different distribution | Adversarial validation to find shifted features, then validate on the most test-like rows |
Rules of thumb:
- Trust CV when CV and public LB correlate. If they do not, find out why before doing anything else.
- Use 5 folds as a default; repeat with several seeds when the dataset is small.
- Never fit preprocessing (target encoding, scaling, imputation, feature selection) on the full training set before splitting: do it inside each fold to avoid leakage.
- Save out-of-fold (OOF) predictions for every model; you need them for ensembling.
- A “shake-up” (large rank changes between public and private LB) usually hits people who tuned to the public leaderboard.
Read: scikit-learn cross-validation guide.
Techniques by data type
Tabular
- Models: gradient-boosted decision trees dominate: LightGBM, XGBoost and CatBoost. Add neural networks (MLPs with careful preprocessing) and newer tabular foundation models such as TabPFN for ensemble diversity, especially on smaller datasets.
- Feature engineering: aggregations by group (mean, count, std of a feature within a category), frequency/count encoding, target encoding inside folds, interactions and ratios, datetime parts, lag and rolling features for temporal data, and features derived from the original dataset when the competition data is synthetic (common in Playground Series).
- GPU acceleration: cuDF and cuML from NVIDIA RAPIDS let you test far more features and models in the same time. NVIDIA’s Kaggle Grandmasters Playbook for tabular data summarizes the approach: fast experiments, careful CV, diverse models, then hill climbing and stacking.
- Pitfalls: leakage from IDs or row order, using future information in time series, and target encoding without folds.
Computer vision
- Start from a pretrained backbone in timm (PyTorch Image Models) or torchvision; try convolutional nets (EfficientNet, ConvNeXt) and vision transformers.
- Use strong augmentation (the original Albumentations repo was archived in mid-2025; its maintainers continue the work as AlbumentationsX; torchvision transforms v2 is another option), mixed precision, learning-rate warmup and cosine decay.
- Higher input resolution often helps more than a bigger model.
- Test-time augmentation (TTA): average predictions over flips or crops.
- For detection and segmentation, start with established libraries (for example Ultralytics YOLO or segmentation_models_pytorch) and check their licenses against the competition rules.
NLP and LLMs
- Fine-tune pretrained encoders such as DeBERTa-v3 for classification and regression tasks; for generation or reasoning tasks, fine-tune open-weight LLMs with parameter-efficient methods (LoRA, QLoRA) via Hugging Face Transformers and PEFT.
- Larger models plus knowledge distillation into something that fits the inference time limit is a common winning pattern.
- Pseudo-labeling and synthetic data generated by LLMs (check the rules on external data and model licenses) are increasingly common.
- Use quantization and efficient inference (vLLM where allowed) to fit big models into notebook limits.
Time series and forecasting
- Treat it as tabular with lag, rolling and calendar features plus gradient boosting; this wins more often than pure deep learning.
- Validate with time-based splits that mimic the forecast horizon.
- Study the M5 forecasting write-ups: M5 Forecasting - Accuracy.
Simulations and agents
- Start from the provided starter agent, then improve with search (for example Monte Carlo tree search), heuristics, imitation learning from top replays, and reinforcement learning.
- Local self-play evaluation is your “CV”: keep a pool of previous versions and measure win rates.
Ensembling and stacking
Ensembles win most competitions because different models make different mistakes.
| Method | How | When |
|---|---|---|
| Simple average | Mean of predictions (or of ranks for AUC) | Always try first |
| Weighted blend | Weights tuned on OOF predictions | Models of different strength |
| Hill climbing | Greedily add models (with replacement) that improve OOF score | Many candidate models; robust and simple |
| Stacking | Train a level-2 model (linear, ridge, small GBDT) on OOF predictions | Large, diverse model zoo |
| Seed averaging | Same model, different seeds | Cheap variance reduction |
Key requirements: every model must produce OOF predictions from the same folds, and the level-2 model must be validated with its own CV. The classic reference is the MLWave “Kaggle Ensembling Guide” blog post (search for it; the site is intermittently offline).
Code competitions and inference limits
In code competitions you submit a notebook that Kaggle reruns on the hidden test set. Typical constraints (always check each competition’s rules):
- Runtime limits (for example 9 or 12 hours) on CPU or GPU.
- Internet disabled during submission, so pretrained weights and pip wheels must be uploaded as Kaggle Datasets or Models and attached to the notebook.
- Hardware limits: the GPU types available in Kaggle Notebooks.
Practical tips:
- Build a separate inference notebook early and test the full submission path in week one.
- Upload models as private datasets with version notes.
- Profile inference time on a test-sized sample and leave a safety margin.
- Use mixed precision, smaller image sizes, distilled models or quantized LLMs to fit the limit.
Using LLMs and coding agents in competitions
Since 2025, many top competitors use LLMs and coding agents to write boilerplate, generate feature ideas, run experiment sweeps and debug. NVIDIA, for example, has published write-ups of winning a Kaggle competition with generative AI-assisted coding. What works:
- Let agents write and run many small experiments, but keep your validation scheme as the referee.
- Review generated code for leakage (fitting on the full data, using test statistics), which LLMs introduce easily.
- Check each competition’s rules about AI assistance, external data and model licenses.
- Your edge still comes from understanding the data and the metric; everyone has the same models.
Notebooks and write-ups to study
The fastest way to improve is to study how top competitors think.
- Past solutions index: Kaggle Solutions (GitHub) collects links to top write-ups for hundreds of past competitions. Pick one in your area each week.
- Competition write-ups: after a competition ends, check the Discussion tab for “1st place solution” posts and the “Writeups” section; reproduce one idea from each.
- NVIDIA Kaggle Grandmasters posts: the NVIDIA Developer blog Kaggle tag has detailed, reproducible write-ups, especially on tabular data and stacking with GPUs.
- Kaggle Grandmaster notebooks: browse the highest-voted notebooks in Kaggle Code filtered by competition; read the ones from top-ranked users, not just the most-forked.
- Approaching (Almost) Any Machine Learning Problem: Abhishek Thakur’s book, free PDF on GitHub, is a code-first walkthrough of cross-validation, encodings, feature engineering and model building.
- Classic competitions to study (all public):
- Home Credit Default Risk: feature engineering on relational tabular data.
- IEEE-CIS Fraud Detection: identifying users (“magic” features) and validation under time shift.
- M5 Forecasting - Accuracy: hierarchical time series with GBDTs.
- Santander Customer Transaction Prediction: discovering synthetic rows in the test set.
- RSNA Pneumonia Detection: medical image detection.
- Feedback Prize - English Language Learning: fine-tuning DeBERTa for regression.
- LMSYS - Chatbot Arena Human Preference Predictions: LLM fine-tuning and distillation under inference limits.
- ARC Prize 2024: abstract reasoning with test-time training and program search.
Free courses, books and tools
Courses
| Resource | Cost | Notes |
|---|---|---|
| Kaggle Learn | Free | Start here. Short hands-on courses with certificates of completion. |
| fast.ai Practical Deep Learning for Coders | Free | Top-down deep learning; Jeremy Howard was Kaggle’s President and Chief Scientist and a former top competitor. |
| Hugging Face Learn | Free | Transformers, fine-tuning and LLM courses. |
| Kaggle and Google 5-Day Generative AI and AI Agents intensives | Free | Self-paced guides with codelabs from the live Kaggle courses. |
Books
| Book | Cost | Notes |
|---|---|---|
| Approaching (Almost) Any Machine Learning Problem by Abhishek Thakur | Free PDF from author | Practical Kaggle-style ML. |
| The Kaggle Book by Konrad Banachewicz and Luca Massaron | Paid | Competition types, validation, ensembling, interviews with Grandmasters. |
| The Kaggle Workbook by Konrad Banachewicz and Luca Massaron | Paid | Exercises based on past competitions. |
| Hands-On Machine Learning by Aurélien Géron | Paid | Solid ML foundation with scikit-learn and deep learning. |
Tools
- Kaggle API / CLI: download data and submit from the terminal.
- kagglehub: load Kaggle datasets and models in Python.
- scikit-learn, pandas, Polars (fast dataframes).
- Optuna for tuning, Weights & Biases or MLflow for experiment logs.
- PyTorch, timm, Transformers, PEFT for deep learning.
Compute: free and cheap GPUs
| Option | Cost | Notes |
|---|---|---|
| Kaggle Notebooks | Free | Weekly GPU and TPU quotas (check your settings page for the current hours); enough for tabular and moderate deep learning. |
| Google Colab | Free tier + paid plans | Easy, but sessions time out and GPU availability varies. |
| Cloud GPU marketplaces and hyperscalers | Paid | Rent bigger GPUs by the hour for heavy CV or LLM competitions. Shut instances down when idle. |
| Your own GPU | Upfront cost | Best for long competitions if you compete often. |
For tabular competitions, a laptop CPU plus Kaggle’s free GPUs is usually enough. Large image or LLM competitions reward more compute, which is one more reason to team up.
Teaming, discussion and etiquette
- Team up after a few solo competitions so you have your own pipeline to bring. Teams merge before the competition’s team-merger deadline; merged teams combine submission counts under the rules.
- Look for teammates with different models or skills; diversity helps ensembles.
- Agree early on fold splits, OOF formats and how you will choose final submissions.
- Share generously in public discussions and notebooks; the community is a big part of how people improve, and Discussion and Notebook medals count toward progression too.
- Give credit when you use someone’s public notebook or idea.
Rules you must not break
- No private sharing of code or data outside your team during a competition (sharing publicly on the competition forum is fine).
- One account per person. Multiple accounts lead to disqualification and bans.
- Follow external data and model rules. Some competitions require external data and pretrained models to be publicly and freely available, and to be posted in the forum.
- Do not hand-label test data or exploit leaks in ways the rules forbid.
- Winners usually must share code and documentation and follow the license the competition specifies.
Always read the specific competition’s Rules page; it overrides general advice.
Exercises
- Submit to Titanic with three models (logistic regression, random forest, LightGBM) and compare CV vs public LB.
- In House Prices, implement 5-fold CV, then show how much the score changes if you fit target encoding on the full data before splitting (leakage).
- Pick a past Playground Series episode; reproduce the winning approach from its write-up and get within a small margin of the top score.
- Build a hill-climbing ensemble from at least five models’ OOF predictions.
- Run adversarial validation on a competition where train and test differ and list the shifted features.
- Fine-tune a pretrained image model on a past CV competition with an inference notebook that runs without internet.
- Write a 500-word solution summary for one competition you entered, including what did not work.
FAQ
Is Kaggle good for beginners? Yes, if you start with Kaggle Learn, Getting Started competitions and Playground Series rather than jumping into a hard featured competition.
How long does it take to get a Kaggle medal? With steady effort, many people earn a first bronze within 3 to 6 months of regular competing. It depends heavily on the competition and on teaming.
How do I become a Kaggle Grandmaster? In Competitions, you need 5 gold medals including at least 1 solo gold (check the progression page for current rules). Most Competitions Grandmasters took several years of consistent competing.
Does Kaggle help you get a job? It helps show skill, especially medals, well-written notebooks and solution write-ups. Employers also want evidence that you can frame problems and ship models, so combine Kaggle with real projects.
Is Kaggle still relevant with LLMs and AutoML? Yes. Competitions now include LLM fine-tuning, reasoning, and agent tasks, and the core skills (validation, error analysis, experimentation) transfer to all ML work.
Why does my score drop on the private leaderboard? Usually because you selected models by public LB score, or your CV does not match the test split. Choose final submissions by a trustworthy CV.
Should I copy public notebooks? Study and build on them, but understand every line. Blending public notebooks without your own CV rarely leads to medals and often causes shake-ups.
Which is better for Kaggle: XGBoost, LightGBM or CatBoost? All three win competitions. LightGBM is usually fastest; CatBoost handles categorical features well with little tuning; XGBoost is very robust. Strong solutions often use all three in an ensemble.
Do I need a powerful GPU? Not for tabular competitions or to learn. Kaggle’s free weekly GPU quota covers a lot; large image or LLM competitions reward more compute.
Can I use ChatGPT, Claude or other AI tools on Kaggle? Generally yes for writing code, unless a competition’s rules say otherwise. Check rules about external data and models, and always verify AI-written code for leakage.
Where to go next
- Enter the current Playground Series episode this week and submit a baseline within an hour.
- Bookmark Kaggle Solutions and read one top write-up per week.
- Read the free Approaching (Almost) Any Machine Learning Problem.
- After your first bronze, specialize and look for a team.
- Turn your best competition into a portfolio piece: clean repo, write-up, and lessons learned.
Contributing
Contributions are welcome. Please:
- Add techniques with a link to a public write-up or notebook that demonstrates them.
- Keep competition links to official Kaggle pages and avoid sharing private competition code.
- Note when a rule or tier threshold changes, with a link to the official Kaggle page.
- Keep advice general and in your own words.
License
Content is licensed under CC BY 4.0.
If this helped you, a star helps others find it.
More free resources
Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.