شعار Datarobot Model Training

Datarobot Model Training

مؤسسة
datarobot-oss
datarobot-model-training

Comprehensive guidance for training models in DataRobot, including project creation, AutoML configuration, feature engineering, and model selection. Use when training models, creating AutoML projects, or selecting models in DataRobot.

نظرة عامة

الناشرdatarobot-oss
المستودعdatarobot-agent-skills
اسم المهارةdatarobot-model-training
النجوم
33
التفريعات
27
الملفات المرفقة
3
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 3

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها datarobot-oss على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Datarobot Model Training في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/datarobot-oss/datarobot-agent-skills/tree/main/skills/datarobot-model-training
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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-model-training .claude/skills/datarobot-model-training
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Datarobot Model Training في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Datarobot Model Training تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Datarobot Model Training بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

DataRobot Model Training Skill

This skill provides guidance for the complete model training workflow in DataRobot, from project creation through model selection and validation.

Quick Start

Most common use case: Create a project and train models

  1. Create or reuse a Use Case: ask the user if they have an existing Use Case ID to reuse (dr.UseCase.get(use_case_id)); otherwise create a new one (dr.UseCase.create(name)). Every project needs one linked in Workbench
  2. Upload dataset: upload_dataset(file_path, dataset_name, use_case_id) to upload training data, associated with the Use Case
  3. Create project: create_project(dataset_id, project_name, target_column, use_case_id) to create new project, associated with the same Use Case
  4. Start training: start_automl(project_id, mode) to begin AutoML training

Example: "Create a new project under a 'Sales Forecasting' Use Case with sales_data.csv, set 'revenue' as target, and start Quick AutoML training"

When to use this skill

Use this skill when you need to:

  • Create new DataRobot projects
  • Upload training datasets
  • Configure AutoML experiments
  • Monitor training progress
  • Select and compare models
  • Understand feature engineering results
  • Export trained models

Key capabilities

1. Project Management

  • Create new projects with appropriate settings
  • Upload datasets (CSV, Parquet, database connections)
  • Configure project settings (target, partitioning, time series)
  • Manage multiple projects and experiments

2. AutoML Configuration

  • Set training modes (Quick, Manual, Comprehensive)
  • Configure feature engineering options
  • Set time limits and resource constraints
  • Choose algorithms and model types

3. Training Execution

  • Start AutoML training runs
  • Monitor training progress
  • Handle training errors and warnings
  • Pause/resume training if needed

4. Model Analysis

  • Compare model performance metrics
  • Review feature importance
  • Analyze model insights and explanations
  • Select best models for deployment

Workflow examples

Example 1: Create and train a new project

User request: "Create a new project using my sales_data.csv file, predict 'revenue' as the target, and start AutoML training."

Agent workflow:

  1. Upload the dataset to DataRobot
  2. Create a new project with the dataset
  3. Set 'revenue' as the target variable
  4. Configure project settings (detect partitioning, handle time series if needed)
  5. Start AutoML training with appropriate mode
  6. Monitor training progress
  7. Report when training completes with top model metrics

Example 2: Configure advanced training options

User request: "Train a model with time series settings: datetime column 'date', series ID 'store_id', forecast window 1-7 days."

Agent workflow:

  1. Create project with time series configuration
  2. Set datetime column and series ID columns
  3. Configure forecast window (1-7 days)
  4. Set appropriate time series validation
  5. Start training with time series-aware algorithms
  6. Monitor progress and report results

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 model training:

Use Cases (organize related datasets/projects/deployments under one entity):

  • dr.UseCase.create(name, description=None) - Create a new Use Case
  • dr.UseCase.get(use_case_id) - Retrieve an existing Use Case (reuse instead of creating a new one)
  • use_case.add(entity=project_or_dataset) - Attach an already-created project or dataset to a Use Case

Projects:

  • dr.Project.create_from_dataset(dataset_id, project_name, use_case=use_case) - Create project, linked to a Use Case
  • dr.Project.get(project_id) - Get project details
  • dr.Project.list() - List all projects
  • project.analyze_and_model(target, mode=dr.AUTOPILOT_MODE.QUICK) - Set the target and start AutoPilot

Training:

  • project.wait_for_autopilot() - Block until AutoPilot finishes
  • project.get_status() - Check training status
  • dr.Model.list(project_id) - List trained models
  • dr.Model.get(project_id, model_id) - Get model details
  • dr.ModelRecommendation.get(project.id).get_model() - Get DataRobot's recommended model

Model Analysis:

  • model.metrics - Performance metrics (dict of {metric: {partition: score}})
  • model.get_feature_impact() - Get feature importance

See the Common Patterns section below for complete examples.

Helper Scripts

This skill includes executable helper scripts that Claude can run directly:

  • scripts/create_project.py - Create a new project from a dataset, optionally linked to a Use Case
  • scripts/start_training.py - Set the target and start AutoML training
  • scripts/list_models.py - List trained models with metrics

The datarobot-data-preparation skill's scripts/upload_dataset.py accepts the same optional use_case_id argument for linking an uploaded dataset to a Use Case.

Usage example:

bash
# Create (or reuse) a Use Case first
python -c "import datarobot as dr; print(dr.UseCase.create(name='Sales Prediction').id)"

# Upload dataset, linked to the Use Case
python ../datarobot-data-preparation/scripts/upload_dataset.py sales_data.csv "Sales Data" use_case_456

# Create project, set target, and start training (one step), linked to the Use Case
python scripts/create_project.py dataset_123 "Sales Prediction" revenue use_case_456

# (Alternatively, if the project was created without a target:)
# python scripts/start_training.py project_456 revenue Quick

# List models once AutoPilot finishes
python scripts/list_models.py project_456 AUC

Claude can run these scripts directly or use them as reference when writing code.

Best practices

  1. Data preparation: Ensure data is clean and properly formatted before upload
  2. Use Cases: Every project needs a linked Use Case in Workbench. Resolve one up front — reuse an existing use_case_id via dr.UseCase.get(use_case_id), or create a new one via dr.UseCase.create(name) — and pass it to both Dataset.create_from_file (use_cases=[...]) and Project.create_from_dataset (use_case=...) so the project lands under the intended Use Case rather than a default one
  3. Target selection: Choose appropriate target variable (avoid leakage)
  4. Partitioning: Use proper partitioning for time-aware or grouped data
  5. Feature engineering: Let AutoML handle feature engineering, but review results
  6. Model selection: Compare multiple models, not just the top performer
  7. Validation: Review validation strategy and ensure it matches your use case

Common patterns

Pattern 1: Standard classification/regression

python
import datarobot as dr
import os

# Initialize client
dr.Client()

# Reuse an existing Use Case if the user gave us one, otherwise create a new one
existing_use_case_id = os.getenv("DATAROBOT_USE_CASE_ID")  # or ask the user for it
use_case = (
    dr.UseCase.get(existing_use_case_id)
    if existing_use_case_id
    else dr.UseCase.create(name="Sales Prediction")
)

# Upload dataset (create_from_file has no name parameter; rename afterwards)
dataset = dr.Dataset.create_from_file(
    file_path="training_data.csv", use_cases=[use_case]
)
dataset.modify(name="Sales Data")

# Create project
project = dr.Project.create_from_dataset(
    dataset_id=dataset.id, project_name="Sales Prediction", use_case=use_case
)

# Set the target and start AutoPilot (Quick mode).
# analyze_and_model() replaces the deprecated set_target() and starts AutoPilot,
# so no separate start() call is needed.
project.analyze_and_model(
    target="revenue", mode=dr.AUTOPILOT_MODE.QUICK, worker_count=-1
)

# Wait for AutoPilot to finish
project.wait_for_autopilot()

# Get DataRobot's recommended model (the one flagged "Recommended for Deployment")
best_model = dr.ModelRecommendation.get(project.id).get_model()

# model.metrics maps each metric to per-partition scores; read the validation score.
metric = project.metric  # the project's optimization metric, e.g. "LogLoss" or "AUC"
print(
    f"Recommended model: {best_model.id} ({best_model.model_type}), "
    f"{metric} (validation): {best_model.metrics[metric]['validation']}"
)

Pattern 2: Time series forecasting

python
import datarobot as dr
import os

# Reuse an existing Use Case if the user gave us one, otherwise create a new one
existing_use_case_id = os.getenv("DATAROBOT_USE_CASE_ID")  # or ask the user for it
use_case = (
    dr.UseCase.get(existing_use_case_id)
    if existing_use_case_id
    else dr.UseCase.create(name="Sales Forecast")
)

# Upload dataset (create_from_file has no name parameter; rename afterwards)
dataset = dr.Dataset.create_from_file("sales_data.csv", use_cases=[use_case])
dataset.modify(name="Sales Forecast Data")

# Create project
project = dr.Project.create_from_dataset(
    dataset_id=dataset.id, project_name="Sales Forecast", use_case=use_case
)

# Configure time series settings
spec = dr.DatetimePartitioningSpecification(
    datetime_partition_column="date",
    use_time_series=True,
    multiseries_id_columns=["store_id"],
    forecast_window_start=1,
    forecast_window_end=7,
)

# Set the target and start AutoPilot with time series partitioning
project.analyze_and_model(
    target="sales",
    mode=dr.AUTOPILOT_MODE.COMPREHENSIVE,
    partitioning_method=spec,
    max_wait=7200,
)

# Wait for completion and get results
project.wait_for_autopilot()
models = dr.Model.list(project.id)

Model selection criteria

When selecting models, consider:

  • Performance metrics: Accuracy, AUC, RMSE, MAPE (depending on problem type)
  • Prediction speed: Important for real-time deployments
  • Interpretability: Some models are more explainable
  • Feature requirements: Some models need specific feature types
  • Deployment constraints: Consider model size and resource requirements

Error handling

Common errors and solutions:

  • Dataset upload failures: Check file format, size limits, encoding
  • "Dataset does not contain enough rows": DataRobot requires a minimum of 20 rows to create a project from a dataset — sample/demo data must meet this
  • Target errors: Ensure target column exists and has appropriate values
  • Training failures: Check data quality, feature types, missing values
  • Timeout errors: Adjust time limits or use Quick mode for initial exploration. Dataset.create_from_file and project.analyze_and_model block for up to max_wait seconds (default 600); pass a larger max_wait for big datasets or slow environments

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

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Datarobot Model Training؟

Comprehensive guidance for training models in DataRobot, including project creation, AutoML configuration, feature engineering, and model selection. Use when training models, creating AutoML projects, or selecting models in DataRobot.

لماذا تستخدم Datarobot Model Training على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Datarobot Model Training عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Datarobot Model Training في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/datarobot-oss/datarobot-agent-skills/tree/main/skills/datarobot-model-training. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Datarobot Model Training؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Datarobot Model Training؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Datarobot Model Training معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Datarobot Model Training مجانية؟

نعم. نشرها datarobot-oss على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇