Skip to main content

KNeighborsClassifier with PipelineClassification

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

PropertyRecorded value
Test ID9.8.2.ML.Pipeline.PipelineClassification.TrainTestSplit.SimpleImputer.StandardScaler.Neighbors.KNeighborsClassifier
Algorithm familyNearest Neighbors
DatasetPipelineClassification
AcquisitionUploaded CSV
Pipeline modeDiagnosticTraining
Pipeline statusSucceeded
Evaluation readyfalse
PredictionRecorded (success)
Response events81
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>

For the upload step, provide pipeline.classification.csv in the test project’s Datasets directory, or use PARALLELMODEL_DATASETS_DIR. The CSV is not included in the supplied archives.

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,
PipelineDataKind,
PipelinePredictionInputKind,
type TrainTestSplitJobSendRequestModel,
type SimpleImputerJobSendRequestModel,
type StandardScalerJobSendRequestModel,
type KNeighborsClassifierJobSendRequestModel
} from '@parallelmodel/sdk';

const projectDirectory = fileURLToPath(new URL('../', import.meta.url));
const logFile = resolve(projectDirectory, 'outputs', '9.8.2.ML.Pipeline.PipelineClassification.TrainTestSplit.SimpleImputer.StandardScaler.Neighbors.KNeighborsClassifier.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.2.ML.Pipeline.PipelineClassification.TrainTestSplit.SimpleImputer.StandardScaler.Neighbors.KNeighborsClassifier', 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 datasetFileName = 'pipeline.classification.csv';
const datasetFilePath = [resolve(projectDirectory, 'Datasets', datasetFileName),
resolve(projectDirectory, '..', 'Datasets', datasetFileName),
...(process.env.PARALLELMODEL_DATASETS_DIR ? [resolve(process.env.PARALLELMODEL_DATASETS_DIR, datasetFileName)] : [])
].find(path => existsSync(path));
if (!datasetFilePath) throw new Error(`Dataset not found: Datasets/${datasetFileName}`);
const parallelModelPipeline = parallelModelClient.pipelineClient.create(modelId, {
mode: PipelineMode.DiagnosticTraining,
allowIndependentPartitionFitForDiagnostics: true,
computeSize,
defaultOutputKeyReference: 'key',
resolveEncryptionKey: () => encryptionKey,
apiTimeout: 300_000,
pollingInterval: 30_000
}).configure(
PipelineSteps.datasetUpload(datasetFilePath, "target", undefined, PipelineDataKind.Numeric),
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: true
},
evaluation: {
test_size: 0.2,
random_state: 42,
shuffle: true,
stratify: true
},
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): KNeighborsClassifierJobSendRequestModel => ({
input: {
train_blob_id: partitions.train.blobId,
test_blob_id: partitions.test.blobId,
classifier_type: "KNeighborsClassifier",
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], 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/UploadDataset3
ModelSelection/TrainTestSplitDataset12
Impute/SimpleImputerTrain13
Impute/SimpleImputerTest13
Preprocessing/StandardScalerTrain12
Preprocessing/StandardScalerTest12
Neighbors/KNeighborsClassifierBoth15
Predict/AutoBoth1

1. Dataset / Upload with Dataset​

SDK step: PipelineSteps.datasetUpload(...).

Upload
{
"statusCode": 200,
"data": {
"id": "31a2921c-5343-4f7e-ae3e-8cbc34c54e2c",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"application_id": "2d62b1579c84446da6c07e864e66eb6a",
"name": "pipeline.classification.csv",
"description": "",
"blob_name": "3b43bdbaaae1462aadb67e4f5516b5d2/9bd90bdbe7f2422d9ed43faa1c85e915.csv",
"container_name": "models",
"storage_account_name": "storage-0002",
"blob_version_id": "2026-12-05T12:04:38.0430161Z",
"file_size_bytes": 22576,
"record_status": "Available",
"record_type": "Generic",
"extension_type": "Csv",
"access_tier": "Hot",
"is_encrypted": true,
"encryption_algorithm_name": "CustomerProvidedAes256",
"created_by": "2d62b1579c84446da6c07e864e66eb6a",
"created_at": "2026-12-05T12:04:38.0889942+00:00",
"modified_by": "2d62b1579c84446da6c07e864e66eb6a",
"modified_at": "2026-12-05T12:04:38.0889942+00:00",
"is_deleted": false,
"deleted_by": "",
"deleted_at": null,
"last_access_by": "2d62b1579c84446da6c07e864e66eb6a",
"last_access_at": "2026-12-05T12:04:38.0889942+00:00",
"tags": [
"datasets",
"pipeline"
]
},
"text": "{\"id\":\"31a2921c-5343-4f7e-ae3e-8cbc34c54e2c\",\"model_id\":\"3b43bdba-aae1-462a-adb6-7e4f5516b5d2\",\"application_id\":\"2d62b1579c84446da6c07e864e66eb6a\",\"name\":\"pipeline.classification.csv\",\"description\":\"\",\"blob_name\":\"3b43bdbaaae1462aadb67e4f5516b5d2/9bd90bdbe7f2422d9ed43faa1c85e915.csv\",\"container_name\":\"models\",\"storage_account_name\":\"storage-0002\",\"blob_version_id\":\"2026-12-05T12:04:38.0430161Z\",\"file_size_bytes\":22576,\"record_status\":\"Available\",\"record_type\":\"Generic\",\"extension_type\":\"Csv\",\"access_tier\":\"Hot\",\"is_encrypted\":true,\"encryption_algorithm_name\":\"CustomerProvidedAes256\",\"created_by\":\"2d62b1579c84446da6c07e864e66eb6a\",\"created_at\":\"2026-12-05T12:04:38.0889942+00:00\",\"modified_by\":\"2d62b1579c84446da6c07e864e66eb6a\",\"modified_at\":\"2026-12-05T12:04:38.0889942+00:00\",\"is_deleted\":false,\"deleted_by\":\"\",\"deleted_at\":null,\"last_access_by\":\"2d62b1579c84446da6c07e864e66eb6a\",\"last_access_at\":\"2026-12-05T12:04:38.0889942+00:00\",\"tags\":[\"datasets\",\"pipeline\"]}",
"headers": {
"api-supported-versions": "1.0",
"cache-control": "private",
"content-encoding": "gzip",
"content-type": "application/json; charset=utf-8",
"date": "Sat, 05 Dec 2026 12:04:37 GMT",
"set-cookie": "[redacted]",
"transfer-encoding": "chunked",
"vary": "Accept-Encoding",
"x-powered-by": "ASP.NET"
},
"ok": true
}
Download
{
"blobId": "31a2921c-5343-4f7e-ae3e-8cbc34c54e2c",
"fileName": "pipeline.classification.csv",
"fileSizeBytes": 22576
}
Inspect
{
"fileName": "pipeline.classification.csv",
"fileExtension": ".csv",
"fileFormat": "csv",
"dataKind": "Numeric",
"columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8",
"target"
],
"featureColumns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"targetColumn": "target",
"columnDataTypes": {
"feature_1": "numeric",
"feature_2": "numeric",
"feature_3": "numeric",
"feature_4": "numeric",
"feature_5": "numeric",
"feature_6": "numeric",
"feature_7": "numeric",
"feature_8": "numeric",
"target": "numeric"
},
"rowCount": 240,
"columnCount": 9,
"fileSizeBytes": 22576
}

2. ModelSelection / TrainTestSplit with Dataset​

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

Send
{
"start_time": "2026-12-05T12:04:49.7600146+00:00",
"end_time": "2026-12-05T12:04:49.8373945+00:00",
"elapsed_milliseconds": 77.38,
"status": "published",
"job_id": "13dc5b0a-7d41-4c08-b0f7-a2cef55b60fa",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "13dc5b0a-7d41-4c08-b0f7-a2cef55b60fa",
"json": {
"job_id": "13dc5b0a-7d41-4c08-b0f7-a2cef55b60fa",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "31a2921c-5343-4f7e-ae3e-8cbc34c54e2c",
"input_encryption_key": "[redacted]",
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"file_format": "csv",
"algorithm_type": "train_test_split",
"algorithm_params": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true,
"stratify": true
}
},
"request_timeout_seconds": 300,
"output": {
"name": "pipeline-8c9c69ba0be34550852f6f8d6abe0acb-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": true
},
"generate_graphs": false
},
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi"
}
}
Status (3 responses)
[
{
"start_time": "2026-12-05T12:04:49.8785177+00:00",
"end_time": "2026-12-05T12:04:49.9898832+00:00",
"elapsed_milliseconds": 111.36,
"job_id": "13dc5b0a-7d41-4c08-b0f7-a2cef55b60fa",
"status": "processing",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T12:05:20.1514602+00:00",
"end_time": "2026-12-05T12:05:20.2739736+00:00",
"elapsed_milliseconds": 122.51,
"job_id": "13dc5b0a-7d41-4c08-b0f7-a2cef55b60fa",
"status": "processing",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T12:05:50.4024952+00:00",
"end_time": "2026-12-05T12:05:50.7991286+00:00",
"elapsed_milliseconds": 396.63,
"job_id": "13dc5b0a-7d41-4c08-b0f7-a2cef55b60fa",
"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-05T12:05:29.4978581+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-05T12:05:30.0467597+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "13dc5b0a-7d41-4c08-b0f7-a2cef55b60fa",
"elapsed_seconds": 0
}
}
]
Result
{
"jobId": "13dc5b0a-7d41-4c08-b0f7-a2cef55b60fa",
"execution": {
"executionName": "spmrgmlcae3caj4-5bz9x",
"jobName": "spmrgmlcae3caj4",
"container": {
"hostname": "worker-0483",
"replicaName": "worker-0483",
"processId": 1
}
},
"algorithm_type": "train_test_split",
"stats": {
"row_count": 240,
"column_count": 9,
"feature_count": 8,
"training_row_count": 192,
"test_row_count": 48,
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"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": true
},
"learned": {
"fold_count": 1,
"fold_sizes": [
{
"train": 192,
"test": 48
}
]
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-12-05T12:05:29.905481+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-05T12:05:53.6566889+00:00",
"end_time": "2026-12-05T12:05:54.4282758+00:00",
"elapsed_milliseconds": 771.58,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "8011726d-40d4-41f5-818b-444d84f4dcb2",
"uploaded_blob_id": "1662b816-903c-4dc7-a613-7786984b93ff",
"filename": "49804fde-903b-4661-a105-38690397b24c.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 1116,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:05:54.4673623+00:00",
"end_time": "2026-12-05T12:05:58.0001305+00:00",
"elapsed_milliseconds": 3532.72,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "8011726d-40d4-41f5-818b-444d84f4dcb2",
"uploaded_blob_id": "b0805b63-ef20-4be4-a725-34f3a367a5db",
"filename": "d7a13ce2-a143-4fc7-8016-7f56e63aca09.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 1889,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:05:58.0367897+00:00",
"end_time": "2026-12-05T12:05:58.8366043+00:00",
"elapsed_milliseconds": 799.8,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "8011726d-40d4-41f5-818b-444d84f4dcb2",
"uploaded_blob_id": "b47042a7-35c6-4c2f-b3d5-e43110b571e6",
"filename": "33839cc6-f22f-4fa2-a65a-875ff55e4295.csv",
"source_path": "train.csv",
"source_format": "csv",
"size_bytes": 17904,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:05:58.8833891+00:00",
"end_time": "2026-12-05T12:06:06.0688605+00:00",
"elapsed_milliseconds": 7185.37,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "8011726d-40d4-41f5-818b-444d84f4dcb2",
"uploaded_blob_id": "ca1e9185-a80b-40b9-91dd-255f61ff0dec",
"filename": "b90cc358-4958-432b-8d4d-f8ee7ecc817b.csv",
"source_path": "test.csv",
"source_format": "csv",
"size_bytes": 4512,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:06:06.1061994+00:00",
"end_time": "2026-12-05T12:06:11.17188+00:00",
"elapsed_milliseconds": 5065.61,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "8011726d-40d4-41f5-818b-444d84f4dcb2",
"uploaded_blob_id": "03fd325b-0a5e-49ee-a04d-933a44a5861c",
"filename": "45f76e28-894c-4405-b7de-ace6a62ecfd4.csv",
"source_path": "train_indices.csv",
"source_format": "csv",
"size_bytes": 690,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:06:11.2087913+00:00",
"end_time": "2026-12-05T12:06:12.0012491+00:00",
"elapsed_milliseconds": 792.45,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "8011726d-40d4-41f5-818b-444d84f4dcb2",
"uploaded_blob_id": "af3c3511-6677-4f5d-aa09-ea592d78abbb",
"filename": "481c841f-0e11-4194-b2e2-339aafd9b7b2.csv",
"source_path": "test_indices.csv",
"source_format": "csv",
"size_bytes": 180,
"upload_status_code": 200
}
]

3. Impute / SimpleImputer with Train​

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

Send
{
"start_time": "2026-12-05T12:06:12.0859254+00:00",
"end_time": "2026-12-05T12:06:12.1607307+00:00",
"elapsed_milliseconds": 74.8,
"status": "published",
"job_id": "d4c519ff-7619-4058-9e53-9bcbea55552e",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "d4c519ff-7619-4058-9e53-9bcbea55552e",
"json": {
"job_id": "d4c519ff-7619-4058-9e53-9bcbea55552e",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "b47042a7-35c6-4c2f-b3d5-e43110b571e6",
"input_encryption_key": "[redacted]",
"classifier_type": "SimpleImputer",
"classifier_params": {
"strategy": "mean",
"add_indicator": false,
"keep_empty_features": true
},
"data_type": "numeric",
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"target_column": "target",
"keep_other_columns": true,
"file_format": "csv",
"missing_tokens": [
"",
"NA",
"NaN",
"nan",
"null",
"?"
]
},
"request_timeout_seconds": 300,
"output": {
"name": "pipeline-8c9c69ba0be34550852f6f8d6abe0acb-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-05T12:06:12.1958123+00:00",
"end_time": "2026-12-05T12:06:12.30644+00:00",
"elapsed_milliseconds": 110.63,
"job_id": "d4c519ff-7619-4058-9e53-9bcbea55552e",
"status": "processing",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T12:06:42.4776929+00:00",
"end_time": "2026-12-05T12:06:42.547213+00:00",
"elapsed_milliseconds": 69.52,
"job_id": "d4c519ff-7619-4058-9e53-9bcbea55552e",
"status": "processing",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T12:07:12.6802696+00:00",
"end_time": "2026-12-05T12:07:13.1603747+00:00",
"elapsed_milliseconds": 480.1,
"job_id": "d4c519ff-7619-4058-9e53-9bcbea55552e",
"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-05T12:06:42.4638377+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-05T12:06:42.9915834+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "d4c519ff-7619-4058-9e53-9bcbea55552e",
"elapsed_seconds": 0
}
}
]
Result
{
"job_id": "d4c519ff-7619-4058-9e53-9bcbea55552e",
"execution": {
"execution_name": "spmrgmlcae2caj6-tp8qr",
"job_name": "spmrgmlcae2caj6",
"container": {
"hostname": "worker-0484",
"replica_name": "worker-0484",
"process_id": 1
}
},
"classifier_type": "SimpleImputer",
"stats": {
"row_count": 192,
"column_count": 9,
"feature_count": 8,
"training_row_count": 153,
"test_row_count": 39,
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"target_columns": [],
"file_format": "csv",
"task_type": "tabular_imputation",
"metrics": {
"input_missing_cells": 0,
"input_missing_by_feature": {
"feature_1": 0,
"feature_2": 0,
"feature_3": 0,
"feature_4": 0,
"feature_5": 0,
"feature_6": 0,
"feature_7": 0,
"feature_8": 0
},
"input_missing_rate": 0,
"output_columns": 8,
"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": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"output_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"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-05T12:06:42.853356+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-05T12:07:17.3068585+00:00",
"end_time": "2026-12-05T12:07:18.0921114+00:00",
"elapsed_milliseconds": 785.24,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "463229ab-9c12-48ce-a931-db537d44258a",
"uploaded_blob_id": "581b7c3e-8ac5-455a-ac52-d0634e833295",
"filename": "c9115f60-2219-4c8a-9546-55f09e3d95d9.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 884,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:07:18.1281262+00:00",
"end_time": "2026-12-05T12:07:18.9277893+00:00",
"elapsed_milliseconds": 799.65,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "463229ab-9c12-48ce-a931-db537d44258a",
"uploaded_blob_id": "315f9bf1-eb17-4518-b8dc-194b9709f631",
"filename": "1fb2a6e3-b492-4de5-b681-fd2193b21f8c.csv",
"source_path": "predictions.csv",
"source_format": "csv",
"size_bytes": 20464,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:07:18.9702425+00:00",
"end_time": "2026-12-05T12:07:19.8600468+00:00",
"elapsed_milliseconds": 889.79,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "463229ab-9c12-48ce-a931-db537d44258a",
"uploaded_blob_id": "a22249d5-4989-4b10-8eec-ede148b38150",
"filename": "6e0ecdb9-fcf3-4ef2-9c2e-7e3efed304da.csv",
"source_path": "imputed.csv",
"source_format": "csv",
"size_bytes": 20464,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:07:19.8937894+00:00",
"end_time": "2026-12-05T12:07:20.6327498+00:00",
"elapsed_milliseconds": 738.95,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "463229ab-9c12-48ce-a931-db537d44258a",
"uploaded_blob_id": "b00efbc6-7dc3-439a-8564-3b5483618986",
"filename": "5e709251-180c-45e2-91cc-9816bb92a952.csv",
"source_path": "missingness.csv",
"source_format": "csv",
"size_bytes": 4077,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:07:20.6729649+00:00",
"end_time": "2026-12-05T12:07:21.6049386+00:00",
"elapsed_milliseconds": 931.96,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "463229ab-9c12-48ce-a931-db537d44258a",
"uploaded_blob_id": "be390e15-af59-4d02-9699-fad0383a55ad",
"filename": "074aa122-d235-4035-9175-357ed4103d45.csv",
"source_path": "feature_names.csv",
"source_format": "csv",
"size_bytes": 345,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:07:21.643403+00:00",
"end_time": "2026-12-05T12:07:22.4775455+00:00",
"elapsed_milliseconds": 834.13,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "463229ab-9c12-48ce-a931-db537d44258a",
"uploaded_blob_id": "2ea08adc-557f-4095-8073-fd7e25b64d6b",
"filename": "32d2b27f-c4a9-4701-977f-e0ee03a37c8d.csv",
"source_path": "row_partitions.csv",
"source_format": "csv",
"size_bytes": 2560,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:07:22.5186074+00:00",
"end_time": "2026-12-05T12:07:23.3959825+00:00",
"elapsed_milliseconds": 877.36,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "463229ab-9c12-48ce-a931-db537d44258a",
"uploaded_blob_id": "35c03ae7-dc79-48d4-b065-33ff72522b5f",
"filename": "b091e0d0-e884-4db9-8649-2b13f1367505.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 3077,
"upload_status_code": 200
}
]

4. Impute / SimpleImputer with Test​

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

Send
{
"start_time": "2026-12-05T12:07:23.4415036+00:00",
"end_time": "2026-12-05T12:07:23.5007726+00:00",
"elapsed_milliseconds": 59.27,
"status": "published",
"job_id": "47005322-2745-47e5-ae94-942a7fc61470",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "47005322-2745-47e5-ae94-942a7fc61470",
"json": {
"job_id": "47005322-2745-47e5-ae94-942a7fc61470",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "ca1e9185-a80b-40b9-91dd-255f61ff0dec",
"input_encryption_key": "[redacted]",
"classifier_type": "SimpleImputer",
"classifier_params": {
"strategy": "mean",
"add_indicator": false,
"keep_empty_features": true
},
"data_type": "numeric",
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"target_column": "target",
"keep_other_columns": true,
"file_format": "csv",
"missing_tokens": [
"",
"NA",
"NaN",
"nan",
"null",
"?"
]
},
"request_timeout_seconds": 300,
"output": {
"name": "pipeline-8c9c69ba0be34550852f6f8d6abe0acb-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-05T12:07:23.5376995+00:00",
"end_time": "2026-12-05T12:07:23.6586794+00:00",
"elapsed_milliseconds": 120.98,
"job_id": "47005322-2745-47e5-ae94-942a7fc61470",
"status": "processing",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T12:07:54.0466814+00:00",
"end_time": "2026-12-05T12:07:54.1490384+00:00",
"elapsed_milliseconds": 102.36,
"job_id": "47005322-2745-47e5-ae94-942a7fc61470",
"status": "processing",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T12:08:24.2372601+00:00",
"end_time": "2026-12-05T12:08:25.0049462+00:00",
"elapsed_milliseconds": 767.68,
"job_id": "47005322-2745-47e5-ae94-942a7fc61470",
"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-05T12:07:59.2933627+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-05T12:07:59.9767274+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "47005322-2745-47e5-ae94-942a7fc61470",
"elapsed_seconds": 0
}
}
]
Result
{
"job_id": "47005322-2745-47e5-ae94-942a7fc61470",
"execution": {
"execution_name": "spmrgmlcae2caj6-nhsr8",
"job_name": "spmrgmlcae2caj6",
"container": {
"hostname": "worker-0485",
"replica_name": "worker-0485",
"process_id": 1
}
},
"classifier_type": "SimpleImputer",
"stats": {
"row_count": 48,
"column_count": 9,
"feature_count": 8,
"training_row_count": 38,
"test_row_count": 10,
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"target_columns": [],
"file_format": "csv",
"task_type": "tabular_imputation",
"metrics": {
"input_missing_cells": 0,
"input_missing_by_feature": {
"feature_1": 0,
"feature_2": 0,
"feature_3": 0,
"feature_4": 0,
"feature_5": 0,
"feature_6": 0,
"feature_7": 0,
"feature_8": 0
},
"input_missing_rate": 0,
"output_columns": 8,
"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": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"output_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"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-05T12:07:59.756298+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-05T12:08:28.4367016+00:00",
"end_time": "2026-12-05T12:08:30.0056922+00:00",
"elapsed_milliseconds": 1568.97,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "b73d55f5-0a68-4118-a951-5be5fb0092cf",
"uploaded_blob_id": "4d8b6434-35bb-4fb4-8dc5-554582c80384",
"filename": "29c68ceb-7abd-4a97-8cdd-f5661e89a440.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 880,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:08:30.0462332+00:00",
"end_time": "2026-12-05T12:08:31.4534925+00:00",
"elapsed_milliseconds": 1407.24,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "b73d55f5-0a68-4118-a951-5be5fb0092cf",
"uploaded_blob_id": "901298fe-b14c-44fa-a92e-4e77e4018c9b",
"filename": "6a6f367b-12fc-48bc-a27d-56eab3c0777f.csv",
"source_path": "predictions.csv",
"source_format": "csv",
"size_bytes": 5137,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:08:31.4901323+00:00",
"end_time": "2026-12-05T12:08:32.4226682+00:00",
"elapsed_milliseconds": 932.52,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "b73d55f5-0a68-4118-a951-5be5fb0092cf",
"uploaded_blob_id": "05d645f8-4ac1-4b92-b636-7ffa239d1de1",
"filename": "acf2d90b-2d22-43f4-b544-12bc8ead1bd1.csv",
"source_path": "imputed.csv",
"source_format": "csv",
"size_bytes": 5137,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:08:32.461353+00:00",
"end_time": "2026-12-05T12:08:34.0637425+00:00",
"elapsed_milliseconds": 1602.37,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "b73d55f5-0a68-4118-a951-5be5fb0092cf",
"uploaded_blob_id": "904d0604-a7cd-4bb4-85b9-a8a6ce877c98",
"filename": "a8b676fc-bc54-4f30-b274-5b38013f0ea1.csv",
"source_path": "missingness.csv",
"source_format": "csv",
"size_bytes": 1105,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:08:34.139519+00:00",
"end_time": "2026-12-05T12:08:34.8667837+00:00",
"elapsed_milliseconds": 727.25,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "b73d55f5-0a68-4118-a951-5be5fb0092cf",
"uploaded_blob_id": "21dfe02b-c72b-4d99-ac55-16b0dbc1d14e",
"filename": "0b868ded-db7d-4506-80fe-df64843f0b42.csv",
"source_path": "feature_names.csv",
"source_format": "csv",
"size_bytes": 345,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:08:34.9385546+00:00",
"end_time": "2026-12-05T12:08:35.6864655+00:00",
"elapsed_milliseconds": 747.9,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "b73d55f5-0a68-4118-a951-5be5fb0092cf",
"uploaded_blob_id": "3612dba4-7aaa-40fa-a7ad-a7a66ff4e9d9",
"filename": "c77aeeaf-b944-4037-8ecd-d43dd8de9d34.csv",
"source_path": "row_partitions.csv",
"source_format": "csv",
"size_bytes": 625,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:08:35.7210183+00:00",
"end_time": "2026-12-05T12:08:36.5311865+00:00",
"elapsed_milliseconds": 810.16,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "b73d55f5-0a68-4118-a951-5be5fb0092cf",
"uploaded_blob_id": "13c87f7b-62c7-40fa-8c05-cd25c66a127b",
"filename": "5ed7c270-0277-4abd-8139-5c4aec036b8c.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 3075,
"upload_status_code": 200
}
]

5. Preprocessing / StandardScaler with Train​

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

Send
{
"start_time": "2026-12-05T12:08:36.58122+00:00",
"end_time": "2026-12-05T12:08:36.6825648+00:00",
"elapsed_milliseconds": 101.34,
"status": "published",
"job_id": "2343560a-71e4-454d-a183-ca06e824bc29",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "2343560a-71e4-454d-a183-ca06e824bc29",
"json": {
"job_id": "2343560a-71e4-454d-a183-ca06e824bc29",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "a22249d5-4989-4b10-8eec-ede148b38150",
"input_encryption_key": "[redacted]",
"preprocessor_type": "StandardScaler",
"preprocessor_params": {},
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"file_format": "csv"
},
"request_timeout_seconds": 300,
"output": {
"name": "pipeline-8c9c69ba0be34550852f6f8d6abe0acb-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 (3 responses)
[
{
"start_time": "2026-12-05T12:08:36.7410913+00:00",
"end_time": "2026-12-05T12:08:36.8387905+00:00",
"elapsed_milliseconds": 97.7,
"job_id": "2343560a-71e4-454d-a183-ca06e824bc29",
"status": "processing",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T12:09:06.936428+00:00",
"end_time": "2026-12-05T12:09:07.0508395+00:00",
"elapsed_milliseconds": 114.41,
"job_id": "2343560a-71e4-454d-a183-ca06e824bc29",
"status": "processing",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T12:09:37.2264941+00:00",
"end_time": "2026-12-05T12:09:37.8599077+00:00",
"elapsed_milliseconds": 633.41,
"job_id": "2343560a-71e4-454d-a183-ca06e824bc29",
"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-05T12:09:21.3708777+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-05T12:09:22.20127+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "2343560a-71e4-454d-a183-ca06e824bc29",
"elapsed_seconds": 0
}
}
]
Result
{
"jobId": "2343560a-71e4-454d-a183-ca06e824bc29",
"execution": {
"executionName": "spmrgmlcae1caj2-dgz6t",
"jobName": "spmrgmlcae1caj2",
"container": {
"hostname": "worker-0486",
"replicaName": "worker-0486",
"processId": 1
}
},
"preprocessor_type": "StandardScaler",
"operation_kind": "transformer",
"stats": {
"row_count": 192,
"column_count": 11,
"feature_count": 8,
"training_row_count": 192,
"test_row_count": 0,
"output_feature_count": 8,
"output_column_count": 11,
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"output_feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"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": 8,
"n_samples_seen": 192,
"mean": [
-0.5173328246875001,
0.7047645661458333,
0.23807116937499997,
0.10133344515625002,
0.5400934991145833,
-0.67471986375,
-0.0039339102083333355,
0.6113616011458333
],
"var": [
4.431766039720813,
3.1700195788496033,
3.0303340994584733,
1.1377896701865113,
2.8717312110369946,
4.338593395115558,
0.9197930024207217,
3.1756049439722767
],
"scale": [
2.1051760115773726,
1.7804548797567443,
1.7407854834695955,
1.0666722412186938,
1.694618308362386,
2.0829290422660964,
0.9590583936448925,
1.7820227114075389
]
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-12-05T12:09:21.820286+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-05T12:09:40.6648555+00:00",
"end_time": "2026-12-05T12:09:42.3219591+00:00",
"elapsed_milliseconds": 1657.08,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "a52643db-48ef-4c89-abcc-73b3bb8dbd22",
"uploaded_blob_id": "157a10c3-60df-4a93-ae0a-e08ddeab4671",
"filename": "31e5b910-daca-4409-b26b-274941c4bbed.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 1143,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:09:42.3592423+00:00",
"end_time": "2026-12-05T12:09:43.1528527+00:00",
"elapsed_milliseconds": 793.6,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "a52643db-48ef-4c89-abcc-73b3bb8dbd22",
"uploaded_blob_id": "ae9f8d23-2485-452b-96c6-6e36667eee2e",
"filename": "1bd7b7b1-f9c7-4ddb-9d76-25865157a21a.csv",
"source_path": "transformed.csv",
"source_format": "csv",
"size_bytes": 32911,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:09:43.2101015+00:00",
"end_time": "2026-12-05T12:09:44.0930714+00:00",
"elapsed_milliseconds": 882.96,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "a52643db-48ef-4c89-abcc-73b3bb8dbd22",
"uploaded_blob_id": "fa452ae1-bdee-4325-ae61-7e194ec016d4",
"filename": "2b13713b-ed68-4dd2-b401-1495b1a1fa55.csv",
"source_path": "partitions.csv",
"source_format": "csv",
"size_bytes": 2406,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:09:44.127127+00:00",
"end_time": "2026-12-05T12:09:44.929423+00:00",
"elapsed_milliseconds": 802.29,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "a52643db-48ef-4c89-abcc-73b3bb8dbd22",
"uploaded_blob_id": "d23045c6-eb11-43c2-b6f9-1d6e9c31a538",
"filename": "ba239b11-2fe0-422a-a45a-c65d036dc428.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 2897,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:09:44.9733406+00:00",
"end_time": "2026-12-05T12:09:46.1231999+00:00",
"elapsed_milliseconds": 1149.84,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "a52643db-48ef-4c89-abcc-73b3bb8dbd22",
"uploaded_blob_id": "0fbddf5c-f9e9-4b60-afd3-7f9049f8cd16",
"filename": "6fe00a48-dc55-4075-921c-c0af0dbca644.png",
"source_path": "graphs/dimensions.png",
"source_format": "png",
"size_bytes": 21603,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:09:46.1675908+00:00",
"end_time": "2026-12-05T12:09:46.9418207+00:00",
"elapsed_milliseconds": 774.22,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "a52643db-48ef-4c89-abcc-73b3bb8dbd22",
"uploaded_blob_id": "b722d4f6-ae77-4462-be98-c9bfbd1045f0",
"filename": "12ea618a-3cd7-4d2d-9898-edbd3b7d9883.png",
"source_path": "graphs/distribution.png",
"source_format": "png",
"size_bytes": 27885,
"upload_status_code": 200
}
]

6. Preprocessing / StandardScaler with Test​

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

Send
{
"start_time": "2026-12-05T12:09:46.9766322+00:00",
"end_time": "2026-12-05T12:09:47.1905205+00:00",
"elapsed_milliseconds": 213.89,
"status": "published",
"job_id": "aa78f498-6d07-46a1-8858-4b9fa1ede069",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "aa78f498-6d07-46a1-8858-4b9fa1ede069",
"json": {
"job_id": "aa78f498-6d07-46a1-8858-4b9fa1ede069",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "05d645f8-4ac1-4b92-b636-7ffa239d1de1",
"input_encryption_key": "[redacted]",
"preprocessor_type": "StandardScaler",
"preprocessor_params": {},
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"file_format": "csv"
},
"request_timeout_seconds": 300,
"output": {
"name": "pipeline-8c9c69ba0be34550852f6f8d6abe0acb-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-05T12:09:47.2796278+00:00",
"end_time": "2026-12-05T12:09:47.4307854+00:00",
"elapsed_milliseconds": 151.16,
"job_id": "aa78f498-6d07-46a1-8858-4b9fa1ede069",
"status": "processing",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T12:10:17.5516707+00:00",
"end_time": "2026-12-05T12:10:17.7024861+00:00",
"elapsed_milliseconds": 150.81,
"job_id": "aa78f498-6d07-46a1-8858-4b9fa1ede069",
"status": "processing",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T12:10:47.8365131+00:00",
"end_time": "2026-12-05T12:10:49.1005627+00:00",
"elapsed_milliseconds": 1264.03,
"job_id": "aa78f498-6d07-46a1-8858-4b9fa1ede069",
"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-05T12:10:14.9835648+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-05T12:10:25.6611236+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "aa78f498-6d07-46a1-8858-4b9fa1ede069",
"elapsed_seconds": 0
}
}
]
Result
{
"jobId": "aa78f498-6d07-46a1-8858-4b9fa1ede069",
"execution": {
"executionName": "spmrgmlcae1caj2-2dphk",
"jobName": "spmrgmlcae1caj2",
"container": {
"hostname": "worker-0487",
"replicaName": "worker-0487",
"processId": 1
}
},
"preprocessor_type": "StandardScaler",
"operation_kind": "transformer",
"stats": {
"row_count": 48,
"column_count": 11,
"feature_count": 8,
"training_row_count": 48,
"test_row_count": 0,
"output_feature_count": 8,
"output_column_count": 11,
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"output_feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"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": 8,
"n_samples_seen": 48,
"mean": [
-0.6864095658333333,
0.8920363972916666,
0.17449638041666668,
0.13666638145833332,
1.082830185,
-1.166330399375,
0.19120672125000002,
0.682905400625
],
"var": [
4.280896771079896,
2.6478076298188427,
3.4384970518555726,
0.9873373815246799,
3.2145214259691985,
3.2387417459615087,
0.751669688316948,
3.82884158712949
],
"scale": [
2.0690328105373044,
1.6272085391303852,
1.8543184871686882,
0.9936485201139686,
1.7929086496442586,
1.7996504510491778,
0.8669888628563507,
1.9567425960328788
]
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-12-05T12:10:25.043012+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-05T12:10:51.2471646+00:00",
"end_time": "2026-12-05T12:10:52.0559125+00:00",
"elapsed_milliseconds": 808.74,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "72d42378-ba9a-494a-b84a-1d6e9e56316d",
"uploaded_blob_id": "53362c70-3017-49fe-bfec-c274f535f655",
"filename": "896de964-96c1-42ad-8472-dbafbb119c2f.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 1150,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:10:52.1085477+00:00",
"end_time": "2026-12-05T12:10:52.9280996+00:00",
"elapsed_milliseconds": 819.54,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "72d42378-ba9a-494a-b84a-1d6e9e56316d",
"uploaded_blob_id": "ceda594c-fbb7-4ea9-b896-4cb25bca3ba4",
"filename": "ed30e08d-a1a7-47ff-aa57-e12b9e92a093.csv",
"source_path": "transformed.csv",
"source_format": "csv",
"size_bytes": 8301,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:10:52.9601421+00:00",
"end_time": "2026-12-05T12:10:53.7882369+00:00",
"elapsed_milliseconds": 828.08,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "72d42378-ba9a-494a-b84a-1d6e9e56316d",
"uploaded_blob_id": "2ab04f0e-639b-4468-a3ed-6a14dffc3254",
"filename": "3554eab4-f620-4175-ac7b-91b87cb1de25.csv",
"source_path": "partitions.csv",
"source_format": "csv",
"size_bytes": 586,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:10:53.8492901+00:00",
"end_time": "2026-12-05T12:10:54.6468405+00:00",
"elapsed_milliseconds": 797.54,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "72d42378-ba9a-494a-b84a-1d6e9e56316d",
"uploaded_blob_id": "7d3631da-8d48-4840-a132-1dcd197744a9",
"filename": "ea3dd303-36a2-4613-9f0c-3e19a230c169.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 2880,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:10:54.685173+00:00",
"end_time": "2026-12-05T12:10:55.4678151+00:00",
"elapsed_milliseconds": 782.63,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "72d42378-ba9a-494a-b84a-1d6e9e56316d",
"uploaded_blob_id": "480abe81-1602-4202-a8af-98eda8bc8ce9",
"filename": "46d8107f-1607-49be-9ff0-53c577ca079e.png",
"source_path": "graphs/dimensions.png",
"source_format": "png",
"size_bytes": 21603,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:10:55.5013196+00:00",
"end_time": "2026-12-05T12:10:56.5792806+00:00",
"elapsed_milliseconds": 1077.95,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "72d42378-ba9a-494a-b84a-1d6e9e56316d",
"uploaded_blob_id": "79cf5d0c-a6ca-4f98-8983-c2a0191342c7",
"filename": "a91060a7-ebc2-4d81-ae66-b8b90baae7ba.png",
"source_path": "graphs/distribution.png",
"source_format": "png",
"size_bytes": 23963,
"upload_status_code": 200
}
]

7. Neighbors / KNeighborsClassifier with Both​

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

Send
{
"start_time": "2026-12-05T12:10:56.6199466+00:00",
"end_time": "2026-12-05T12:10:56.7338439+00:00",
"elapsed_milliseconds": 113.9,
"status": "published",
"job_id": "64bccf7f-3ec6-4add-9a67-8a35151dd1d2",
"topic": "pm.topic.ml.neighbors",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "64bccf7f-3ec6-4add-9a67-8a35151dd1d2",
"json": {
"job_id": "64bccf7f-3ec6-4add-9a67-8a35151dd1d2",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"train_blob_id": "ae9f8d23-2485-452b-96c6-6e36667eee2e",
"train_encryption_key": "[redacted]",
"test_blob_id": "ceda594c-fbb7-4ea9-b896-4cb25bca3ba4",
"test_encryption_key": "[redacted]",
"classifier_type": "KNeighborsClassifier",
"classifier_params": {
"n_neighbors": 5,
"weights": "distance"
},
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"file_format": "csv"
},
"request_timeout_seconds": 300,
"output": {
"name": "pipeline-8c9c69ba0be34550852f6f8d6abe0acb-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 (3 responses)
[
{
"start_time": "2026-12-05T12:10:56.7763769+00:00",
"end_time": "2026-12-05T12:10:57.4300312+00:00",
"elapsed_milliseconds": 653.65,
"job_id": "64bccf7f-3ec6-4add-9a67-8a35151dd1d2",
"status": "processing",
"topic": "pm.topic.ml.neighbors",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T12:11:27.5528164+00:00",
"end_time": "2026-12-05T12:11:27.630905+00:00",
"elapsed_milliseconds": 78.09,
"job_id": "64bccf7f-3ec6-4add-9a67-8a35151dd1d2",
"status": "processing",
"topic": "pm.topic.ml.neighbors",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T12:11:57.7748627+00:00",
"end_time": "2026-12-05T12:11:58.7012802+00:00",
"elapsed_milliseconds": 926.4,
"job_id": "64bccf7f-3ec6-4add-9a67-8a35151dd1d2",
"status": "completed",
"topic": "pm.topic.ml.neighbors",
"subscription": "cpu.0p5c.1gi"
}
]
Logs with 53 entries (preview)

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

[
{
"timestamp": "2026-12-05T12:11:31.34725+00:00",
"log": "{\"status\":\"stage_started\",\"stage\":\"checking delivery count\",\"jobId\":null}"
},
{
"timestamp": "2026-12-05T12:11:32.7323217+00:00",
"log": "ges\":{\"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\":\"classifier-output.zip\",\"artifact_files\":[\"model/model.joblib\",\"predictions/predictions.csv\",\"graphs/performance.png\",\"graphs/performance.svg\",\"graphs/confusion_matrix.png\",\"graphs/confusion_matrix.svg\",\"graphs/prediction_distribution.png\",\"graphs/prediction_distribution.svg\",\"result.json\"],\"classifier_type\":\"KNeighborsClassifier\"},\"elapsed_seconds\":1.368,\"upload_status_code\":200,\"upload_response\":{\"id\":\"13fe2d9c-1049-45b1-8cf0-8126a450d5bd\",\"model_id\":\"3b43bdba-aae1-462a-adb6-7e4f5516b5d2\",\"application_id\":\"spmrgmlcae1caj6\",\"name\":\"pipeline-8c9c69ba0be34550852f6f8d6abe0acb-05-Neighbors-Both.zip\",\"description\":\"\",\"blob_name\":\"3b43bdbaaae1462aadb67e4f5516b5d2/40550bcebce74ca78be20b1439e20c56.zip\",\"container_name\":\"models\",\"storage_account_name\":\"storage-0002\",\"blob_version_id\":\"2026-12-05T12:11:32.6424045Z\",\"file_size_bytes\":108734,\"record_status\":\"Available\",\"record_type\":\"Generic\",\"extension_type\":\"Unknown\",\"access_tier\":\"Hot\",\"is_encrypted\":true,\"encryption_algorithm_name\":\"CustomerProvidedAes256\",\"created_by\":\"spmrgmlcae1caj6\",\"created_at\":\"2026-12-05T12:11:32.6622279+00:00\",\"modified_by\":\"spmrgmlcae1caj6\",\"modified_at\":\"2026-12-05T12:11:32.6622279+00:00\",\"is_deleted\":false,\"deleted_by\":\"\",\"deleted_at\":null,\"last_access_by\":\"spmrgmlcae1caj6\",\"last_access_at\":\"2026-12-05T12:11:32.6622279+00:00\",\"tags\":[\"pipeline\",\"neighbors\"]}}"
}
]
Result
{
"schema_version": "2.0",
"job_id": "64bccf7f-3ec6-4add-9a67-8a35151dd1d2",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"status": "succeeded",
"worker": {
"name": "neighbors",
"task_family": "classification",
"algorithm": "KNeighborsClassifier"
},
"input": {
"mode": "prepared_train_test",
"partitions": {
"train": {
"blob_id": "ae9f8d23-2485-452b-96c6-6e36667eee2e",
"row_count": 192
},
"test": {
"blob_id": "ceda594c-fbb7-4ea9-b896-4cb25bca3ba4",
"row_count": 48
}
},
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"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": 48,
"accuracy": 0.875,
"f1_weighted": 0.8747826086956522,
"classes": [
0,
1
],
"confusion_matrix": [
[
20,
4
],
[
2,
22
]
]
}
},
"artifact_files": [
"model/model.joblib",
"predictions/predictions.csv",
"graphs/performance.png",
"graphs/performance.svg",
"graphs/confusion_matrix.png",
"graphs/confusion_matrix.svg",
"graphs/prediction_distribution.png",
"graphs/prediction_distribution.svg",
"result.json"
],
"extras": {
"algorithm": {
"learned": {
"n_features_in": 8,
"n_samples_fit": 192,
"effective_metric": "euclidean",
"effective_metric_params": {},
"classes": [
0,
1
],
"centroids": null,
"class_prior": null,
"components": null,
"n_iter": null,
"bandwidth": null,
"n_neighbors": null,
"offset": null
},
"warnings": [],
"data": {
"row_count": 240,
"column_count": 11,
"feature_count": 8,
"file_format": "csv",
"prediction_scope": "all_input_rows",
"training_row_indices": null
},
"runtime": {
"captured_at_utc": "2026-12-05T12:11:31.893107+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-tjdrw",
"jobName": "spmrgmlcae1caj6",
"container": {
"hostname": "worker-0488",
"replicaName": "worker-0488",
"processId": 1
}
}
},
"build": {
"built_at_utc": null,
"source": "unavailable",
"image_tag": null
}
}
}
Extract (9 responses)
[
{
"start_time": "2026-12-05T12:12:25.4259395+00:00",
"end_time": "2026-12-05T12:12:26.1876654+00:00",
"elapsed_milliseconds": 761.72,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "13fe2d9c-1049-45b1-8cf0-8126a450d5bd",
"uploaded_blob_id": "d55af56b-a302-48b8-bdd4-7c2e389e31c3",
"filename": "97f7b0c6-5401-438c-8746-2b715520d435.joblib",
"source_path": "model/model.joblib",
"source_format": "joblib",
"size_bytes": 14761,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:12:26.2335928+00:00",
"end_time": "2026-12-05T12:12:27.0141601+00:00",
"elapsed_milliseconds": 780.56,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "13fe2d9c-1049-45b1-8cf0-8126a450d5bd",
"uploaded_blob_id": "5584e089-3f05-4c0c-9ade-64eefa5a027d",
"filename": "2041227c-e751-4b2e-9460-e5df48899ada.csv",
"source_path": "predictions/predictions.csv",
"source_format": "csv",
"size_bytes": 7105,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:12:27.077334+00:00",
"end_time": "2026-12-05T12:12:28.6555821+00:00",
"elapsed_milliseconds": 1578.23,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "13fe2d9c-1049-45b1-8cf0-8126a450d5bd",
"uploaded_blob_id": "982f6073-90de-4cbf-b6e9-c0fe1aa68cf0",
"filename": "bfc335b4-a857-4971-a136-5515e41006c2.png",
"source_path": "graphs/performance.png",
"source_format": "png",
"size_bytes": 32132,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:12:28.6947352+00:00",
"end_time": "2026-12-05T12:12:30.4212706+00:00",
"elapsed_milliseconds": 1726.51,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "13fe2d9c-1049-45b1-8cf0-8126a450d5bd",
"uploaded_blob_id": "b6e47046-4f62-4789-a668-8c738090f6e2",
"filename": "df234080-8e8d-4d9d-b3fd-2db139c0eaf3.svg",
"source_path": "graphs/performance.svg",
"source_format": "svg",
"size_bytes": 27639,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:12:30.4659481+00:00",
"end_time": "2026-12-05T12:12:31.2066786+00:00",
"elapsed_milliseconds": 740.72,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "13fe2d9c-1049-45b1-8cf0-8126a450d5bd",
"uploaded_blob_id": "f34afa1f-1d98-4ff9-8178-b30a727f94ea",
"filename": "3b1de5e6-eba3-46d3-ad2c-3014033a50c1.png",
"source_path": "graphs/confusion_matrix.png",
"source_format": "png",
"size_bytes": 35894,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:12:31.2576088+00:00",
"end_time": "2026-12-05T12:12:32.0585033+00:00",
"elapsed_milliseconds": 800.88,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "13fe2d9c-1049-45b1-8cf0-8126a450d5bd",
"uploaded_blob_id": "ca5546b2-ee14-44d0-9440-7016b91cfe21",
"filename": "3d4fc5f0-c683-469b-bd36-0c025ebd1d54.svg",
"source_path": "graphs/confusion_matrix.svg",
"source_format": "svg",
"size_bytes": 35452,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:12:32.1005741+00:00",
"end_time": "2026-12-05T12:12:33.1949694+00:00",
"elapsed_milliseconds": 1094.38,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "13fe2d9c-1049-45b1-8cf0-8126a450d5bd",
"uploaded_blob_id": "504a01c6-3b09-4330-9a6b-783879db12c5",
"filename": "ee6101f3-f9c4-4c00-b13e-e29d19775f41.png",
"source_path": "graphs/prediction_distribution.png",
"source_format": "png",
"size_bytes": 26777,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:12:33.2291073+00:00",
"end_time": "2026-12-05T12:12:33.9719906+00:00",
"elapsed_milliseconds": 742.87,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "13fe2d9c-1049-45b1-8cf0-8126a450d5bd",
"uploaded_blob_id": "3189fb20-f9c8-4956-9960-cc11e8e2bd01",
"filename": "eaf3be3d-9dc6-4262-ae2b-41885d34e502.svg",
"source_path": "graphs/prediction_distribution.svg",
"source_format": "svg",
"size_bytes": 22329,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T12:12:34.0094401+00:00",
"end_time": "2026-12-05T12:12:36.3719054+00:00",
"elapsed_milliseconds": 2362.44,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "13fe2d9c-1049-45b1-8cf0-8126a450d5bd",
"uploaded_blob_id": "e27b2fe8-ae41-4597-bacd-544eab730905",
"filename": "b3334a3f-a903-4e1b-911c-8d7965353532.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 3531,
"upload_status_code": 200
}
]

8. Predict / Auto with Both​

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

Predict
{
"status": "success",
"request_id": "913c574d-480c-4918-8cd9-661c0be47a52",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"model_blob_id": "d55af56b-a302-48b8-bdd4-7c2e389e31c3",
"model_type": "sklearn.neighbors._classification.KNeighborsClassifier",
"requested_inference_type": "Auto",
"resolved_inference_type": "Predict",
"predictions": [
{
"row_index": 0,
"values": {
"prediction_0": 1
}
}
],
"stats": {
"row_count": 1,
"feature_count": 8,
"output_count": 1,
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"output_columns": [
"prediction_0"
],
"input_layout": "numpy",
"output_summary": {
"prediction_0": {
"min": 1,
"max": 1,
"mean": 1
}
}
},
"training_metrics": {},
"evaluation_metrics": {},
"learned": {
"classes": [
0,
1
]
},
"warnings": [],
"elapsed_seconds": 0.121353
}

Final pipeline status​

Pipeline status: Succeeded; EvaluationReady: false

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