本文へ移動
cccskills
無料GitHub で公開

data-modeling

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.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md5.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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:

  • Essential Preprocessing:

    • Handle missing values: impute with reasonable defaults (e.g., mean, median, mode) based on feature type.
    • Drop irrelevant columns: e.g., IDs, UUIDs, serial numbers, or other unique identifiers.
    • Encoding:
      • Numerical features: standardize if needed.
      • Categorical features:
        • High-cardinality categories (unique values ≥ 10): Avoid One-Hot encoding to prevent dimension explosion. Use compact representations such as Label Encoding, Frequency Encoding, Target Encoding, or Hash Encoding. Choose the encoding method based on data characteristics and model compatibility.
        • Low-cardinality categories (unique values < 10): One-Hot encoding may be acceptable, but evaluate total feature count—if many categorical columns exist, prefer low-dimensional alternatives to avoid feature inflation.
  • Model Construction:

    • Select computationally efficient, non-deep learning models appropriate for data scale and complexity. Prefer lightweight, robust models (e.g., Logistic Regression, Random Forest, XGBoost with conservative settings).
  • Save Initial Predictions.

🔁 Phase 2: Performance Insufficient? → Advanced Optimization (Mandatory)

Regardless of baseline performance, you must automatically perform at least one effective optimization attempt:

  • Determine optimization direction based on baseline results and task characteristics:

    • Adopt more expressive or better-suited models.
    • Perform limited hyperparameter tuning (e.g., grid search over top 3 parameter combinations with cross-validation).
    • Feature engineering and selection, such as:
      • Remove clearly redundant or noisy features using importance scores or statistical metrics.
      • Apply dimensionality reduction (e.g., PCA) for high-dimensional sparse features.
      • Construct meaningful derived features (e.g., aggregates, interactions, binning, text length).
  • Evaluate the new model:

    • If the new model performs better, use its predictions to overwrite the original submission file; otherwise, retain the baseline results.
  • Save Prediction Results:

    • After every modeling attempt, generate valid predictions and save output in the required format.
    • If later optimizations fail, fall back to and submit the baseline result; otherwise, replace it with the improved version.
  • Principles:

    • Never output prompts asking for user decisions (e.g., "Would you like to continue?", "Should I submit?"). The entire process must be fully automated end-to-end.
    • Never merely describe potential improvements (e.g., "We could try X") without actually executing the code.
    • Never skip optimization by claiming "performance is sufficient" without empirical validation.

⚠️ Always balance performance gains against implementation complexity: Do not incur 10× maintenance cost for a 1% improvement.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

将用户的数据分析需求转化为结构化的分析计划并与用户确认。用户提出 BI 业务分析、数据探索、统计建模等需要规划的分析任务时使用。简单数据查询、公式明确的定量计算等流程简单、无需规划的任务不使用。

日本語の概要は準備中です。原文の説明を表示しています。

agentscope-ai/QwenPaw-Data1312026年10月5日 更新

通过量化历史数据的自然波动幅度,自适应计算判定阈值。当需要从数据本身确定阈值(如波动阈值、影响度阈值等)、而非使用固定值时调用。仅适用于日/周粒度阈值确定。

日本語の概要は準備中です。原文の説明を表示しています。

agentscope-ai/QwenPaw-Data1312026年10月5日 更新

基于阈值检测时间序列中的显著异常波动点。当需要找出指标异常波动日期、识别数据异动时调用。

日本語の概要は準備中です。原文の説明を表示しています。

agentscope-ai/QwenPaw-Data1312026年10月5日 更新

计算各维度(组)值对指标变动的贡献度,支持可加型量值指标和加权平均型/率值指标。当需要计算贡献度、解释指标"为什么涨/跌"时调用。

日本語の概要は準備中です。原文の説明を表示しています。

agentscope-ai/QwenPaw-Data1312026年10月5日 更新

从运营周报、活动文档、对话输入或文档工具 API 中提取业务事件,与指标异常时间窗口对齐,生成有证据支撑的因果归因假设并排序。当已知指标存在异常波动、需要从外部文档证据中解释"为什么"时调用。

日本語の概要は準備中です。原文の説明を表示しています。

agentscope-ai/QwenPaw-Data1312026年10月5日 更新

对用户、产品等业务对象做分群:用波士顿矩阵法做象限分群,或用分层聚类、K-means、DBSCAN 等聚类技术分群。当需要做客群/产品分群、象限策略、画像或密度型子结构发现时调用。触发条件:当对话中出现“分群”、“分类”、“聚类”、“不同类型”、“不同场景”等体现分群分析词语时触发。

日本語の概要は準備中です。原文の説明を表示しています。

agentscope-ai/QwenPaw-Data1312026年10月5日 更新

agentscope-ai のスキルをすべて見る

このスキルの問題を報告する