Logo Datarobot Feature Engineering

Datarobot Feature Engineering

Tổ chức
datarobot-oss
datarobot-feature-engineering

Guidance for feature engineering, feature discovery, feature importance analysis, and understanding DataRobot's automated feature engineering capabilities. Use when working with feature engineering, feature discovery, or analyzing feature importance in DataRobot.

Tổng quan

Nhà phát hànhdatarobot-oss
Kho mãdatarobot-agent-skills
Tên kỹ năngdatarobot-feature-engineering
Sao
33
Bản fork
27
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được datarobot-oss công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Datarobot Feature Engineering trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/datarobot-oss/datarobot-agent-skills/tree/main/skills/datarobot-feature-engineering
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/datarobot-oss/datarobot-agent-skills.git /tmp/datarobot-agent-skills
mkdir -p .claude/skills
cp -r /tmp/datarobot-agent-skills/skills/datarobot-feature-engineering .claude/skills/datarobot-feature-engineering
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Datarobot Feature Engineering trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Datarobot Feature Engineering ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Datarobot Feature Engineering với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

DataRobot Feature Engineering Skill

This skill provides guidance for working with features in DataRobot, including understanding automated feature engineering, analyzing feature importance, and optimizing feature sets.

Quick Start

Most common use case: Analyze feature importance for a model

  1. Get feature importance: model = dr.Model.get(project_id, model_id), then model.get_or_request_feature_impact() to get importance scores
  2. Analyze top features: Sort by importance and identify key drivers
  3. Export feature list: dr.Project.get(project_id).get_features(), then iterate f.name, f.feature_type, f.importance to document features

Example: "Show me the top 10 most important features for model xyz123"

When to use this skill

Use this skill when you need to:

  • Understand what features DataRobot creates automatically
  • Analyze feature importance for models
  • Discover which features drive predictions
  • Optimize feature sets for better performance
  • Understand feature types and transformations
  • Export feature lists and definitions

Key capabilities

1. Feature Discovery

  • Understand automated feature engineering in DataRobot
  • Review derived features and transformations
  • Identify feature types (numeric, categorical, text, date)
  • Explore feature relationships and interactions

2. Feature Importance Analysis

  • Get feature importance scores for models
  • Understand which features drive predictions
  • Compare feature importance across models
  • Identify redundant or low-value features

Note: Feature Impact scores are unsigned magnitudes - they say how much a feature matters, not which direction it pushes predictions. For direction, use partial dependence via model.get_or_request_feature_effect(source) — Pattern 3 below shows how. Do not state direction in a report without it.

3. Feature Optimization

  • Select important features for model performance
  • Remove low-importance features to reduce complexity
  • Understand feature impact on predictions
  • Optimize feature sets for deployment

4. Feature Documentation

  • Export feature lists and definitions
  • Document feature transformations
  • Understand feature derivation logic
  • Share feature information with stakeholders

Workflow examples

Example 1: Analyze feature importance

User request: "Show me the top 10 most important features for model xyz123 and explain what they mean."

Agent workflow:

  1. Get feature importance scores for the model
  2. Sort features by importance (descending)
  3. Get top 10 features with their scores
  4. Retrieve feature metadata and descriptions
  5. Explain what each feature represents and why it's important
  6. Provide insights on feature relationships

Example 2: Optimize feature set for deployment

User request: "Create a simplified feature set for deployment abc123, keeping only features with importance > 0.1."

Agent workflow:

  1. Get feature importance for the deployed model
  2. Filter features by importance threshold (> 0.1)
  3. Verify filtered features are sufficient for predictions
  4. Document the optimized feature set
  5. Update deployment configuration if needed

Using DataRobot SDK

This skill guides you to use the DataRobot Python SDK directly. Install the SDK if needed:

bash
uv pip install datarobot || python -m pip install datarobot

Key SDK Operations

Use these DataRobot SDK methods for feature analysis:

Feature Information:

  • model.get_features_used() - List feature names used by a model (bare strings, includes the target)
  • model.get_or_request_feature_impact() - Get feature importance scores (computes them first if needed)
  • project.get_features() - List features in a project

Feature Analysis:

  • feature.name - Feature name
  • feature.feature_type - Feature type (Numeric, Categorical, etc.)
  • feature.importance - Feature importance score

See the Common Patterns section below for complete examples.

Best practices

  1. Review automated features: DataRobot creates many derived features automatically - review them
  2. Focus on important features: Pay attention to high-importance features for insights
  3. Understand feature types: Different feature types require different handling
  4. Feature documentation: Document important features for stakeholders
  5. Feature selection: Consider removing very low-importance features for simplicity
  6. Feature stability: Consider feature stability over time, not just importance

Common patterns

Pattern 1: Feature importance analysis

python
import datarobot as dr

# Initialize client
dr.Client()

# Get model and feature importance (Model.get requires both project and model ids)
model = dr.Model.get(project_id, model_id)
feature_impact = model.get_or_request_feature_impact()

# Sort by importance
sorted_features = sorted(
    feature_impact, key=lambda x: x.get("impactNormalized", 0), reverse=True
)

# Get top 10 features
top_features = sorted_features[:10]
for feature in top_features:
    print(f"{feature['featureName']}: {feature.get('impactNormalized', 0):.3f}")

Pattern 2: Feature filtering

python
import datarobot as dr

# Get model and feature importance (Model.get requires both project and model ids)
model = dr.Model.get(project_id, model_id)
feature_impact = model.get_or_request_feature_impact()

# Filter by importance threshold (> 0.1)
important_features = [f for f in feature_impact if f.get("impactNormalized", 0) > 0.1]

print(f"Found {len(important_features)} features with importance > 0.1")

Pattern 3: Feature effects (direction of impact)

Feature Impact never tells you which way a feature pushes predictions. When a report describes direction ("higher X increases churn"), compute partial dependence first:

python
import datarobot as dr

model = dr.Model.get(project_id, model_id)
sources = model.get_feature_effect_metadata().sources  # e.g. ["training", "validation"]
fe = model.get_or_request_feature_effect(source=sources[0])  # source is required

for eff in fe.feature_effects[:5]:
    # partial_dependence["data"] is [{"label": <feature value>, "dependence": <prediction>}];
    # direction is how dependence changes across labels — there is no single signed field.
    points = eff["partial_dependence"]["data"]
    print(eff["feature_name"], [(p["label"], p["dependence"]) for p in points[:3]])

Feature types in DataRobot

Numeric Features

  • Continuous numeric values
  • Automatically scaled and normalized
  • Can be used in mathematical operations

Categorical Features

  • Discrete categories or labels
  • Automatically encoded (one-hot, target encoding)
  • Important for many model types

Text Features

  • Text data (descriptions, comments)
  • Automatically processed with NLP techniques
  • Creates multiple text-derived features

Date/Time Features

  • Temporal data
  • Automatically creates time-based features
  • Important for time series models

Understanding feature importance

Feature Impact rows report impactUnnormalized (how much worse the model's error metric gets when the feature is shuffled - not a percentage or share of predictive signal) and impactNormalized (the same value scaled so the largest is 1.0). The thresholds below apply to the normalized score.

Feature importance scores indicate:

  • High importance (> 0.1): Feature significantly impacts predictions
  • Medium importance (0.05-0.1): Feature contributes to predictions
  • Low importance (< 0.05): Feature has minimal impact

Note: Importance thresholds vary by model type and problem domain.

Output rule: Feature Impact is magnitude only, never direction. A report that has not called model.get_or_request_feature_effect(source=...) (Pattern 3) must not claim direction — write "tenure_months is the 4th most impactful feature", not "longer tenure reduces churn". Impact scores are also not shares of predictive signal and cannot be summed into proportions — never write "accounts for 65% of the signal" or "these features carry the majority of the model's predictive power", with or without a number.

Error handling

Common errors and solutions:

  • Feature not found: Verify feature name and model compatibility
  • ClientError (404) from get_feature_impact: Feature Impact was never computed - use model.get_or_request_feature_impact() instead
  • Importance unavailable: Some model types don't provide importance scores
  • Feature access errors: Check project and model permissions

SDK Setup

Install DataRobot SDK

bash
uv pip install datarobot || python -m pip install datarobot

Initialize Client

python
import datarobot as dr

dr.Client()

Resources

Câu hỏi thường gặp

Kỹ năng AI Datarobot Feature Engineering làm được gì?

Guidance for feature engineering, feature discovery, feature importance analysis, and understanding DataRobot's automated feature engineering capabilities. Use when working with feature engineering, feature discovery, or analyzing feature importance in DataRobot.

Vì sao nên dùng Datarobot Feature Engineering trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Datarobot Feature Engineering là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Datarobot Feature Engineering trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/datarobot-oss/datarobot-agent-skills/tree/main/skills/datarobot-feature-engineering. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Datarobot Feature Engineering?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Datarobot Feature Engineering với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Datarobot Feature Engineering với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Datarobot Feature Engineering có miễn phí không?

Có. Kỹ năng này được datarobot-oss phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇