These are the libraries you reach for when you have tabular data and need accurate predictions. XGBoost and LightGBM dominate Kaggle competitions and production ML systems because they handle the messy realities of real data: missing values, imbalanced classes, categorical features, and they give you interpretable feature importances out of the box. The key difference is speed versus dataset size. XGBoost is slower but often slightly more accurate on smaller datasets under 100k rows, while LightGBM's histogram-based approach makes it significantly faster on millions of rows. Both include built-in regularization and early stopping, which you should always use. If you're doing serious work with CSVs, databases, or any structured data, you need at least one of these in your toolkit.

skills.sh installs
488
GitHub stars
25
last updated
Aug 21, 2026

Install

$ npx -y skills add tondevrel/scientific-agent-skills --skill xgboost-lightgbm --agent claude-code

Installs into .claude/skills of the current project.

Files

XGBoost & LightGBM - Gradient Boosting for Tabular Data

XGBoost (eXtreme Gradient Boosting) and LightGBM (Light Gradient Boosting Machine) are the de facto standard libraries for machine learning on tabular/structured data. They consistently win Kaggle competitions and are widely used in industry for their speed, accuracy, and robustness.

When to Use

  • Classification or regression on tabular data (CSVs, databases, spreadsheets).
  • Kaggle competitions or data science competitions on structured data.
  • Feature importance analysis and feature selection.
  • Handling missing values automatically (no need to impute).
  • Working with imbalanced datasets (built-in class weighting).
  • Need for fast training on large datasets (millions of rows).
  • Hyperparameter tuning with cross-validation.
  • Ranking tasks (learning-to-rank algorithms).
  • When you need interpretable feature importances.
  • Production ML systems requiring fast inference on tabular data.

Reference Documentation

Sponsors

Details

Repository
github.com/tondevrel/scientific-agent-skills
Categories
AI & Agent Building, Data Science & ML, Debugging, Office & Documents
First seen
Jun 3, 2026

More from tondevrel/scientific-agent-skills

All 3
1webmaxru avatarenonic-nextxp-integrationwebmaxru/enonic-agent-skillsGuides setup, development, and troubleshooting of the Next.js and Enonic XP headless integration (Next.XP framework). Covers Enonic adapter configuration, conte488skills.sh installs
2aj-geddes avataraccessibility-complianceaj-geddes/useful-ai-promptsImplement WCAG 2.1/2.2 accessibility standards, screen reader compatibility, keyboard navigation, and a11y testing. Use when building inclusive web applications487skills.sh installs
3aj-geddes avatargit-workflow-strategyaj-geddes/useful-ai-promptsMaster Git workflows including GitFlow, GitHub Flow, Trunk-Based Development. Configure branches, merge strategies, and collaboration patterns for team environm487skills.sh installs
4aj-geddes avatarweb-performance-optimizationaj-geddes/useful-ai-promptsOptimize web application performance using code splitting, lazy loading, caching, compression, and monitoring. Use when improving Core Web Vitals and user exper487skills.sh installs
5aj-geddes avatarzero-trust-architectureaj-geddes/useful-ai-promptsImplement Zero Trust security model with identity verification, microsegmentation, least privilege access, and continuous monitoring. Use when building secure c487skills.sh installs
6jwynia avatareconomic-systemsjwynia/agent-skillsDesign economic systems for fictional worlds. Use when worldbuilding needs currencies, trade networks, resource economies, or when economic pressures should dri487skills.sh installs