kaggle-stacking

Combine base model predictions into meta-features for meta-learner training.

1|Updated Jun 6, 2026
One-click install
npx skills add https://github.com/OlixIgnacious/agent-skills --skill kaggle-stacking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kaggle-stacking
Source: https://github.com/OlixIgnacious/agent-skills/tree/main/.claude/skills/kaggle-stacking
Command: npx skills add https://github.com/OlixIgnacious/agent-skills --skill kaggle-stacking

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, sklearn, lightgbm, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of improving Kaggle model performance by implementing a multi-level stacking technique, which combines the predictions of several base models and trains a meta-learner on them.

Core Features & Use Cases

  • Multi-Level Stacking: Combines predictions from multiple base models into meta-features for a meta-learner.
  • Meta-Learner Training: Trains a meta-learner on the generated meta-features to produce a final prediction.
  • Use Case: For Kaggle competitions where multiple diverse models have good individual CV scores, stacking can be used to create more powerful ensembles than weighted averaging alone.

Quick Start

To apply the kaggle-stacking skill, execute the following command: /kaggle-stacking

Frequently Asked Questions about kaggle-stacking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use multi-level stacking to improve my Kaggle ensemble models?

Multi-level stacking improves Kaggle ensembles by combining predictions from diverse base models into meta-features. A meta-learner is then trained on these features to generate a final prediction that outperforms simple weighted averaging.

When should I use stacking instead of weighted averaging for model ensembles?

Stacking should be used for model ensembles when you have multiple diverse base models with good individual cross-validation scores. It trains a meta-learner on combined predictions, creating more powerful ensembles than weighted averaging alone.

Does stacking base models for Kaggle competitions require lightgbm and sklearn?

Stacking base models for Kaggle competitions requires Python with numpy, pandas, sklearn, and lightgbm. These dependencies are used to train the base models, generate meta-features, and train the final meta-learner.

What's the best way to train a meta-learner on meta-features for machine learning competitions?

The best way to train a meta-learner on meta-features is to first generate predictions from diverse base models. You then combine these predictions and train your meta-learner using this data to produce the final prediction output.

Can I use multi-level stacking with pandas and numpy for my Kaggle predictions?

You can use multi-level stacking with pandas and numpy for Kaggle predictions. The technique processes base model predictions using these libraries to build meta-features before training the final meta-learner.

Why does stacking multiple machine learning models require Python for model training?

Stacking multiple machine learning models requires Python because the technique relies on Python libraries like sklearn and lightgbm. These frameworks handle the base model training, meta-feature generation, and meta-learner execution.