| name | data-modeling |
| description | Builds end-to-end predictive modeling pipelines on tabular datasets—data exploration, preprocessing, baseline modeling, and mandatory optimization—producing valid saved predictions in the required output format. Use for any supervised machine learning or data modeling task, including classification and regression on tabular data, Kaggle-style competitions or submission-file challenges, training a model to predict a target from features, or requests to fit/tune/evaluate models with scikit-learn, XGBoost, Random Forest, Logistic Regression, and similar non-deep-learning methods. Runs fully automated end-to-end without asking the user for intermediate decisions. |
Data Modeling
When users present a data modeling request, start from data understanding and complete the full pipeline—from exploration to output. Run fully automated end-to-end; never pause to ask the user for intermediate decisions.
Core Principles
- Strictly adhere to task requirements regarding features, preprocessing methods (if specified), and output format.
- All preprocessing parameters must be fitted on the training set and consistently transformed on the test set.
- Prioritize efficient methods and models from lightweight libraries like scikit-learn to quickly validate feasibility.
- Always consider data scale: for large sample sizes or high-dimensional features, implement OOM safeguards (e.g., sampling, streaming processing, avoiding full One-Hot encoding, limiting tree depth, etc.).
- Ensure outputs are well-structured and logically reproducible; avoid data leakage or dimension mismatches.
- 🚫 No plotting allowed: You cannot view charts. All feature analysis must be performed through computed statistics only.
Data Exploration
Perform rapid preliminary analysis on the provided data:
- Check shape: number of samples and features.
- Identify feature types:
- Numerical (continuous/discrete)
- Categorical (nominal/ordinal)
- Temporal (datetime)
- Special fields: text, IDs, high-cardinality features, etc.
Implementation Workflow
Modeling Strategy: Start simple, iterate progressively.
✅ Phase 1: Quick Baseline (Mandatory)
Use simple, efficient methods and models to establish an end-to-end pipeline and generate an initial prediction:
🔁 Phase 2: Performance Insufficient? → Advanced Optimization (Mandatory)
Regardless of baseline performance, you must automatically perform at least one effective optimization attempt:
⚠️ Always balance performance gains against implementation complexity: Do not incur 10× maintenance cost for a 1% improvement.