xiaohongshu
xiaohongshu
ff-ml-modeling
Expert guidance on machine learning and feature engineering for fantasy football player projection models. Use this skill when building predictive models, engineering features from player statistics, selecting appropriate ML algorithms, or addressing sports-specific ML challenges. Covers feature ...
Full skill instructions
Provide expert guidance on building ML-based player projection models using research-backed feature engineering patterns, appropriate model selection, and sports-specific validation strategies. Apply domain expertise to help design features, choose models, avoid common pitfalls, and create interpretable predictions.
Trigger this skill for queries involving:
Note: For dynasty strategy questions (player valuation, trade analysis, roster construction), use ff-dynasty-strategy. For statistical methods (regression types, simulations, GAMs), use ff-statistical-methods.
Core Principle: Feature engineering is more important than model selection for sports predictions.
Key Feature Categories:
Age Curves
age_factor = 1 - (age - peak_age) * 0.003 for decline phaseOpportunity Metrics
Efficiency Statistics
Interaction Terms
Rolling Averages
Reference: references/feature_engineering.md for formulas, implementation patterns, and common mistakes.
Decision Framework:
Primary Goal?
├─ Interpretability → Linear/Ridge/Lasso Regression
└─ Performance
├─ Small (<1000) → Ridge/Lasso/Elastic Net
├─ Medium (1K-10K) → Random Forest or XGBoost
└─ Large (>10K) → XGBoost/LightGBM or Ensemble
Model Types:
Linear Regression: Baseline, interpretability, small samples
Regularized Regression: High-dimensional data, multicollinearity, automatic feature selection (Lasso)
Random Forest: Medium data, robustness, feature importance
XGBoost/LightGBM: Best single-model performance, handles missing values
Ensemble: Combine Ridge + RF + XGBoost (weighted 1:2:2), often 2-5% improvement
Position-Specific Modeling: Train separate models per position (RB features ≠ WR features)
Reference: references/model_selection.md for detailed comparisons, hyperparameters, and implementation.
Critical Rule: NEVER use standard cross-validation with shuffle=True
❌ Wrong: KFold(n_splits=5, shuffle=True) → Data leakage!
✅ Correct: TimeSeriesSplit(n_splits=5) → Train on past, test on future
Time-Series Split: Always predict future from past data
Appropriate Metrics:
Nested Cross-Validation: Outer loop for evaluation, inner loop for hyperparameter tuning
Reference: references/validation_strategies.md for detailed workflows and common mistakes.
Small Sample Sizes: NFL = 17 games/season → Use regularization (Ridge/Lasso)
Position-Specific Modeling: Separate models per position with different feature sets
Regime Changes: Weight recent seasons heavier, use sliding window validation
Data Leakage Prevention: Only use data available at prediction time, time-series validation
Reference: references/model_selection.md sections on sports-specific considerations.
Step 1: Feature Engineering
assets/player_projection_model_template.py as starting pointStep 2: Feature Selection
Step 3: Model Selection
Step 4: Validation
Step 5: Interpretability
For Player Projection Models:
For Feature Engineering:
Complement with ff-dynasty-strategy when:
Complement with ff-statistical-methods when:
Feature Engineering Over Model Complexity - Well-engineered features make simple models outperform complex ones
Always Use Time-Series Validation - Standard CV inflates performance 15-20%
Position-Specific Models - RB features ≠ WR features ≠ QB features
Regularization for Small Samples - NFL has limited games (17/season)
Prioritize Interpretability - SHAP values for explainability, start simple
references/feature_engineering.md - Age curves, opportunity metrics, efficiency stats, interaction termsreferences/model_selection.md - Decision framework, model types, hyperparametersreferences/validation_strategies.md - Time-series splits, nested CV, metricsassets/player_projection_model_template.py - Python template for building player projection modelsxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience