executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
specialized-workflowsRiver workflows for drift detection, anomaly scoring, clustering, forecasting, bandits, recommendation, imbalanced learning, factorization, and probability distributions.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a River task goes beyond ordinary supervised prediction and needs a specialized online workflow: drift detection and retraining, anomaly scoring and filtering, clustering, forecasting, bandits, recommendation/ranking, imbalanced streaming wrappers, factorization machines for recommendation or CTR-style data, or streaming probability distributions.
drift.DriftRetrainingClassifier.time_series.Forecaster APIs and horizon-aware evaluation metrics.pull and update, or replay logged bandit history without requiring a Gym environment.reco models or model user/item/context interactions with facto factorization machines.imblearn sampling wrappers around classifiers or regressors and decide where the sampling boundary belongs.proba distributions as online state, reward objects, density estimates, or rolling uncertainty summaries.../streaming-evaluation/SKILL.md.../supervised-models/SKILL.md.../pipelines-and-features/SKILL.md.drift_detected and, when supported, warning_detected immediately after each update.DriftRetrainingClassifier wraps the classifier that should be reset or swapped. With background training enabled, use a warning-capable drift detector such as the binary DDM-family detectors.ThresholdFilter.classify(score) or QuantileFilter.classify(score) when a boolean anomaly decision is required.x only. Internal metrics such as Silhouette need x, y_pred, and current centers; external metrics compare predicted clusters with known labels.learn_one(y, x=None) and return one forecast per requested horizon step. Use evaluate.evaluate or evaluate.iter_evaluate for horizon metrics.pull/update; use bandit.evaluate_offline for replay-style evaluation when no interactive environment is available.Run the bundled synthetic smoke check in an environment where import river succeeds:
python scripts/specialized_workflows_smoke.py
Select a subset when validating one workflow:
python scripts/specialized_workflows_smoke.py --section drift --section anomaly --json
references/drift-anomaly.md covers detector update patterns, retraining wrapper placement, anomaly score semantics, filters, and anomaly evaluation caveats.references/clustering-forecasting-bandits-reco.md covers clustering loops and metrics, forecasting horizon metrics, bandit online/offline evaluation, recommendation/ranking, factorization machines, imbalanced learning, and probability distributions.references/troubleshooting.md maps common state, threshold, metric, horizon, bandit history, recommender ID, sampler placement, and optional dependency failures to checks and fixes.scripts/specialized_workflows_smoke.py runs tiny deterministic checks with synthetic data and skips optional pieces gracefully when unsupported.