Individual skill
signal-classification
ML trading signal classifiers using XGBoost and LightGBM with walk-forward validation, SHAP feature importance, and threshold optimization
skills/signal-classification/SKILL.md
Source commit 981e1d736cdc02bdc1c55c74ec9224e956414706
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Local scripts
- Last checked
- Nov 10, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 520
- Repository last updated
- Sep 3, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 11,435 bytesSKILL.mdcore · 11,435 bytesSKILL.mdcore · 11,435 bytesSKILL.mdcore · 11,435 bytesSKILL.mdcore · 11,435 bytesSKILL.mdcore · 11,435 bytesSKILL.mdcore · 11,435 bytesSKILL.mdcore · 11,435 bytesSKILL.mdcore · 11,435 bytesSKILL.mdcore · 11,435 bytesreferences/model_guide.mddoc · 7,028 bytesreferences/validation_methods.mddoc · 8,092 bytesscripts/train_classifier.pyruns · 21,804 bytesscripts/walk_forward_backtest.pyruns · 22,096 bytes
Read excerpt
# Signal Classification
Predict whether an asset's price will move up or down over a forward horizon using supervised machine learning classifiers. This skill covers the full pipeline: label creation, model training, walk-forward validation, feature importance analysis, and threshold optimization for trading applications.
## Why Tree-Based Models Dominate Trading ML
XGBoost and LightGBM are the workhorses of quantitative trading ML for good reason:
- **Non-linear relationships**: Financial features interact in complex, non-linear ways that trees capture naturally
- **Robust to feature scale**: No need to normalize or standardize inputs — trees split on rank order
- **Built-in feature importance**: Understand which features drive predictions without separate analysis
- **Fast training and inference**: Train on thousands of samples in seconds, predict in microseconds
- **Handle missing values**: Native support for NaN without imputation hacks
- **Regularization built in**: max_depth, min_child_weight, subsample all prevent overfitting