Skip to main content

KNeighborsRegressor with LoadDiabetes

This example pairs the original TypeScript SDK integration test with the recorded responses from its successful ParallelModel pipeline run.

PropertyRecorded value
Test ID9.8.1.ML.Pipeline.LoadDiabetes.TrainTestSplit.SimpleImputer.StandardScaler.Neighbors.KNeighborsRegressor
Algorithm familyNearest Neighbors
DatasetLoadDiabetes
AcquisitionGenerated dataset
Pipeline modeDiagnosticTraining
Pipeline statusSucceeded
Evaluation readyfalse
PredictionRecorded (success)
Response events86
Diagnostic training

This example explicitly enables independent partition fitting for diagnostics. The recorded pipeline succeeded, but EvaluationReady is false; do not interpret its evaluation metrics as production-ready or leakage-safe validation.

Prerequisites​

Install the TypeScript SDK and Jest in your Node.js project. The original source is a Jest integration test, not a standalone browser example. It uses the live ParallelModel service and reads the following environment variables from your environment or a local .env file.

PARALLELMODEL_REGION=<region>
PARALLELMODEL_CLIENT_ID=<client-id>
PARALLELMODEL_CLIENT_SECRET=<client-secret>
PARALLELMODEL_MODEL_ID=<model-id>
PARALLELMODEL_ENCRYPTION_KEY_1=<encryption-key>
PARALLELMODEL_COMPUTE_SIZE=<compute-size>

TypeScript example​

The following code is preserved from the supplied test file. The response callback records each SDK operation and writes the execution transcript to the outputs directory.

import { test } from '@jest/globals';
import { existsSync } from 'node:fs';
import { mkdir, writeFile } from 'node:fs/promises';
import { dirname, resolve } from 'node:path';
import process from 'node:process';
import { fileURLToPath } from 'node:url';
import { inspect } from 'node:util';
import {
ParallelModelClient,
PipelineExecutionStatus,
PipelineMode,
PipelineSteps,
DatasetPredefinedValues,
PipelinePredictionInputKind,
type TrainTestSplitJobSendRequestModel,
type SimpleImputerJobSendRequestModel,
type StandardScalerJobSendRequestModel,
type KNeighborsRegressorJobSendRequestModel
} from '@parallelmodel/sdk';

const projectDirectory = fileURLToPath(new URL('../', import.meta.url));
const logFile = resolve(projectDirectory, 'outputs', '9.8.1.ML.Pipeline.LoadDiabetes.TrainTestSplit.SimpleImputer.StandardScaler.Neighbors.KNeighborsRegressor.text');

function required(name: string): string {
const value = process.env[name];
if (!value?.trim()) throw new Error(`Missing environment variable ${name}`);
return value;
}

test('9.8.1.ML.Pipeline.LoadDiabetes.TrainTestSplit.SimpleImputer.StandardScaler.Neighbors.KNeighborsRegressor', async () => {
const lines: string[] = [];
const secrets: string[] = [];
function writeLine(message: string): void {
const safe = secrets.reduce((line, secret) => line.replaceAll(secret, '[redacted]'), message);
lines.push(safe);
console.log(safe);
}

try {
const envFile = [resolve(projectDirectory, '.env'), resolve(projectDirectory, '..', '.env')]
.find(path => existsSync(path));
if (envFile) process.loadEnvFile(envFile);
const modelId = required('PARALLELMODEL_MODEL_ID');
const computeSize = required('PARALLELMODEL_COMPUTE_SIZE');
const encryptionKey = required('PARALLELMODEL_ENCRYPTION_KEY_1');
const clientSecret = required('PARALLELMODEL_CLIENT_SECRET');
secrets.push(encryptionKey, clientSecret);
const parallelModelClient = new ParallelModelClient({
region: required('PARALLELMODEL_REGION'),
clientId: required('PARALLELMODEL_CLIENT_ID'),
clientSecret, timeout: 300_000, autoRefreshToken: true,
refreshBeforeExpiry: 120_000, retryOnUnauthorized: true, maxRetries: 3
});
const parallelModelPipeline = parallelModelClient.pipelineClient.create(modelId, {
mode: PipelineMode.DiagnosticTraining,
allowIndependentPartitionFitForDiagnostics: true,
computeSize,
defaultOutputKeyReference: 'key',
resolveEncryptionKey: () => encryptionKey,
apiTimeout: 300_000,
pollingInterval: 30_000
}).configure(
PipelineSteps.datasetGenerate(
DatasetPredefinedValues.DatasetPackageTypes.ScikitLearn,
DatasetPredefinedValues.DatasetAlgorithmTypes.LoadDiabetes, {}
),
PipelineSteps.modelSelection((dataset, outputName): TrainTestSplitJobSendRequestModel => ({
input: {
input_blob_id: dataset.blobId,
feature_columns: [...dataset.featureColumns],
target_column: dataset.targetColumn!,
file_format: dataset.fileFormat,
algorithm_type: "train_test_split",
algorithm_params: {
test_size: 0.2,
random_state: 42,
shuffle: true,
stratify: false
},
evaluation: {
test_size: 0.2,
random_state: 42,
shuffle: true,
stratify: false
},
generate_graphs: false
},
output: { name: outputName, tags: ["pipeline", "model-selection"] },
request_timeout_seconds: 300
})),
PipelineSteps.impute((partition, outputName): SimpleImputerJobSendRequestModel => ({
input: {
input_blob_id: partition.blobId,
classifier_type: "SimpleImputer",
classifier_params: {
strategy: "mean",
add_indicator: false,
keep_empty_features: true
},
data_type: "numeric",
feature_columns: [...partition.featureColumns],
file_format: partition.fileFormat,
missing_tokens: ["", "NA", "NaN", "nan", "null", "?"],
target_column: partition.targetColumn!,
keep_other_columns: true,
evaluation: {
test_size: 0.2,
random_state: 42,
shuffle: true
},
generate_graphs: false
},
output: { name: outputName, tags: ["pipeline", "impute"] },
request_timeout_seconds: 300
})),
PipelineSteps.preprocessing((partition, outputName): StandardScalerJobSendRequestModel => ({
input: {
input_blob_id: partition.blobId,
preprocessor_type: "StandardScaler",
preprocessor_params: {},
feature_columns: [...partition.featureColumns],
target_column: partition.targetColumn,
file_format: partition.fileFormat,
keep_other_columns: true,
generate_graphs: true
},
output: { name: outputName, tags: ["pipeline", "preprocessing"] },
request_timeout_seconds: 300
})),
PipelineSteps.neighbors((partitions, outputName): KNeighborsRegressorJobSendRequestModel => ({
input: {
train_blob_id: partitions.train.blobId,
test_blob_id: partitions.test.blobId,
classifier_type: "KNeighborsRegressor",
classifier_params: {
n_neighbors: 5,
weights: "distance"
},
feature_columns: [...partitions.train.featureColumns],
file_format: partitions.train.fileFormat,
target_column: partitions.train.targetColumn!,
generate_graphs: true
},
output: { name: outputName, tags: ["pipeline", "neighbors"] },
request_timeout_seconds: 300
})),
PipelineSteps.predict("Auto", [0.2, -0.1, 0.4, -0.2, 0.1, 0.3, -0.4, 0.5, 0.2, -0.1], PipelinePredictionInputKind.Transformed)
);

const pipelineRunResult = await parallelModelPipeline.runAsync({
onResponse(event) {
writeLine(`${event.module}/${event.algorithm} | ${event.partition} | ${event.operation}`);
writeLine(JSON.stringify(event.response) ?? 'undefined');
}
}, AbortSignal.timeout(119 * 60_000));
writeLine(`Pipeline status: ${pipelineRunResult.status}; EvaluationReady: ${pipelineRunResult.evaluationReady}`);
if (pipelineRunResult.status !== PipelineExecutionStatus.Succeeded) {
const message = pipelineRunResult.status === PipelineExecutionStatus.Cancelled
? 'Pipeline cancelled.' : 'Pipeline failed.';
throw new Error(message, { cause: pipelineRunResult.failure?.exception });
}
} catch (error) {
writeLine(inspect(error));
throw error;
} finally {
await mkdir(dirname(logFile), { recursive: true });
await writeFile(logFile, lines.join('\n') + '\n', 'utf8');
}
}, 120 * 60_000);

Recorded responses​

The responses below follow the actual SDK callback order. Each step identifies the operation and partition from the source transcript. Identifiers and infrastructure names have been anonymised consistently; session cookies and keys are redacted. Result values, statuses, and timings are retained.

Download the complete execution trace (JSON)

The downloadable trace includes every response event, including complete worker log arrays. The inline log previews show the first and last entries only.

Pipeline stages​

StagePartitionResponse events
Dataset/load_diabetesDataset10
ModelSelection/TrainTestSplitDataset12
Impute/SimpleImputerTrain13
Impute/SimpleImputerTest13
Preprocessing/StandardScalerTrain11
Preprocessing/StandardScalerTest12
Neighbors/KNeighborsRegressorBoth14
Predict/AutoBoth1

1. Dataset / load_diabetes with Dataset​

SDK step: PipelineSteps.datasetGenerate(...).

Send
{
"start_time": "2026-12-05T17:50:14.6877011+00:00",
"end_time": "2026-12-05T17:50:14.7668528+00:00",
"elapsed_milliseconds": 79.15,
"status": "published",
"job_id": "89b52a11-30ce-4b47-9a68-7315cff23b3d",
"topic": "pm.topic.ml.datasets",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "89b52a11-30ce-4b47-9a68-7315cff23b3d",
"json": {
"job_id": "89b52a11-30ce-4b47-9a68-7315cff23b3d",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"algorithm_type": "load_diabetes",
"package_type": "scikit-learn",
"algorithm_params": {}
},
"request_timeout_seconds": 300,
"output": {
"name": "pipeline-6740f4e26c62411cac1c91ebcde40f32-01-Dataset-Dataset.zip",
"description": null,
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"datasets",
"pipeline",
"load_diabetes"
],
"encryption_key": "[redacted]"
}
},
"topic": "pm.topic.ml.datasets",
"subscription": "cpu.0p5c.1gi"
}
}
Status (4 responses)
[
{
"start_time": "2026-12-05T17:50:14.8232787+00:00",
"end_time": "2026-12-05T17:50:14.9192187+00:00",
"elapsed_milliseconds": 95.94,
"job_id": "89b52a11-30ce-4b47-9a68-7315cff23b3d",
"status": "processing",
"topic": "pm.topic.ml.datasets",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T17:50:45.0317508+00:00",
"end_time": "2026-12-05T17:50:45.1221531+00:00",
"elapsed_milliseconds": 90.4,
"job_id": "89b52a11-30ce-4b47-9a68-7315cff23b3d",
"status": "processing",
"topic": "pm.topic.ml.datasets",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T17:51:15.2357044+00:00",
"end_time": "2026-12-05T17:51:15.3859944+00:00",
"elapsed_milliseconds": 150.29,
"job_id": "89b52a11-30ce-4b47-9a68-7315cff23b3d",
"status": "processing",
"topic": "pm.topic.ml.datasets",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T17:51:45.5108155+00:00",
"end_time": "2026-12-05T17:51:46.0364383+00:00",
"elapsed_milliseconds": 525.62,
"job_id": "89b52a11-30ce-4b47-9a68-7315cff23b3d",
"status": "completed",
"topic": "pm.topic.ml.datasets",
"subscription": "cpu.0p5c.1gi"
}
]
Logs with 36 entries (preview)

Showing 2 of 36 entries. The complete log response is available in the execution trace above.

[
{
"start_time": "0001-01-01T00:00:00+00:00",
"end_time": "0001-01-01T00:00:00+00:00",
"elapsed_milliseconds": 0,
"timestamp": "2026-12-05T17:51:39.6278835+00:00",
"log": {
"status": "stage_started",
"stage": "checking delivery count",
"jobId": null
}
},
{
"start_time": "0001-01-01T00:00:00+00:00",
"end_time": "0001-01-01T00:00:00+00:00",
"elapsed_milliseconds": 0,
"timestamp": "2026-12-05T17:51:40.0960886+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "89b52a11-30ce-4b47-9a68-7315cff23b3d",
"elapsed_seconds": 0
}
}
]
Result
{
"jobId": "89b52a11-30ce-4b47-9a68-7315cff23b3d",
"execution": {
"executionName": "spmrgmlcae3caj2-f9k2l",
"jobName": "spmrgmlcae3caj2",
"container": {
"hostname": "worker-0463",
"replicaName": "worker-0463",
"processId": 1
}
},
"package_type": "scikit-learn",
"algorithm_type": "load_diabetes",
"stats": {
"row_count": 442,
"column_count": 11,
"feature_count": 10,
"target_count": 1,
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"target_columns": [
"target"
],
"missing_cell_count": 0,
"file_format": "csv",
"task_type": "datasets",
"source_kind": "builtin"
},
"effective_params": {
"as_frame": true
},
"metadata": {
"dataset_name": "load_diabetes",
"sklearn_version": "1.9.1",
"description_excerpt": ".. _diabetes_dataset:\n\nDiabetes dataset\n----------------\n\nTen baseline variables, age, sex, body mass index, average blood\npressure, and six blood serum measurements were obtained for each of n =\n442 diabetes patients, as well as the response of interest, a\nquantitative measure of disease progression one year after baseline.\n\n**Data Set Characteristics:**\n\n:Number of Instances: 442\n\n:Number of Attributes: First 10 columns are numeric predictive values\n\n:Target: Column 11 is a quantitative measur"
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-12-05T17:51:39.926120+00:00",
"python": {
"version": "3.12.16",
"implementation": "CPython"
},
"packages": {
"scikit-learn": "1.9.1",
"numpy": "2.5.4",
"pandas": "3.0.6",
"scipy": "1.18.1",
"pydantic": "2.14.1",
"torch": "2.15.0",
"torch-geometric": "2.8.1",
"azure-servicebus": "7.14.3",
"parallelmodel": "1.0.0"
},
"environment": {
"os": "Linux",
"os_release": "6.6.159.1-2.azl3",
"architecture": "x86_64",
"region": "uk1"
}
},
"artifact_format": "zip",
"artifact_archive": "datasets-output.zip",
"artifact_files": [
"dataset.csv",
"result.json"
]
}
Extract
{
"start_time": "2026-12-05T17:51:50.5781822+00:00",
"end_time": "2026-12-05T17:51:52.0857615+00:00",
"elapsed_milliseconds": 1507.56,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "864b5c5d-dcde-42ba-9c48-10b316ad4197",
"uploaded_blob_id": "23679628-f712-4ccd-956d-1adac2a4d287",
"filename": "f30083a0-e390-44de-b05a-608a54371b05.csv",
"source_path": "dataset.csv",
"source_format": "csv",
"size_bytes": 95137,
"upload_status_code": 200
}
Download
{
"blobId": "23679628-f712-4ccd-956d-1adac2a4d287",
"fileName": "dataset.csv",
"fileSizeBytes": 95137
}
Inspect
{
"fileName": "dataset.csv",
"fileExtension": ".csv",
"fileFormat": "csv",
"dataKind": "Numeric",
"columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6",
"target"
],
"featureColumns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"targetColumn": "target",
"columnDataTypes": {
"age": "numeric",
"sex": "numeric",
"bmi": "numeric",
"bp": "numeric",
"s1": "numeric",
"s2": "numeric",
"s3": "numeric",
"s4": "numeric",
"s5": "numeric",
"s6": "numeric",
"target": "numeric"
},
"rowCount": 442,
"columnCount": 11,
"fileSizeBytes": 95137
}

2. ModelSelection / TrainTestSplit with Dataset​

SDK step: PipelineSteps.modelSelection(...).

Send
{
"start_time": "2026-12-05T17:51:52.2605146+00:00",
"end_time": "2026-12-05T17:51:52.3400828+00:00",
"elapsed_milliseconds": 79.57,
"status": "published",
"job_id": "16ff1d6a-80a7-4315-8910-82c8ee45bb4b",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "16ff1d6a-80a7-4315-8910-82c8ee45bb4b",
"json": {
"job_id": "16ff1d6a-80a7-4315-8910-82c8ee45bb4b",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "23679628-f712-4ccd-956d-1adac2a4d287",
"input_encryption_key": "[redacted]",
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"file_format": "csv",
"algorithm_type": "train_test_split",
"algorithm_params": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true,
"stratify": false
}
},
"request_timeout_seconds": 300,
"output": {
"name": "pipeline-6740f4e26c62411cac1c91ebcde40f32-02-ModelSelection-Dataset.zip",
"description": null,
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"pipeline",
"model-selection"
],
"encryption_key": "[redacted]"
},
"target_column": "target",
"evaluation": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true,
"stratify": false
},
"generate_graphs": false
},
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi"
}
}
Status (3 responses)
[
{
"start_time": "2026-12-05T17:51:52.373936+00:00",
"end_time": "2026-12-05T17:51:52.6290629+00:00",
"elapsed_milliseconds": 255.12,
"job_id": "16ff1d6a-80a7-4315-8910-82c8ee45bb4b",
"status": "processing",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T17:52:22.7712623+00:00",
"end_time": "2026-12-05T17:52:22.8865012+00:00",
"elapsed_milliseconds": 115.24,
"job_id": "16ff1d6a-80a7-4315-8910-82c8ee45bb4b",
"status": "processing",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T17:52:52.9948389+00:00",
"end_time": "2026-12-05T17:52:53.3873372+00:00",
"elapsed_milliseconds": 392.49,
"job_id": "16ff1d6a-80a7-4315-8910-82c8ee45bb4b",
"status": "completed",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi"
}
]
Logs with 34 entries (preview)

Showing 2 of 34 entries. The complete log response is available in the execution trace above.

[
{
"start_time": "0001-01-01T00:00:00+00:00",
"end_time": "0001-01-01T00:00:00+00:00",
"elapsed_milliseconds": 0,
"timestamp": "2026-12-05T17:52:26.8416203+00:00",
"log": {
"status": "stage_started",
"stage": "checking delivery count",
"jobId": null
}
},
{
"start_time": "0001-01-01T00:00:00+00:00",
"end_time": "0001-01-01T00:00:00+00:00",
"elapsed_milliseconds": 0,
"timestamp": "2026-12-05T17:52:27.3694673+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "16ff1d6a-80a7-4315-8910-82c8ee45bb4b",
"elapsed_seconds": 0
}
}
]
Result
{
"jobId": "16ff1d6a-80a7-4315-8910-82c8ee45bb4b",
"execution": {
"executionName": "spmrgmlcae3caj4-4hssp",
"jobName": "spmrgmlcae3caj4",
"container": {
"hostname": "worker-0464",
"replicaName": "worker-0464",
"processId": 1
}
},
"algorithm_type": "train_test_split",
"stats": {
"row_count": 442,
"column_count": 11,
"feature_count": 10,
"training_row_count": 353,
"test_row_count": 89,
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"target_columns": [
"target"
],
"file_format": "csv",
"task_type": "split",
"metrics": {
"artifact_count": 4
}
},
"effective_params": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true,
"stratify": false
},
"learned": {
"fold_count": 1,
"fold_sizes": [
{
"train": 353,
"test": 89
}
]
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-12-05T17:52:27.236341+00:00",
"python": {
"version": "3.12.16",
"implementation": "CPython"
},
"packages": {
"scikit-learn": "1.9.1",
"numpy": "2.5.4",
"pandas": "3.0.6",
"scipy": "1.18.1",
"pydantic": "2.14.1",
"joblib": "1.6.0",
"matplotlib": "3.11.2",
"azure-servicebus": "7.14.3",
"parallelmodel": "1.0.0"
},
"environment": {
"os": "Linux",
"os_release": "6.6.159.1-2.azl3",
"architecture": "x86_64",
"region": "uk1"
}
},
"artifact_format": "zip",
"artifact_archive": "model-selection-output.zip",
"artifact_files": [
"model.joblib",
"result.json",
"train.csv",
"test.csv",
"train_indices.csv",
"test_indices.csv"
]
}
Extract (6 responses)
[
{
"start_time": "2026-12-05T17:52:56.3056285+00:00",
"end_time": "2026-12-05T17:52:57.0924946+00:00",
"elapsed_milliseconds": 786.86,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "f3aec09d-249b-4b0f-8fb3-b29451dbe7c9",
"uploaded_blob_id": "d586fcc9-7b58-4f17-9461-e4e51c29e034",
"filename": "4c12485c-9fb8-4e75-852a-55ac579a7d65.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 1593,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:52:57.1385707+00:00",
"end_time": "2026-12-05T17:52:57.9644181+00:00",
"elapsed_milliseconds": 825.84,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "f3aec09d-249b-4b0f-8fb3-b29451dbe7c9",
"uploaded_blob_id": "b07f5a2d-0ca3-4abe-a0da-ad2edec9b2ca",
"filename": "b1bbef17-76f6-43e3-856d-164b0ad68675.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 1863,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:52:58.0007314+00:00",
"end_time": "2026-12-05T17:52:58.7404954+00:00",
"elapsed_milliseconds": 739.75,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "f3aec09d-249b-4b0f-8fb3-b29451dbe7c9",
"uploaded_blob_id": "0ceaba38-28a6-4e60-a380-8b1dd056d870",
"filename": "9420cbeb-ad1c-4683-9d31-3a127e3a1611.csv",
"source_path": "train.csv",
"source_format": "csv",
"size_bytes": 70645,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:52:58.7767246+00:00",
"end_time": "2026-12-05T17:52:59.5446077+00:00",
"elapsed_milliseconds": 767.87,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "f3aec09d-249b-4b0f-8fb3-b29451dbe7c9",
"uploaded_blob_id": "e529f045-79df-4573-847f-6f6596e7fe2a",
"filename": "7031f0b0-bbe9-47e7-92a6-a2e2a9151ba2.csv",
"source_path": "test.csv",
"source_format": "csv",
"size_bytes": 17853,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:52:59.5776991+00:00",
"end_time": "2026-12-05T17:53:02.0172877+00:00",
"elapsed_milliseconds": 2439.56,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "f3aec09d-249b-4b0f-8fb3-b29451dbe7c9",
"uploaded_blob_id": "1ea9576b-cc8d-4b36-b795-4b716a3addd5",
"filename": "89e32a57-064f-4328-bd38-b4256ac9f0b7.csv",
"source_path": "train_indices.csv",
"source_format": "csv",
"size_bytes": 1341,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:53:02.0657132+00:00",
"end_time": "2026-12-05T17:53:05.4897388+00:00",
"elapsed_milliseconds": 3423.98,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "f3aec09d-249b-4b0f-8fb3-b29451dbe7c9",
"uploaded_blob_id": "45433dc7-7074-4a23-baa8-8e178835772a",
"filename": "92092c7e-6133-4c42-beae-7ad19b1555ab.csv",
"source_path": "test_indices.csv",
"source_format": "csv",
"size_bytes": 337,
"upload_status_code": 200
}
]

3. Impute / SimpleImputer with Train​

SDK step: PipelineSteps.impute(...).

Send
{
"start_time": "2026-12-05T17:53:05.6299787+00:00",
"end_time": "2026-12-05T17:53:05.9108527+00:00",
"elapsed_milliseconds": 280.87,
"status": "published",
"job_id": "fc359017-eb6b-4262-90f5-b7f9c57f54dd",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "fc359017-eb6b-4262-90f5-b7f9c57f54dd",
"json": {
"job_id": "fc359017-eb6b-4262-90f5-b7f9c57f54dd",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "0ceaba38-28a6-4e60-a380-8b1dd056d870",
"input_encryption_key": "[redacted]",
"classifier_type": "SimpleImputer",
"classifier_params": {
"strategy": "mean",
"add_indicator": false,
"keep_empty_features": true
},
"data_type": "numeric",
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"target_column": "target",
"keep_other_columns": true,
"file_format": "csv",
"missing_tokens": [
"",
"NA",
"NaN",
"nan",
"null",
"?"
]
},
"request_timeout_seconds": 300,
"output": {
"name": "pipeline-6740f4e26c62411cac1c91ebcde40f32-03-Impute-Train.zip",
"description": null,
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"pipeline",
"impute"
],
"encryption_key": "[redacted]"
},
"evaluation": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true
},
"generate_graphs": false
},
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
}
}
Status (3 responses)
[
{
"start_time": "2026-12-05T17:53:05.9632137+00:00",
"end_time": "2026-12-05T17:53:06.0643959+00:00",
"elapsed_milliseconds": 101.18,
"job_id": "fc359017-eb6b-4262-90f5-b7f9c57f54dd",
"status": "processing",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T17:53:36.2456135+00:00",
"end_time": "2026-12-05T17:53:36.3052247+00:00",
"elapsed_milliseconds": 59.61,
"job_id": "fc359017-eb6b-4262-90f5-b7f9c57f54dd",
"status": "processing",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T17:54:06.4267221+00:00",
"end_time": "2026-12-05T17:54:06.982325+00:00",
"elapsed_milliseconds": 555.59,
"job_id": "fc359017-eb6b-4262-90f5-b7f9c57f54dd",
"status": "completed",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
}
]
Logs with 40 entries (preview)

Showing 2 of 40 entries. The complete log response is available in the execution trace above.

[
{
"start_time": "0001-01-01T00:00:00+00:00",
"end_time": "0001-01-01T00:00:00+00:00",
"elapsed_milliseconds": 0,
"timestamp": "2026-12-05T17:53:39.182845+00:00",
"log": {
"status": "stage_started",
"stage": "checking delivery count",
"jobId": null
}
},
{
"start_time": "0001-01-01T00:00:00+00:00",
"end_time": "0001-01-01T00:00:00+00:00",
"elapsed_milliseconds": 0,
"timestamp": "2026-12-05T17:53:39.7587301+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "fc359017-eb6b-4262-90f5-b7f9c57f54dd",
"elapsed_seconds": 0
}
}
]
Result
{
"job_id": "fc359017-eb6b-4262-90f5-b7f9c57f54dd",
"execution": {
"execution_name": "spmrgmlcae2caj6-87mgp",
"job_name": "spmrgmlcae2caj6",
"container": {
"hostname": "worker-0465",
"replica_name": "worker-0465",
"process_id": 1
}
},
"classifier_type": "SimpleImputer",
"stats": {
"row_count": 353,
"column_count": 11,
"feature_count": 10,
"training_row_count": 282,
"test_row_count": 71,
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"target_columns": [],
"file_format": "csv",
"task_type": "tabular_imputation",
"metrics": {
"input_missing_cells": 0,
"input_missing_by_feature": {
"age": 0,
"sex": 0,
"bmi": 0,
"bp": 0,
"s1": 0,
"s2": 0,
"s3": 0,
"s4": 0,
"s5": 0,
"s6": 0
},
"input_missing_rate": 0,
"output_columns": 10,
"fit_scope": "training",
"training_missing_cells": 0,
"holdout_missing_cells": 0,
"output_missing_cells": 0,
"output_is_missing_indicators": false
}
},
"effective_params": {
"imputer": {
"strategy": "mean",
"fill_value": null,
"add_indicator": false,
"keep_empty_features": true
},
"data_type": "numeric"
},
"learned": {
"input_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"output_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"target_column": "target",
"target_preserved": true,
"keep_other_columns": true,
"preserved_columns": [
"target"
],
"transformed_values_file": "imputed.csv",
"compatibility_predictions_file": "predictions.csv",
"input_missing_mask_file": "missingness.csv",
"reusable_fitted_imputer": "model.joblib"
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-12-05T17:53:39.612276+00:00",
"python": {
"version": "3.12.16",
"implementation": "CPython"
},
"packages": {
"scikit-learn": "1.9.1",
"numpy": "2.5.4",
"pandas": "3.0.6",
"scipy": "1.18.1",
"pydantic": "2.14.1",
"joblib": "1.6.0",
"matplotlib": "3.11.2",
"azure-servicebus": "7.14.3",
"parallelmodel": "1.0.0"
},
"environment": {
"os": "Linux",
"os_release": "6.6.159.1-2.azl3",
"architecture": "x86_64",
"region": "uk1"
}
},
"artifact_format": "zip",
"artifact_archive": "text-imputation-output.zip",
"artifact_files": [
"model.joblib",
"predictions.csv",
"imputed.csv",
"missingness.csv",
"feature_names.csv",
"row_partitions.csv",
"result.json"
]
}
Extract (7 responses)
[
{
"start_time": "2026-12-05T17:54:09.5955763+00:00",
"end_time": "2026-12-05T17:54:10.391413+00:00",
"elapsed_milliseconds": 795.82,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "8bc0907f-db23-4702-97ac-3bc7210d43f7",
"uploaded_blob_id": "71ad5686-0033-4a02-959f-f5305287090f",
"filename": "09908054-4738-49b1-ad3c-27c239de377e.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 901,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:54:10.438348+00:00",
"end_time": "2026-12-05T17:54:12.2449282+00:00",
"elapsed_milliseconds": 1806.55,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "8bc0907f-db23-4702-97ac-3bc7210d43f7",
"uploaded_blob_id": "cb0baf7a-43fd-4d9e-af43-8c71df86b59f",
"filename": "ea9eea76-6975-4a73-89d5-ad732366d9b3.csv",
"source_path": "predictions.csv",
"source_format": "csv",
"size_bytes": 75427,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:54:12.2798102+00:00",
"end_time": "2026-12-05T17:54:13.2131012+00:00",
"elapsed_milliseconds": 933.28,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "8bc0907f-db23-4702-97ac-3bc7210d43f7",
"uploaded_blob_id": "558097e2-be3e-4238-8e12-c8476e65ab67",
"filename": "c019d35c-01c1-4ab9-9aac-58ac86f83d5e.csv",
"source_path": "imputed.csv",
"source_format": "csv",
"size_bytes": 75427,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:54:13.2672191+00:00",
"end_time": "2026-12-05T17:54:13.9933011+00:00",
"elapsed_milliseconds": 726.07,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "8bc0907f-db23-4702-97ac-3bc7210d43f7",
"uploaded_blob_id": "96061b1a-445b-4ac5-a343-b2dc30cdb63b",
"filename": "f97c935f-e6f6-4f47-8f64-b7f20d31e008.csv",
"source_path": "missingness.csv",
"source_format": "csv",
"size_bytes": 8839,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:54:14.0328627+00:00",
"end_time": "2026-12-05T17:54:15.4046136+00:00",
"elapsed_milliseconds": 1371.73,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "8bc0907f-db23-4702-97ac-3bc7210d43f7",
"uploaded_blob_id": "a8d47d1e-acea-4b0e-a9c2-a74abdbd7078",
"filename": "8c47bfbd-b2c1-491b-b988-cc3dd8f88044.csv",
"source_path": "feature_names.csv",
"source_format": "csv",
"size_bytes": 289,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:54:15.4377865+00:00",
"end_time": "2026-12-05T17:54:17.151644+00:00",
"elapsed_milliseconds": 1713.83,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "8bc0907f-db23-4702-97ac-3bc7210d43f7",
"uploaded_blob_id": "1190cc0d-3acd-4565-90a8-b60452e9b0f6",
"filename": "357e53b9-767b-4e16-bc3c-f9bedbe23694.csv",
"source_path": "row_partitions.csv",
"source_format": "csv",
"size_bytes": 4782,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:54:17.1864705+00:00",
"end_time": "2026-12-05T17:54:18.1881767+00:00",
"elapsed_milliseconds": 1001.69,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "8bc0907f-db23-4702-97ac-3bc7210d43f7",
"uploaded_blob_id": "5509a1ce-da18-4458-8a14-f3a6408c37c2",
"filename": "43db754b-417c-4142-9dfb-ffcbc6b008a3.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 2974,
"upload_status_code": 200
}
]

4. Impute / SimpleImputer with Test​

SDK step: PipelineSteps.impute(...).

Send
{
"start_time": "2026-12-05T17:54:18.2302+00:00",
"end_time": "2026-12-05T17:54:18.2775585+00:00",
"elapsed_milliseconds": 47.36,
"status": "published",
"job_id": "d2efa6a0-49c6-4f76-a533-5984821ebef9",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "d2efa6a0-49c6-4f76-a533-5984821ebef9",
"json": {
"job_id": "d2efa6a0-49c6-4f76-a533-5984821ebef9",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "e529f045-79df-4573-847f-6f6596e7fe2a",
"input_encryption_key": "[redacted]",
"classifier_type": "SimpleImputer",
"classifier_params": {
"strategy": "mean",
"add_indicator": false,
"keep_empty_features": true
},
"data_type": "numeric",
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"target_column": "target",
"keep_other_columns": true,
"file_format": "csv",
"missing_tokens": [
"",
"NA",
"NaN",
"nan",
"null",
"?"
]
},
"request_timeout_seconds": 300,
"output": {
"name": "pipeline-6740f4e26c62411cac1c91ebcde40f32-03-Impute-Test.zip",
"description": null,
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"pipeline",
"impute"
],
"encryption_key": "[redacted]"
},
"evaluation": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true
},
"generate_graphs": false
},
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
}
}
Status (3 responses)
[
{
"start_time": "2026-12-05T17:54:18.3315868+00:00",
"end_time": "2026-12-05T17:54:18.4109173+00:00",
"elapsed_milliseconds": 79.33,
"job_id": "d2efa6a0-49c6-4f76-a533-5984821ebef9",
"status": "processing",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T17:54:48.5737717+00:00",
"end_time": "2026-12-05T17:54:48.646243+00:00",
"elapsed_milliseconds": 72.47,
"job_id": "d2efa6a0-49c6-4f76-a533-5984821ebef9",
"status": "processing",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T17:55:18.7565814+00:00",
"end_time": "2026-12-05T17:55:19.196924+00:00",
"elapsed_milliseconds": 440.34,
"job_id": "d2efa6a0-49c6-4f76-a533-5984821ebef9",
"status": "completed",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
}
]
Logs with 40 entries (preview)

Showing 2 of 40 entries. The complete log response is available in the execution trace above.

[
{
"start_time": "0001-01-01T00:00:00+00:00",
"end_time": "0001-01-01T00:00:00+00:00",
"elapsed_milliseconds": 0,
"timestamp": "2026-12-05T17:54:58.9164689+00:00",
"log": {
"status": "stage_started",
"stage": "checking delivery count",
"jobId": null
}
},
{
"start_time": "0001-01-01T00:00:00+00:00",
"end_time": "0001-01-01T00:00:00+00:00",
"elapsed_milliseconds": 0,
"timestamp": "2026-12-05T17:54:59.5300131+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "d2efa6a0-49c6-4f76-a533-5984821ebef9",
"elapsed_seconds": 0
}
}
]
Result
{
"job_id": "d2efa6a0-49c6-4f76-a533-5984821ebef9",
"execution": {
"execution_name": "spmrgmlcae2caj6-bfph9",
"job_name": "spmrgmlcae2caj6",
"container": {
"hostname": "worker-0466",
"replica_name": "worker-0466",
"process_id": 1
}
},
"classifier_type": "SimpleImputer",
"stats": {
"row_count": 89,
"column_count": 11,
"feature_count": 10,
"training_row_count": 71,
"test_row_count": 18,
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"target_columns": [],
"file_format": "csv",
"task_type": "tabular_imputation",
"metrics": {
"input_missing_cells": 0,
"input_missing_by_feature": {
"age": 0,
"sex": 0,
"bmi": 0,
"bp": 0,
"s1": 0,
"s2": 0,
"s3": 0,
"s4": 0,
"s5": 0,
"s6": 0
},
"input_missing_rate": 0,
"output_columns": 10,
"fit_scope": "training",
"training_missing_cells": 0,
"holdout_missing_cells": 0,
"output_missing_cells": 0,
"output_is_missing_indicators": false
}
},
"effective_params": {
"imputer": {
"strategy": "mean",
"fill_value": null,
"add_indicator": false,
"keep_empty_features": true
},
"data_type": "numeric"
},
"learned": {
"input_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"output_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"target_column": "target",
"target_preserved": true,
"keep_other_columns": true,
"preserved_columns": [
"target"
],
"transformed_values_file": "imputed.csv",
"compatibility_predictions_file": "predictions.csv",
"input_missing_mask_file": "missingness.csv",
"reusable_fitted_imputer": "model.joblib"
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-12-05T17:54:59.373658+00:00",
"python": {
"version": "3.12.16",
"implementation": "CPython"
},
"packages": {
"scikit-learn": "1.9.1",
"numpy": "2.5.4",
"pandas": "3.0.6",
"scipy": "1.18.1",
"pydantic": "2.14.1",
"joblib": "1.6.0",
"matplotlib": "3.11.2",
"azure-servicebus": "7.14.3",
"parallelmodel": "1.0.0"
},
"environment": {
"os": "Linux",
"os_release": "6.6.159.1-2.azl3",
"architecture": "x86_64",
"region": "uk1"
}
},
"artifact_format": "zip",
"artifact_archive": "text-imputation-output.zip",
"artifact_files": [
"model.joblib",
"predictions.csv",
"imputed.csv",
"missingness.csv",
"feature_names.csv",
"row_partitions.csv",
"result.json"
]
}
Extract (7 responses)
[
{
"start_time": "2026-12-05T17:55:21.9451644+00:00",
"end_time": "2026-12-05T17:55:22.9313005+00:00",
"elapsed_milliseconds": 986.12,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "736f4753-9d2b-47d6-ab9f-13b37af009a6",
"uploaded_blob_id": "433c81f7-a39f-418c-a77e-1fc41eaa4384",
"filename": "9b4b8392-de5a-4efd-b3ef-9797fd954627.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 898,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:55:22.9667276+00:00",
"end_time": "2026-12-05T17:55:23.7987478+00:00",
"elapsed_milliseconds": 832.01,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "736f4753-9d2b-47d6-ab9f-13b37af009a6",
"uploaded_blob_id": "83a87f57-35d0-46ec-a9d0-8cee5831a0ab",
"filename": "34ca297a-cda8-4662-8652-69a25c9b6389.csv",
"source_path": "predictions.csv",
"source_format": "csv",
"size_bytes": 19003,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:55:23.8322271+00:00",
"end_time": "2026-12-05T17:55:24.6767877+00:00",
"elapsed_milliseconds": 844.55,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "736f4753-9d2b-47d6-ab9f-13b37af009a6",
"uploaded_blob_id": "ebb0e609-48ff-45d7-a4dc-274b09640694",
"filename": "b31bb54d-f3f9-46cb-9e54-0be51331a2ef.csv",
"source_path": "imputed.csv",
"source_format": "csv",
"size_bytes": 19003,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:55:24.7267191+00:00",
"end_time": "2026-12-05T17:55:25.5795084+00:00",
"elapsed_milliseconds": 852.78,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "736f4753-9d2b-47d6-ab9f-13b37af009a6",
"uploaded_blob_id": "e86a50d3-75fb-4fee-9c5d-66a3ac93cf9d",
"filename": "baf48c22-b163-4c8a-b3f9-29c9cc159cc5.csv",
"source_path": "missingness.csv",
"source_format": "csv",
"size_bytes": 2250,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:55:25.6124907+00:00",
"end_time": "2026-12-05T17:55:29.3228615+00:00",
"elapsed_milliseconds": 3710.33,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "736f4753-9d2b-47d6-ab9f-13b37af009a6",
"uploaded_blob_id": "a85beca6-0e7f-419f-b812-b19ad04d5af3",
"filename": "8e6022fe-b1c9-4d41-827f-15af8393edbe.csv",
"source_path": "feature_names.csv",
"source_format": "csv",
"size_bytes": 289,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:55:29.3618054+00:00",
"end_time": "2026-12-05T17:55:30.1436843+00:00",
"elapsed_milliseconds": 781.87,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "736f4753-9d2b-47d6-ab9f-13b37af009a6",
"uploaded_blob_id": "28cac982-1a00-4264-a77c-314016125607",
"filename": "7763abf2-9611-40cd-84e4-3d62f9a4fc93.csv",
"source_path": "row_partitions.csv",
"source_format": "csv",
"size_bytes": 1150,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:55:30.1825621+00:00",
"end_time": "2026-12-05T17:55:31.2426755+00:00",
"elapsed_milliseconds": 1060.1,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "736f4753-9d2b-47d6-ab9f-13b37af009a6",
"uploaded_blob_id": "fc498451-e59d-4ad0-b371-dba0191e52e7",
"filename": "774d7ec2-3e9d-43bb-8204-cfce6055e44a.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 2972,
"upload_status_code": 200
}
]

5. Preprocessing / StandardScaler with Train​

SDK step: PipelineSteps.preprocessing(...).

Send
{
"start_time": "2026-12-05T17:55:31.2844449+00:00",
"end_time": "2026-12-05T17:55:31.376627+00:00",
"elapsed_milliseconds": 92.18,
"status": "published",
"job_id": "f54060c6-5d31-4f28-a473-2c98394e86a0",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "f54060c6-5d31-4f28-a473-2c98394e86a0",
"json": {
"job_id": "f54060c6-5d31-4f28-a473-2c98394e86a0",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "558097e2-be3e-4238-8e12-c8476e65ab67",
"input_encryption_key": "[redacted]",
"preprocessor_type": "StandardScaler",
"preprocessor_params": {},
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"file_format": "csv"
},
"request_timeout_seconds": 300,
"output": {
"name": "pipeline-6740f4e26c62411cac1c91ebcde40f32-04-Preprocessing-Train.zip",
"description": null,
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"pipeline",
"preprocessing"
],
"encryption_key": "[redacted]"
},
"target_column": "target",
"keep_other_columns": true,
"generate_graphs": true
},
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
}
}
Status (2 responses)
[
{
"start_time": "2026-12-05T17:55:31.4521145+00:00",
"end_time": "2026-12-05T17:55:31.5649971+00:00",
"elapsed_milliseconds": 112.88,
"job_id": "f54060c6-5d31-4f28-a473-2c98394e86a0",
"status": "processing",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T17:56:01.6768319+00:00",
"end_time": "2026-12-05T17:56:02.0771816+00:00",
"elapsed_milliseconds": 400.34,
"job_id": "f54060c6-5d31-4f28-a473-2c98394e86a0",
"status": "completed",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
}
]
Logs with 42 entries (preview)

Showing 2 of 42 entries. The complete log response is available in the execution trace above.

[
{
"start_time": "0001-01-01T00:00:00+00:00",
"end_time": "0001-01-01T00:00:00+00:00",
"elapsed_milliseconds": 0,
"timestamp": "2026-12-05T17:55:54.6038722+00:00",
"log": {
"status": "stage_started",
"stage": "checking delivery count",
"jobId": null
}
},
{
"start_time": "0001-01-01T00:00:00+00:00",
"end_time": "0001-01-01T00:00:00+00:00",
"elapsed_milliseconds": 0,
"timestamp": "2026-12-05T17:55:55.4314422+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "f54060c6-5d31-4f28-a473-2c98394e86a0",
"elapsed_seconds": 0
}
}
]
Result
{
"jobId": "f54060c6-5d31-4f28-a473-2c98394e86a0",
"execution": {
"executionName": "spmrgmlcae1caj2-krsgn",
"jobName": "spmrgmlcae1caj2",
"container": {
"hostname": "worker-0467",
"replicaName": "worker-0467",
"processId": 1
}
},
"preprocessor_type": "StandardScaler",
"operation_kind": "transformer",
"stats": {
"row_count": 353,
"column_count": 13,
"feature_count": 10,
"training_row_count": 353,
"test_row_count": 0,
"output_feature_count": 10,
"output_column_count": 13,
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"output_feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"retained_columns": [
"row_index",
"partition",
"target"
],
"target_column": "target",
"file_format": "csv",
"task_type": "preprocessing",
"sparse_output": false,
"cross_fitted_training": false
},
"effective_params": {
"copy": true,
"with_mean": true,
"with_std": true
},
"learned": {
"n_features_in": 10,
"n_samples_seen": 353,
"mean": [
0.001441807607278148,
0.00018389145609893742,
0.0017356583405780778,
0.0011793881813458773,
-0.0005555101229526259,
-0.0008060091702002777,
-0.0009890039230743442,
0.0003765533923998853,
0.001216059223300718,
0.0018910080220641125
],
"var": [
0.0021407637900217272,
0.0022635200481368255,
0.0022286204345852803,
0.0023425615648250096,
0.002277014787542453,
0.0022623046095960582,
0.0022068368869518824,
0.002277411124444579,
0.002281061417208716,
0.00233402323623437
],
"scale": [
0.04626838866895763,
0.04757646527577291,
0.047208266591618045,
0.04840001616554492,
0.047718076108980476,
0.047563690033428425,
0.046976982522847106,
0.047722228829389125,
0.04776045872066888,
0.048311729799649795
]
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-12-05T17:55:55.007831+00:00",
"python": {
"version": "3.12.16",
"implementation": "CPython"
},
"packages": {
"scikit-learn": "1.9.1",
"numpy": "2.5.4",
"pandas": "3.0.6",
"scipy": "1.18.1",
"pydantic": "2.14.1",
"joblib": "1.6.0",
"matplotlib": "3.11.2",
"azure-servicebus": "7.14.3",
"parallelmodel": "1.0.0"
},
"environment": {
"os": "Linux",
"os_release": "6.6.159.1-2.azl3",
"architecture": "x86_64",
"region": "uk1"
}
},
"artifact_format": "zip",
"artifact_archive": "preprocessing-output.zip",
"artifact_files": [
"model.joblib",
"transformed.csv",
"partitions.csv",
"result.json",
"graphs/dimensions.png",
"graphs/distribution.png"
]
}
Extract (6 responses)
[
{
"start_time": "2026-12-05T17:56:05.7043043+00:00",
"end_time": "2026-12-05T17:56:07.3501209+00:00",
"elapsed_milliseconds": 1645.79,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "7ba03fda-4bfc-4fdf-990a-c430e814ce8a",
"uploaded_blob_id": "8fae11b6-d79f-42f8-b0ee-f21db4b3255f",
"filename": "74d2394c-353f-4a53-941c-b39fd955421d.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 1196,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:56:07.3845268+00:00",
"end_time": "2026-12-05T17:56:08.1707903+00:00",
"elapsed_milliseconds": 786.25,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "7ba03fda-4bfc-4fdf-990a-c430e814ce8a",
"uploaded_blob_id": "6d3b89e4-dc16-4464-a22b-563ee09c32c9",
"filename": "c06e52fa-0f9a-4a8e-b815-72fcb8609032.csv",
"source_path": "transformed.csv",
"source_format": "csv",
"size_bytes": 75678,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:56:08.2034117+00:00",
"end_time": "2026-12-05T17:56:08.9711474+00:00",
"elapsed_milliseconds": 767.73,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "7ba03fda-4bfc-4fdf-990a-c430e814ce8a",
"uploaded_blob_id": "f272ea05-0c77-4ded-b09c-ad0486b63afb",
"filename": "d7675e4f-50fc-487e-a605-ea6fff6ea975.csv",
"source_path": "partitions.csv",
"source_format": "csv",
"size_bytes": 4499,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:56:09.0037088+00:00",
"end_time": "2026-12-05T17:56:10.5858116+00:00",
"elapsed_milliseconds": 1582.08,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "7ba03fda-4bfc-4fdf-990a-c430e814ce8a",
"uploaded_blob_id": "1f353549-ba59-43af-9a89-2def5b3dee3a",
"filename": "36686466-cd6a-4ee3-a0ab-26694adf3dab.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 3071,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:56:10.6269747+00:00",
"end_time": "2026-12-05T17:56:12.8069231+00:00",
"elapsed_milliseconds": 2179.92,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "7ba03fda-4bfc-4fdf-990a-c430e814ce8a",
"uploaded_blob_id": "271caf76-8c05-408a-868b-cde61b4e47c6",
"filename": "f03a5ac3-0f0c-4104-8aec-bc269b2b8222.png",
"source_path": "graphs/dimensions.png",
"source_format": "png",
"size_bytes": 20811,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:56:12.8825692+00:00",
"end_time": "2026-12-05T17:56:13.9307618+00:00",
"elapsed_milliseconds": 1048.18,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "7ba03fda-4bfc-4fdf-990a-c430e814ce8a",
"uploaded_blob_id": "04fa2377-bd66-4ad3-a9b6-af94310cb746",
"filename": "13ab23f7-9b30-4e88-8ae0-0723b7dc149a.png",
"source_path": "graphs/distribution.png",
"source_format": "png",
"size_bytes": 25146,
"upload_status_code": 200
}
]

6. Preprocessing / StandardScaler with Test​

SDK step: PipelineSteps.preprocessing(...).

Send
{
"start_time": "2026-12-05T17:56:13.9859775+00:00",
"end_time": "2026-12-05T17:56:14.0525532+00:00",
"elapsed_milliseconds": 66.57,
"status": "published",
"job_id": "f0da2bd4-deb7-45b4-8f29-256981d059fc",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "f0da2bd4-deb7-45b4-8f29-256981d059fc",
"json": {
"job_id": "f0da2bd4-deb7-45b4-8f29-256981d059fc",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "ebb0e609-48ff-45d7-a4dc-274b09640694",
"input_encryption_key": "[redacted]",
"preprocessor_type": "StandardScaler",
"preprocessor_params": {},
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"file_format": "csv"
},
"request_timeout_seconds": 300,
"output": {
"name": "pipeline-6740f4e26c62411cac1c91ebcde40f32-04-Preprocessing-Test.zip",
"description": null,
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"pipeline",
"preprocessing"
],
"encryption_key": "[redacted]"
},
"target_column": "target",
"keep_other_columns": true,
"generate_graphs": true
},
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
}
}
Status (3 responses)
[
{
"start_time": "2026-12-05T17:56:14.0974073+00:00",
"end_time": "2026-12-05T17:56:14.1615776+00:00",
"elapsed_milliseconds": 64.17,
"job_id": "f0da2bd4-deb7-45b4-8f29-256981d059fc",
"status": "processing",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T17:56:44.291735+00:00",
"end_time": "2026-12-05T17:56:44.3808666+00:00",
"elapsed_milliseconds": 89.13,
"job_id": "f0da2bd4-deb7-45b4-8f29-256981d059fc",
"status": "processing",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T17:57:14.501778+00:00",
"end_time": "2026-12-05T17:57:14.9829005+00:00",
"elapsed_milliseconds": 481.12,
"job_id": "f0da2bd4-deb7-45b4-8f29-256981d059fc",
"status": "completed",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
}
]
Logs with 42 entries (preview)

Showing 2 of 42 entries. The complete log response is available in the execution trace above.

[
{
"start_time": "0001-01-01T00:00:00+00:00",
"end_time": "0001-01-01T00:00:00+00:00",
"elapsed_milliseconds": 0,
"timestamp": "2026-12-05T17:56:54.9680291+00:00",
"log": {
"status": "stage_started",
"stage": "checking delivery count",
"jobId": null
}
},
{
"start_time": "0001-01-01T00:00:00+00:00",
"end_time": "0001-01-01T00:00:00+00:00",
"elapsed_milliseconds": 0,
"timestamp": "2026-12-05T17:56:55.735535+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "f0da2bd4-deb7-45b4-8f29-256981d059fc",
"elapsed_seconds": 0
}
}
]
Result
{
"jobId": "f0da2bd4-deb7-45b4-8f29-256981d059fc",
"execution": {
"executionName": "spmrgmlcae1caj2-75qqt",
"jobName": "spmrgmlcae1caj2",
"container": {
"hostname": "worker-0468",
"replicaName": "worker-0468",
"processId": 1
}
},
"preprocessor_type": "StandardScaler",
"operation_kind": "transformer",
"stats": {
"row_count": 89,
"column_count": 13,
"feature_count": 10,
"training_row_count": 89,
"test_row_count": 0,
"output_feature_count": 10,
"output_column_count": 13,
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"output_feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"retained_columns": [
"row_index",
"partition",
"target"
],
"target_column": "target",
"file_format": "csv",
"task_type": "preprocessing",
"sparse_output": false,
"cross_fitted_training": false
},
"effective_params": {
"copy": true,
"with_mean": true,
"with_std": true
},
"learned": {
"n_features_in": 10,
"n_samples_seen": 89,
"mean": [
-0.005718630172687523,
-0.0007293672359878027,
-0.006884128024990496,
-0.004677798067585558,
0.002203315431486213,
0.003196867832367613,
0.0039226784814072385,
-0.0014935207586196304,
-0.004823246132866442,
-0.007500290244816013
],
"var": [
0.0027041125777464356,
0.002257507191253376,
0.002337255642070839,
0.0019172728117390968,
0.0021985706505383102,
0.002250197407819533,
0.002463728317730986,
0.0022002842309528444,
0.002159470041832987,
0.0019080995890122761
],
"scale": [
0.052001082467064426,
0.047513231749201995,
0.04834517185894408,
0.04378667390587114,
0.04688891820609972,
0.04743624571801117,
0.04963595791088338,
0.046907187412515414,
0.04647009836263516,
0.04368179928771566
]
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-12-05T17:56:55.355742+00:00",
"python": {
"version": "3.12.16",
"implementation": "CPython"
},
"packages": {
"scikit-learn": "1.9.1",
"numpy": "2.5.4",
"pandas": "3.0.6",
"scipy": "1.18.1",
"pydantic": "2.14.1",
"joblib": "1.6.0",
"matplotlib": "3.11.2",
"azure-servicebus": "7.14.3",
"parallelmodel": "1.0.0"
},
"environment": {
"os": "Linux",
"os_release": "6.6.159.1-2.azl3",
"architecture": "x86_64",
"region": "uk1"
}
},
"artifact_format": "zip",
"artifact_archive": "preprocessing-output.zip",
"artifact_files": [
"model.joblib",
"transformed.csv",
"partitions.csv",
"result.json",
"graphs/dimensions.png",
"graphs/distribution.png"
]
}
Extract (6 responses)
[
{
"start_time": "2026-12-05T17:57:16.9508098+00:00",
"end_time": "2026-12-05T17:57:18.3137056+00:00",
"elapsed_milliseconds": 1362.88,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "e204df3e-1ddc-4c68-9c30-aa1bcbb6df5e",
"uploaded_blob_id": "d9c32e0b-0520-47f5-a3c7-4a94c65ccd01",
"filename": "bc8e5cd6-9c1d-4c77-a752-06478251c781.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 1202,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:57:18.3484366+00:00",
"end_time": "2026-12-05T17:57:19.1205367+00:00",
"elapsed_milliseconds": 772.09,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "e204df3e-1ddc-4c68-9c30-aa1bcbb6df5e",
"uploaded_blob_id": "246fd3db-2d91-4a93-9230-1e3bfc2af705",
"filename": "2772fcd8-b296-4589-b842-6f5607a1f47b.csv",
"source_path": "transformed.csv",
"source_format": "csv",
"size_bytes": 19106,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:57:19.1566152+00:00",
"end_time": "2026-12-05T17:57:19.9083319+00:00",
"elapsed_milliseconds": 751.7,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "e204df3e-1ddc-4c68-9c30-aa1bcbb6df5e",
"uploaded_blob_id": "c6c069a1-be81-43ae-9fee-d37e39a3c2fb",
"filename": "f7858643-cc54-4e0a-9e06-643d12b4af2b.csv",
"source_path": "partitions.csv",
"source_format": "csv",
"size_bytes": 1078,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:57:19.9549076+00:00",
"end_time": "2026-12-05T17:57:21.8365544+00:00",
"elapsed_milliseconds": 1881.62,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "e204df3e-1ddc-4c68-9c30-aa1bcbb6df5e",
"uploaded_blob_id": "a8676de4-292d-4362-89b6-8713a3fe96aa",
"filename": "5764a21c-3e66-4961-a22c-12d3d478554b.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 3063,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:57:21.8723133+00:00",
"end_time": "2026-12-05T17:57:23.1996417+00:00",
"elapsed_milliseconds": 1327.31,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "e204df3e-1ddc-4c68-9c30-aa1bcbb6df5e",
"uploaded_blob_id": "46406f7e-069f-44a6-838a-0c7bc8e060a2",
"filename": "04d174ed-a63a-48fc-8aba-3f1d5ebedb61.png",
"source_path": "graphs/dimensions.png",
"source_format": "png",
"size_bytes": 20811,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:57:23.2571361+00:00",
"end_time": "2026-12-05T17:57:24.3865658+00:00",
"elapsed_milliseconds": 1129.41,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "e204df3e-1ddc-4c68-9c30-aa1bcbb6df5e",
"uploaded_blob_id": "ac6c2cb8-602a-4d9f-aeb9-a4234f6c9010",
"filename": "72c769a4-562e-4bf9-b44a-5b674730f793.png",
"source_path": "graphs/distribution.png",
"source_format": "png",
"size_bytes": 22673,
"upload_status_code": 200
}
]

7. Neighbors / KNeighborsRegressor with Both​

SDK step: PipelineSteps.neighbors(...).

Send
{
"start_time": "2026-12-05T17:57:24.4330633+00:00",
"end_time": "2026-12-05T17:57:24.515118+00:00",
"elapsed_milliseconds": 82.05,
"status": "published",
"job_id": "17c47758-a816-42cf-a408-3e72e4db745a",
"topic": "pm.topic.ml.neighbors",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "17c47758-a816-42cf-a408-3e72e4db745a",
"json": {
"job_id": "17c47758-a816-42cf-a408-3e72e4db745a",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"train_blob_id": "6d3b89e4-dc16-4464-a22b-563ee09c32c9",
"train_encryption_key": "[redacted]",
"test_blob_id": "246fd3db-2d91-4a93-9230-1e3bfc2af705",
"test_encryption_key": "[redacted]",
"classifier_type": "KNeighborsRegressor",
"classifier_params": {
"n_neighbors": 5,
"weights": "distance"
},
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"file_format": "csv"
},
"request_timeout_seconds": 300,
"output": {
"name": "pipeline-6740f4e26c62411cac1c91ebcde40f32-05-Neighbors-Both.zip",
"description": null,
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"pipeline",
"neighbors"
],
"encryption_key": "[redacted]",
"artifact_contract_version": "2.0"
},
"target_column": "target",
"evaluation": null,
"generate_graphs": true
},
"topic": "pm.topic.ml.neighbors",
"subscription": "cpu.0p5c.1gi"
}
}
Status (2 responses)
[
{
"start_time": "2026-12-05T17:57:24.5533503+00:00",
"end_time": "2026-12-05T17:57:24.6298097+00:00",
"elapsed_milliseconds": 76.46,
"job_id": "17c47758-a816-42cf-a408-3e72e4db745a",
"status": "processing",
"topic": "pm.topic.ml.neighbors",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T17:57:54.7752806+00:00",
"end_time": "2026-12-05T17:57:55.2775443+00:00",
"elapsed_milliseconds": 502.26,
"job_id": "17c47758-a816-42cf-a408-3e72e4db745a",
"status": "completed",
"topic": "pm.topic.ml.neighbors",
"subscription": "cpu.0p5c.1gi"
}
]
Logs with 24 entries (preview)

Showing 2 of 24 entries. The complete log response is available in the execution trace above.

[
{
"timestamp": "2026-12-05T17:57:50.5120711+00:00",
"log": "{\"status\":\"stage_completed\",\"stage\":\"downloading prepared test blob\",\"jobId\":\"17c47758-a816-42cf-a408-3e72e4db745a\",\"elapsed_seconds\":0.076}"
},
{
"timestamp": "2026-12-05T17:57:51.4842085+00:00",
"log": "{\"status\":\"stage_started\",\"stage\":\"uploading classifier-output.zip\",\"jobId\":\"17c47758-a816-42cf-a408-3e72e4db745a\"}"
}
]
Result
{
"schema_version": "2.0",
"job_id": "17c47758-a816-42cf-a408-3e72e4db745a",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"status": "succeeded",
"worker": {
"name": "neighbors",
"task_family": "regression",
"algorithm": "KNeighborsRegressor"
},
"input": {
"mode": "prepared_train_test",
"partitions": {
"train": {
"blob_id": "6d3b89e4-dc16-4464-a22b-563ee09c32c9",
"row_count": 353
},
"test": {
"blob_id": "246fd3db-2d91-4a93-9230-1e3bfc2af705",
"row_count": 89
}
},
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"target_columns": [
"target"
]
},
"training": {
"effective_params": {
"algorithm": "auto",
"leaf_size": 30,
"metric": "minkowski",
"metric_params": null,
"n_jobs": null,
"n_neighbors": 5,
"p": 2,
"weights": "distance"
},
"metrics": {}
},
"evaluation": {
"partition": "test",
"metrics": {
"scope": "holdout",
"sample_count": 89,
"predicted_sample_count": 89,
"no_prediction_count": 0,
"mean_absolute_error": 43.17908870238246,
"mean_squared_error": 3065.2867584463283,
"root_mean_squared_error": 55.36503191046067,
"r2": 0.42144224930806107
}
},
"artifact_files": [
"model/model.joblib",
"predictions/predictions.csv",
"graphs/actual_vs_predicted.png",
"graphs/actual_vs_predicted.svg",
"graphs/residuals.png",
"graphs/residuals.svg",
"graphs/prediction_distribution.png",
"graphs/prediction_distribution.svg",
"result.json"
],
"extras": {
"algorithm": {
"learned": {
"n_features_in": 10,
"n_samples_fit": 353,
"effective_metric": "euclidean",
"effective_metric_params": {},
"classes": null,
"centroids": null,
"class_prior": null,
"components": null,
"n_iter": null,
"bandwidth": null,
"n_neighbors": null,
"offset": null
},
"warnings": [],
"data": {
"row_count": 442,
"column_count": 13,
"feature_count": 10,
"file_format": "csv",
"prediction_scope": "all_input_rows",
"training_row_indices": null
},
"runtime": {
"captured_at_utc": "2026-12-05T17:57:50.556537+00:00",
"python": {
"version": "3.12.16",
"implementation": "CPython"
},
"packages": {
"scikit-learn": "1.9.1",
"numpy": "2.5.4",
"pandas": "3.0.6",
"scipy": "1.18.1",
"pydantic": "2.14.1",
"joblib": "1.6.0",
"matplotlib": "3.11.2",
"azure-servicebus": "7.14.3",
"parallelmodel": "1.0.0"
},
"environment": {
"os": "Linux",
"os_release": "6.6.159.1-2.azl3",
"architecture": "x86_64",
"region": "uk1"
}
},
"execution": {
"executionName": "spmrgmlcae1caj6-wsrzt",
"jobName": "spmrgmlcae1caj6",
"container": {
"hostname": "worker-0469",
"replicaName": "worker-0469",
"processId": 1
}
}
},
"build": {
"built_at_utc": null,
"source": "unavailable",
"image_tag": null
}
}
}
Extract (9 responses)
[
{
"start_time": "2026-12-05T17:57:57.8656185+00:00",
"end_time": "2026-12-05T17:57:58.7350063+00:00",
"elapsed_milliseconds": 869.38,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "df4c0d30-1bca-43b5-8114-119c816854c0",
"uploaded_blob_id": "fbb68cd7-e448-447a-8184-3a0693b4c36c",
"filename": "6d6d10d7-a427-4137-b71c-424515002734.joblib",
"source_path": "model/model.joblib",
"source_format": "joblib",
"size_bytes": 18895,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:57:58.7700598+00:00",
"end_time": "2026-12-05T17:57:59.5833149+00:00",
"elapsed_milliseconds": 813.24,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "df4c0d30-1bca-43b5-8114-119c816854c0",
"uploaded_blob_id": "33b49b33-43b8-42ee-b362-538a00585863",
"filename": "2302a6ea-054c-4164-bbc5-442acd871253.csv",
"source_path": "predictions/predictions.csv",
"source_format": "csv",
"size_bytes": 10411,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:57:59.6155884+00:00",
"end_time": "2026-12-05T17:58:00.4794417+00:00",
"elapsed_milliseconds": 863.84,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "df4c0d30-1bca-43b5-8114-119c816854c0",
"uploaded_blob_id": "912dfb1b-3d66-4979-a2ee-b8fbd5fc9bae",
"filename": "b08de5b2-357d-4896-b032-a44d6104935a.png",
"source_path": "graphs/actual_vs_predicted.png",
"source_format": "png",
"size_bytes": 104728,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:58:00.5144448+00:00",
"end_time": "2026-12-05T17:58:02.4456541+00:00",
"elapsed_milliseconds": 1931.18,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "df4c0d30-1bca-43b5-8114-119c816854c0",
"uploaded_blob_id": "a1531faf-b467-4f3c-8dd1-a42672807182",
"filename": "ad03865a-6f6e-43a1-ac2b-587e81730957.svg",
"source_path": "graphs/actual_vs_predicted.svg",
"source_format": "svg",
"size_bytes": 90998,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:58:02.4910024+00:00",
"end_time": "2026-12-05T17:58:03.2412412+00:00",
"elapsed_milliseconds": 750.23,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "df4c0d30-1bca-43b5-8114-119c816854c0",
"uploaded_blob_id": "c092e393-f221-4f5c-9230-171b37fd9b7c",
"filename": "de0328fb-ad8c-4b74-9bbd-9f42dcdf87e7.png",
"source_path": "graphs/residuals.png",
"source_format": "png",
"size_bytes": 76630,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:58:03.2766199+00:00",
"end_time": "2026-12-05T17:58:04.2578019+00:00",
"elapsed_milliseconds": 981.17,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "df4c0d30-1bca-43b5-8114-119c816854c0",
"uploaded_blob_id": "9e5c3ee8-658f-43d6-8309-2d1265657339",
"filename": "68873cb4-6740-4a4c-91e3-076a7628d785.svg",
"source_path": "graphs/residuals.svg",
"source_format": "svg",
"size_bytes": 93025,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:58:04.2971929+00:00",
"end_time": "2026-12-05T17:58:05.0926404+00:00",
"elapsed_milliseconds": 795.44,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "df4c0d30-1bca-43b5-8114-119c816854c0",
"uploaded_blob_id": "bed5a0df-51b6-4dd9-ac26-0b920491f2e3",
"filename": "2074cbf5-b35c-4da1-8a5a-26d01f75ac98.png",
"source_path": "graphs/prediction_distribution.png",
"source_format": "png",
"size_bytes": 30787,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:58:05.1270286+00:00",
"end_time": "2026-12-05T17:58:05.9055639+00:00",
"elapsed_milliseconds": 778.53,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "df4c0d30-1bca-43b5-8114-119c816854c0",
"uploaded_blob_id": "5b99af5e-0cd7-407f-9ea3-e391eced145d",
"filename": "10524842-a9e0-4fb2-b23e-c9e3105c91bc.svg",
"source_path": "graphs/prediction_distribution.svg",
"source_format": "svg",
"size_bytes": 30040,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T17:58:05.9563424+00:00",
"end_time": "2026-12-05T17:58:06.7686024+00:00",
"elapsed_milliseconds": 812.25,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "df4c0d30-1bca-43b5-8114-119c816854c0",
"uploaded_blob_id": "323052ff-d23f-42cd-81ca-ff8acb1db7ef",
"filename": "ba90b392-c31f-49b0-b47f-a5e15e4feaf3.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 3473,
"upload_status_code": 200
}
]

8. Predict / Auto with Both​

SDK step: PipelineSteps.predict(...).

Predict
{
"status": "success",
"request_id": "4471a40d-a10f-4c44-b183-af1cd37a05f4",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"model_blob_id": "fbb68cd7-e448-447a-8184-3a0693b4c36c",
"model_type": "sklearn.neighbors._regression.KNeighborsRegressor",
"requested_inference_type": "Auto",
"resolved_inference_type": "Predict",
"predictions": [
{
"row_index": 0,
"values": {
"prediction_0": 198.7222684631852
}
}
],
"stats": {
"row_count": 1,
"feature_count": 10,
"output_count": 1,
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"output_columns": [
"prediction_0"
],
"input_layout": "numpy",
"output_summary": {
"prediction_0": {
"min": 198.7222684631852,
"max": 198.7222684631852,
"mean": 198.7222684631852
}
}
},
"training_metrics": {},
"evaluation_metrics": {},
"learned": {},
"warnings": [],
"elapsed_seconds": 0.004095
}

Final pipeline status​

Pipeline status: Succeeded; EvaluationReady: false

The status above is the final line from the matching execution output.