Lgbm dart boosting

From wenmin-wu/ds-skills · View interactive version

Lgbm dart boosting is an AI agent skill from the GitHub repository wenmin-wu/ds-skills. Use LightGBM DART boosting (dropout on trees) with aggressive feature and bagging fractions to reduce overfitting on high-dimensional tabular data

How to use this skill

Skill file

LightGBM DART Boosting

Overview

DART (Dropouts meet Multiple Additive Regression Trees) randomly drops completed trees during training, reducing over-specialization of later trees. Combined with aggressive feature subsampling (20%) and bagging fraction (50%), it produces strong generalization on high-dimensional tabular data where standard GBDT overfits. Trades training speed for better holdout scores.

Quick Start

import lightgbm as lgb

params = {
    'objective': 'binary',
    'metric': 'binary_logloss',
    'boosting': 'dart',
    'num_leaves': 100,
    'learning_rate': 0.01,
    'feature_fraction': 0.20,
    'bagging_freq': 10,
    'bagging_fraction': 0.50,
    'lambda_l2': 2,
    'min_data_in_leaf': 40,
    'n_jobs': -1,
}

model = lgb.train(
    params=params,
    train_set=lgb_train,
    num_boost_round=10500,
    valid_sets=[lgb_train, lgb_valid],
    callbacks=[lgb.early_stopping(1500), lgb.log_evaluation(100)],
)

Key Decisions

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.