← Files Dataiku HeadlessARCHIVED FILE

skills/dataiku-headless/references/machine-learning.md

3.41 KB · Nov 27, 2026 · 19:32 UTC

↓ Download file

---
name: machine-learning
description: Understand and inspect Dataiku visual ML analyses, trained models, and saved models. Use when an agent must interpret existing ML objects or gather grounded context before asking Cobuild to create, tune, train, deploy, or modify ML assets.
---

# Machine Learning

Use this guide to understand and inspect existing Dataiku visual ML analyses, trained models, and saved models.

## ML Concepts

An ML analysis is an experimentation and training configuration. It defines the task, source data, feature roles, preprocessing, algorithms, validation, and evaluation settings.

Trained models are candidate results produced within an analysis. Compare candidate models in the context of the task, validation method, business objective, and baseline rather than treating one metric as sufficient evidence.

A saved model is a deployed, versioned model artifact. Scoring and retraining are Flow concerns and should be created or modified through the recipes skill and Cobuild.

Data suitability and evaluation context matter before model selection. Inspect the source dataset before interpreting model results or preparing an ML request.

| Task type | Goal | Reference |
| --- | --- | --- |
| Prediction | Predict a known target value or category. | [Prediction](./machine-learning/prediction.md) |
| Clustering | Discover similar-record segments without a target. | [Clustering](./machine-learning/clustering.md) |
| Causal prediction | Estimate the effect of a treatment on an outcome. | [Causal Prediction](./machine-learning/causal-prediction.md) |
| Time series forecasting | Predict future values along a time axis. | [Time Series Forecasting](./machine-learning/timeseries-forecasting.md) |

## Inspection Workflow

1. Use `./datasets.md` to inspect the source dataset's schema, quality signals, sample size, and potential leakage before interpreting or requesting ML work.
2. Use `list_ml_analyses` when analysis discovery, comparison, or reuse context matters. For a known analysis, use `get_ml_analysis_summary` and `get_ml_analysis_settings` directly.
3. Use `list_ml_analysis_models` and `get_ml_model_details` to inspect candidate trained models, their evaluation results, and feature behavior.
4. Use `list_saved_models`, `list_saved_model_versions`, and `get_saved_model_version_details` to inspect deployed models and versions.
5. When training, deployment, or retraining is already in progress, use `./jobs.md` to supervise the existing job.
6. If the request only changes where an ML task trains, use `./container-execution.md`. To place a saved-model retrain, set the existing training recipe's `params.containerSelection` through that recipe path.
7. Route all other ML analysis creation, tuning, training, deployment, and saved-model changes through `./cobuild.md`.
8. Route scoring and retraining Flow assets through `./recipes.md` and Cobuild.

## Preferred Tools

- `list_ml_analyses`
- `get_ml_analysis_summary`
- `get_ml_analysis_settings`
- `list_ml_analysis_models`
- `get_ml_model_details`
- `list_saved_models`
- `list_saved_model_versions`
- `get_saved_model_version_details`

## Safety Rules

- Interpret model results against the relevant business objective, validation design, baseline, and source-data quality.
- Do not claim causal effect from a prediction or clustering model.
- Flag likely leakage, severe class imbalance, small samples, train/test gaps, and implausibly strong performance before recommending deployment.

SHA-256: 002346999c60ae883dfcd35e679976e74c9e97c4799b326fffff1b70ef24875e