Skip to content
Back to skills

Xgboost

ASecurity

XGBoost gradient boosting library. Use for tabular ML.

  • 666 stars
  • 0 votes
  • 6 copies
  • 5 views
  • Added September 2, 2026
ai-agentsgoc++backenddocumentation

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill xgboost --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Xgboost?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Xgboost
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-xgboost-claude-skill-registry/badge)](https://www.skillsdirectory.com/skills/majiayu000-xgboost-claude-skill-registry)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: xgboost
description: XGBoost gradient boosting library. Use for tabular ML.
---

# XGBoost

XGBoost is the winningest algorithm in Kaggle history for tabular data. v2.1 (2025) brings native **Blackwell** GPU support and Polars integration.

## When to Use

- **Tabular Data**: It usually beats Deep Learning on structured tables.
- **Speed**: Extremely optimized C++ backend.

## Core Concepts

### Gradient Boosting

Building extensive decision trees sequentially, each correcting the previous one's errors.

### DMatrix

Internal optimized data structure.

### Device Parameter

`device="cuda"` enables GPU acceleration.

## Best Practices (2025)

**Do**:

- **Use `device="cuda"`**: GPU training is 10x faster.
- **Use Early Stopping**: Stop training when validation error rises.
- **Pass Polars Dataframes**: No need to convert to Pandas/NumPy first.

**Don't**:

- **Don't use one-hot encoding**: Use native categorical support (`enable_categorical=True`).

## References

- [XGBoost Documentation](https://xgboost.readthedocs.io/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.