xgboost-lightgbm

Train XGBoost and LightGBM models for classification and regression on tabular data.

19|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/tondevrel/scientific-agent-skills --skill xgboost-lightgbm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xgboost-lightgbm
Source: https://github.com/tondevrel/scientific-agent-skills/tree/main/skills/xgboost-lightgbm
Command: npx skills add https://github.com/tondevrel/scientific-agent-skills --skill xgboost-lightgbm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires scikit-learn, xgboost, lightgbm, shap, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides expert guidance and practical code examples for using XGBoost and LightGBM, the leading gradient boosting libraries, to build high-performance models on tabular data.

Core Features & Use Cases

  • High-Accuracy Models: Build state-of-the-art classification and regression models for structured datasets.
  • Performance Optimization: Learn techniques for faster training, GPU acceleration, and memory efficiency.
  • Interpretability: Understand feature importance and use SHAP values to explain model predictions.
  • Use Case: You're participating in a Kaggle competition with a tabular dataset and need to achieve the best possible accuracy for a classification task. This Skill provides the patterns and best practices to leverage XGBoost or LightGBM effectively.

Quick Start

Use the xgboost-lightgbm skill to train an XGBoost classifier on your training data and evaluate its accuracy on the test set.

Frequently Asked Questions about xgboost-lightgbm

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

FAQPage Schema
How do I train a gradient boosting model for tabular data classification?

To perform gradient boosting on tabular data, use XGBoost or LightGBM to fit a regression model on your training data, then evaluate prediction accuracy on the test set using scikit-learn's metrics and data splitting utilities.

What's the best way to optimize XGBoost performance for large datasets?

Optimize XGBoost training on large datasets by leveraging GPU acceleration, applying efficient memory usage techniques, and executing hyperparameter tuning to maximize computational throughput and model accuracy.

How do I explain feature importance and model predictions using SHAP values?

Explain feature importance and model predictions by computing SHAP values to quantify each feature's contribution, providing interpretability for your XGBoost or LightGBM gradient boosting models on tabular data.

Does this approach require scikit-learn for model evaluation and data splitting?

Yes, scikit-learn is required for model evaluation and data splitting when building XGBoost and LightGBM gradient boosting models on tabular datasets.

XGBoost vs LightGBM: which should I use for my tabular dataset?

XGBoost and LightGBM both handle classification and regression on tabular data, but LightGBM generally provides faster training and better memory efficiency, while XGBoost offers robust GPU acceleration for performance optimization.