ml4t-feature-validation skillA
ml4t-feature-validation is agent-read markdown (skill) from ml4t/skills: Validate features before training - IC significance, stability, redundancy, and contamination checks. Use when auditing feature quality before model fitting..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Feature Validation
A feature with IC of 0.05 on the full sample may have IC of 0.12 in one year and -0.03 in every other year. Without validation, the model trains on noise disguised as signal.
## The Problem
Skipping feature validation leads to three failures: lookahead contamination,
regime-specific features that fail live, and redundant features that waste model capacity.
## The Pattern
### WRONG
```python
from sklearn.ensemble import GradientBoostingRegressor
# Train on all features without any validation - overfitting guaranteed
model = GradientBoostingRegressor(n_estimators=200)
model.fit(X_train, y_train) # 50 features, no idea which are noise
```
### CORRECT
```python
from scipy.stats import spearmanr
import numpy as np
def validate_feature(feature: np.ndarray, target: np.ndarray, dates: np.ndarray) -> dict:
"""Screen a single feature for predictive quality."""
ok = ~np.isnan(feature) & ~np.isnan(target) # both: one nan makes ic nan
ic, p_value = spearmanr(feature[ok], target[ok])
quarters = dates.astype("datetime64[M]").astype(int) // 3 # numpy has no [Q]
quarterly_ics = []
for q in np.unique(quarters):
…Read the whole file at its exact version.
How to install
mdr add ml4t/skills/ml4t-feature-validation@git:20260901.11976femdr add ml4t/skills/ml4t-feature-validation@sha256:694fde05b2eaa08dPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_qm6an6jcqhliinfr)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260901.11976fe latest | 2026-09-01 | 11976fe | 5,074 B | A | view · diff |
| git:20260901.7d7c020 | 2026-09-01 | 7d7c020 | 5,066 B | A | view · diff |
| git:20260901.297789f | 2026-09-01 | 297789f | 5,005 B | A | view · diff |
| git:20260901.14ceba9 | 2026-09-01 | 14ceba9 | 4,694 B | A | view · diff |
| git:20260901.c415df0 | 2026-09-01 | c415df0 | 4,558 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5074 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
ml4t/skills · 19 stars · license Apache-2.0 · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_qm6an6jcqhliinfr GET https://markdownregistry.com/api/v1/resolve?ref=ml4t/skills/ml4t-feature-validation GET https://markdownregistry.com/api/v1/blob/694fde05b2eaa08d533a9d5cc3470c32e567fdcd804c57f879cae8bc93fd6aec
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.