Skip to main content

NeighborhoodComponentsAnalysis 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.NeighborhoodComponentsAnalysis
Algorithm familyNearest Neighbors
DatasetPipelineClassification
AcquisitionUploaded CSV
Pipeline modeDiagnosticTraining
Pipeline statusSucceeded
Evaluation readyfalse
PredictionRecorded (success)
Response events79
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 NeighborhoodComponentsAnalysisJobSendRequestModel
} 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.NeighborhoodComponentsAnalysis.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.NeighborhoodComponentsAnalysis', 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): NeighborhoodComponentsAnalysisJobSendRequestModel => ({
input: {
train_blob_id: partitions.train.blobId,
test_blob_id: partitions.test.blobId,
classifier_type: "NeighborhoodComponentsAnalysis",
classifier_params: {
n_components: Math.min(2, partitions.train.featureColumns.length),
max_iter: 50,
random_state: 42
},
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("Transform", [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/NeighborhoodComponentsAnalysisBoth13
Predict/TransformBoth1

1. Dataset / Upload with Dataset​

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

Upload
{
"statusCode": 200,
"data": {
"id": "15942838-41a6-415d-9b8f-466fe1ab75f2",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"application_id": "2d62b1579c84446da6c07e864e66eb6a",
"name": "pipeline.classification.csv",
"description": "",
"blob_name": "3b43bdbaaae1462aadb67e4f5516b5d2/d43f7854471646878c4f95136afae275.csv",
"container_name": "models",
"storage_account_name": "storage-0002",
"blob_version_id": "2026-12-05T10:39:39.7924926Z",
"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-05T10:39:39.8071779+00:00",
"modified_by": "2d62b1579c84446da6c07e864e66eb6a",
"modified_at": "2026-12-05T10:39:39.8071779+00:00",
"is_deleted": false,
"deleted_by": "",
"deleted_at": null,
"last_access_by": "2d62b1579c84446da6c07e864e66eb6a",
"last_access_at": "2026-12-05T10:39:39.8071779+00:00",
"tags": [
"datasets",
"pipeline"
]
},
"text": "{\"id\":\"15942838-41a6-415d-9b8f-466fe1ab75f2\",\"model_id\":\"3b43bdba-aae1-462a-adb6-7e4f5516b5d2\",\"application_id\":\"2d62b1579c84446da6c07e864e66eb6a\",\"name\":\"pipeline.classification.csv\",\"description\":\"\",\"blob_name\":\"3b43bdbaaae1462aadb67e4f5516b5d2/d43f7854471646878c4f95136afae275.csv\",\"container_name\":\"models\",\"storage_account_name\":\"storage-0002\",\"blob_version_id\":\"2026-12-05T10:39:39.7924926Z\",\"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-05T10:39:39.8071779+00:00\",\"modified_by\":\"2d62b1579c84446da6c07e864e66eb6a\",\"modified_at\":\"2026-12-05T10:39:39.8071779+00:00\",\"is_deleted\":false,\"deleted_by\":\"\",\"deleted_at\":null,\"last_access_by\":\"2d62b1579c84446da6c07e864e66eb6a\",\"last_access_at\":\"2026-12-05T10:39:39.8071779+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 10:39:39 GMT",
"set-cookie": "[redacted]",
"transfer-encoding": "chunked",
"vary": "Accept-Encoding",
"x-powered-by": "ASP.NET"
},
"ok": true
}
Download
{
"blobId": "15942838-41a6-415d-9b8f-466fe1ab75f2",
"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-05T10:39:51.5179337+00:00",
"end_time": "2026-12-05T10:39:51.5642435+00:00",
"elapsed_milliseconds": 46.31,
"status": "published",
"job_id": "40422f8d-9a31-435e-8777-c35a4815f81e",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "40422f8d-9a31-435e-8777-c35a4815f81e",
"json": {
"job_id": "40422f8d-9a31-435e-8777-c35a4815f81e",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "15942838-41a6-415d-9b8f-466fe1ab75f2",
"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-58969287d5394b74b01d4c521ff2342f-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-05T10:39:51.615872+00:00",
"end_time": "2026-12-05T10:39:51.8279461+00:00",
"elapsed_milliseconds": 212.07,
"job_id": "40422f8d-9a31-435e-8777-c35a4815f81e",
"status": "processing",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T10:40:21.9481691+00:00",
"end_time": "2026-12-05T10:40:21.9962209+00:00",
"elapsed_milliseconds": 48.05,
"job_id": "40422f8d-9a31-435e-8777-c35a4815f81e",
"status": "processing",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T10:40:52.1382737+00:00",
"end_time": "2026-12-05T10:40:52.6738575+00:00",
"elapsed_milliseconds": 535.58,
"job_id": "40422f8d-9a31-435e-8777-c35a4815f81e",
"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-05T10:40:27.0773238+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-05T10:40:27.7566552+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "40422f8d-9a31-435e-8777-c35a4815f81e",
"elapsed_seconds": 0
}
}
]
Result
{
"jobId": "40422f8d-9a31-435e-8777-c35a4815f81e",
"execution": {
"executionName": "spmrgmlcae3caj4-b9crw",
"jobName": "spmrgmlcae3caj4",
"container": {
"hostname": "worker-0507",
"replicaName": "worker-0507",
"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-05T10:40:27.625329+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-05T10:41:13.5683386+00:00",
"end_time": "2026-12-05T10:41:14.3732591+00:00",
"elapsed_milliseconds": 804.91,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "670ffd64-e07a-4ddc-913c-f126bdb59473",
"uploaded_blob_id": "8c6124d3-fbe1-4a9c-abc0-f43f5e561f84",
"filename": "53269be4-44aa-434d-9bb6-ca4a8068b382.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 1116,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:41:14.4144828+00:00",
"end_time": "2026-12-05T10:41:15.217669+00:00",
"elapsed_milliseconds": 803.18,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "670ffd64-e07a-4ddc-913c-f126bdb59473",
"uploaded_blob_id": "b5b94671-f403-49c4-bacd-270cca1faecc",
"filename": "c4d1e93e-b7f3-429c-85c3-db270893a66b.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 1889,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:41:15.25585+00:00",
"end_time": "2026-12-05T10:41:16.5246528+00:00",
"elapsed_milliseconds": 1268.79,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "670ffd64-e07a-4ddc-913c-f126bdb59473",
"uploaded_blob_id": "e24ee79a-bd6c-4afa-ad9d-1c802968f79c",
"filename": "2eef2d2b-c766-44ef-9355-1b687ef07fcc.csv",
"source_path": "train.csv",
"source_format": "csv",
"size_bytes": 17904,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:41:16.5700784+00:00",
"end_time": "2026-12-05T10:41:17.3801747+00:00",
"elapsed_milliseconds": 810.09,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "670ffd64-e07a-4ddc-913c-f126bdb59473",
"uploaded_blob_id": "29afa87c-cae6-4424-9067-e71c8a2b11db",
"filename": "20fce661-bed2-4734-9287-6f1f73bd08b9.csv",
"source_path": "test.csv",
"source_format": "csv",
"size_bytes": 4512,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:41:17.4486186+00:00",
"end_time": "2026-12-05T10:41:18.2728054+00:00",
"elapsed_milliseconds": 824.18,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "670ffd64-e07a-4ddc-913c-f126bdb59473",
"uploaded_blob_id": "f92d5a4c-9beb-48e9-80af-e4121a28359b",
"filename": "940c68bb-26a7-47db-8c2d-ca10740cafc3.csv",
"source_path": "train_indices.csv",
"source_format": "csv",
"size_bytes": 690,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:41:18.3203281+00:00",
"end_time": "2026-12-05T10:41:19.2268842+00:00",
"elapsed_milliseconds": 906.54,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "670ffd64-e07a-4ddc-913c-f126bdb59473",
"uploaded_blob_id": "8a16a8f2-46a9-49d1-a5af-6f1461e6bdb8",
"filename": "4585d560-1903-49a3-910d-a3698f5a8e66.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-05T10:41:19.2781025+00:00",
"end_time": "2026-12-05T10:41:19.3360169+00:00",
"elapsed_milliseconds": 57.91,
"status": "published",
"job_id": "42baa313-3b0c-4a98-b06f-e6d25337ba65",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "42baa313-3b0c-4a98-b06f-e6d25337ba65",
"json": {
"job_id": "42baa313-3b0c-4a98-b06f-e6d25337ba65",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "e24ee79a-bd6c-4afa-ad9d-1c802968f79c",
"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-58969287d5394b74b01d4c521ff2342f-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-05T10:41:19.373152+00:00",
"end_time": "2026-12-05T10:41:19.478751+00:00",
"elapsed_milliseconds": 105.6,
"job_id": "42baa313-3b0c-4a98-b06f-e6d25337ba65",
"status": "processing",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T10:41:49.6009171+00:00",
"end_time": "2026-12-05T10:41:49.6820274+00:00",
"elapsed_milliseconds": 81.11,
"job_id": "42baa313-3b0c-4a98-b06f-e6d25337ba65",
"status": "processing",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T10:42:19.8684634+00:00",
"end_time": "2026-12-05T10:42:20.3380165+00:00",
"elapsed_milliseconds": 469.55,
"job_id": "42baa313-3b0c-4a98-b06f-e6d25337ba65",
"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-05T10:41:58.0423386+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-05T10:41:58.5837631+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "42baa313-3b0c-4a98-b06f-e6d25337ba65",
"elapsed_seconds": 0
}
}
]
Result
{
"job_id": "42baa313-3b0c-4a98-b06f-e6d25337ba65",
"execution": {
"execution_name": "spmrgmlcae2caj6-9sn2d",
"job_name": "spmrgmlcae2caj6",
"container": {
"hostname": "worker-0508",
"replica_name": "worker-0508",
"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-05T10:41:58.448928+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-05T10:42:23.4215864+00:00",
"end_time": "2026-12-05T10:42:24.2036708+00:00",
"elapsed_milliseconds": 782.07,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "dec9c7c1-c6cb-41ee-8164-466053ddd723",
"uploaded_blob_id": "1c5d7282-0c3f-438c-8814-5cbe433b515e",
"filename": "d54e7cb1-31f4-4316-9673-92a57372a47c.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 884,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:42:24.25+00:00",
"end_time": "2026-12-05T10:42:25.2869444+00:00",
"elapsed_milliseconds": 1036.93,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "dec9c7c1-c6cb-41ee-8164-466053ddd723",
"uploaded_blob_id": "455c215a-4dba-45d6-8abc-6946e4fb0a57",
"filename": "ec5c0f73-4f13-47db-980b-b2d98201c0ea.csv",
"source_path": "predictions.csv",
"source_format": "csv",
"size_bytes": 20464,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:42:25.3211905+00:00",
"end_time": "2026-12-05T10:42:26.0760187+00:00",
"elapsed_milliseconds": 754.82,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "dec9c7c1-c6cb-41ee-8164-466053ddd723",
"uploaded_blob_id": "35b8388f-4d34-48a0-9e6c-19c674e59e90",
"filename": "a2f3350a-353e-4a9c-8ba1-a9f82b75cde9.csv",
"source_path": "imputed.csv",
"source_format": "csv",
"size_bytes": 20464,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:42:26.116747+00:00",
"end_time": "2026-12-05T10:42:27.2859873+00:00",
"elapsed_milliseconds": 1169.22,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "dec9c7c1-c6cb-41ee-8164-466053ddd723",
"uploaded_blob_id": "a3c06889-949c-4006-a7dd-ab09b4eb1047",
"filename": "98a1e828-55dc-46fe-b5f1-1a43702c4808.csv",
"source_path": "missingness.csv",
"source_format": "csv",
"size_bytes": 4077,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:42:27.3203062+00:00",
"end_time": "2026-12-05T10:42:35.0089106+00:00",
"elapsed_milliseconds": 7688.51,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "dec9c7c1-c6cb-41ee-8164-466053ddd723",
"uploaded_blob_id": "17683720-05e7-42c7-ad6d-579e20d4f3dc",
"filename": "a3f3dc41-f4c1-40b5-b5e2-eee5a86729fb.csv",
"source_path": "feature_names.csv",
"source_format": "csv",
"size_bytes": 345,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:42:35.0765759+00:00",
"end_time": "2026-12-05T10:42:35.8212773+00:00",
"elapsed_milliseconds": 744.69,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "dec9c7c1-c6cb-41ee-8164-466053ddd723",
"uploaded_blob_id": "e8c2395b-ce4b-44a2-a9e9-cf8b0053f7be",
"filename": "f80e09b7-779b-426b-9335-e81e4ce673e5.csv",
"source_path": "row_partitions.csv",
"source_format": "csv",
"size_bytes": 2560,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:42:35.8636102+00:00",
"end_time": "2026-12-05T10:42:36.6304012+00:00",
"elapsed_milliseconds": 766.78,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "dec9c7c1-c6cb-41ee-8164-466053ddd723",
"uploaded_blob_id": "5c8ec690-5fc8-46dd-b651-20dca814d7b9",
"filename": "cbadf272-8135-45c6-8e1d-694ec8f70f2a.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-05T10:42:36.6937749+00:00",
"end_time": "2026-12-05T10:42:36.7433404+00:00",
"elapsed_milliseconds": 49.56,
"status": "published",
"job_id": "1eb2562c-043f-4734-bc2c-2ac61a216748",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "1eb2562c-043f-4734-bc2c-2ac61a216748",
"json": {
"job_id": "1eb2562c-043f-4734-bc2c-2ac61a216748",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "29afa87c-cae6-4424-9067-e71c8a2b11db",
"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-58969287d5394b74b01d4c521ff2342f-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-05T10:42:36.7980293+00:00",
"end_time": "2026-12-05T10:42:36.9732957+00:00",
"elapsed_milliseconds": 175.26,
"job_id": "1eb2562c-043f-4734-bc2c-2ac61a216748",
"status": "processing",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T10:43:07.0807521+00:00",
"end_time": "2026-12-05T10:43:07.2959123+00:00",
"elapsed_milliseconds": 215.16,
"job_id": "1eb2562c-043f-4734-bc2c-2ac61a216748",
"status": "processing",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T10:43:37.4957298+00:00",
"end_time": "2026-12-05T10:43:38.326473+00:00",
"elapsed_milliseconds": 830.73,
"job_id": "1eb2562c-043f-4734-bc2c-2ac61a216748",
"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-05T10:43:21.4307776+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-05T10:43:21.9551787+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "1eb2562c-043f-4734-bc2c-2ac61a216748",
"elapsed_seconds": 0
}
}
]
Result
{
"job_id": "1eb2562c-043f-4734-bc2c-2ac61a216748",
"execution": {
"execution_name": "spmrgmlcae2caj6-4sjvg",
"job_name": "spmrgmlcae2caj6",
"container": {
"hostname": "worker-0509",
"replica_name": "worker-0509",
"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-05T10:43:21.810068+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-05T10:44:16.059566+00:00",
"end_time": "2026-12-05T10:44:16.861307+00:00",
"elapsed_milliseconds": 801.73,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "3fede0fa-5529-405e-922f-38037c4e3171",
"uploaded_blob_id": "5f7417fc-fb2b-4a31-ba18-42ee265417e2",
"filename": "8fa8b9b4-c35d-447e-823a-b4a19ccb21c6.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 879,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:44:16.9142385+00:00",
"end_time": "2026-12-05T10:44:18.3487501+00:00",
"elapsed_milliseconds": 1434.49,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "3fede0fa-5529-405e-922f-38037c4e3171",
"uploaded_blob_id": "cc42417f-e9dc-419f-93b4-8e8af27d9faa",
"filename": "c2b247ab-d261-4cf0-90aa-a620ad683c40.csv",
"source_path": "predictions.csv",
"source_format": "csv",
"size_bytes": 5137,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:44:18.4006984+00:00",
"end_time": "2026-12-05T10:44:19.1660722+00:00",
"elapsed_milliseconds": 765.36,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "3fede0fa-5529-405e-922f-38037c4e3171",
"uploaded_blob_id": "f08fc96e-86d1-4764-a43e-c0301914ce3a",
"filename": "1e4a9091-b9c4-404f-9f51-f1d334ef42c5.csv",
"source_path": "imputed.csv",
"source_format": "csv",
"size_bytes": 5137,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:44:19.2097191+00:00",
"end_time": "2026-12-05T10:44:20.0217778+00:00",
"elapsed_milliseconds": 812.05,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "3fede0fa-5529-405e-922f-38037c4e3171",
"uploaded_blob_id": "2fcdf428-ad93-4218-b3a5-304732ed1970",
"filename": "9813168d-9c8c-4f1f-bb6e-0a2ca7646b23.csv",
"source_path": "missingness.csv",
"source_format": "csv",
"size_bytes": 1105,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:44:20.0593536+00:00",
"end_time": "2026-12-05T10:44:21.4018135+00:00",
"elapsed_milliseconds": 1342.44,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "3fede0fa-5529-405e-922f-38037c4e3171",
"uploaded_blob_id": "9383d6ff-e2e7-4c67-b401-2eaeb3850c00",
"filename": "a61c8bdf-7aeb-49d3-b3a1-5202acb871e2.csv",
"source_path": "feature_names.csv",
"source_format": "csv",
"size_bytes": 345,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:44:21.4381965+00:00",
"end_time": "2026-12-05T10:44:22.2234685+00:00",
"elapsed_milliseconds": 785.26,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "3fede0fa-5529-405e-922f-38037c4e3171",
"uploaded_blob_id": "81970991-a710-48ea-8458-f48692e7a3fd",
"filename": "caa63ce2-b1c2-4cd8-96df-27041a130382.csv",
"source_path": "row_partitions.csv",
"source_format": "csv",
"size_bytes": 625,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:44:22.2589648+00:00",
"end_time": "2026-12-05T10:44:23.1040466+00:00",
"elapsed_milliseconds": 845.07,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "3fede0fa-5529-405e-922f-38037c4e3171",
"uploaded_blob_id": "2abd951b-20f4-4cc6-972d-2f38453f37fb",
"filename": "7a59cd14-5639-4460-b0fa-7accc79f41e1.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-05T10:44:23.1447399+00:00",
"end_time": "2026-12-05T10:44:23.2280284+00:00",
"elapsed_milliseconds": 83.29,
"status": "published",
"job_id": "c06105a4-4341-4df2-b270-76f40f7a8c16",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "c06105a4-4341-4df2-b270-76f40f7a8c16",
"json": {
"job_id": "c06105a4-4341-4df2-b270-76f40f7a8c16",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "35b8388f-4d34-48a0-9e6c-19c674e59e90",
"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-58969287d5394b74b01d4c521ff2342f-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-05T10:44:23.2718127+00:00",
"end_time": "2026-12-05T10:44:23.3330153+00:00",
"elapsed_milliseconds": 61.2,
"job_id": "c06105a4-4341-4df2-b270-76f40f7a8c16",
"status": "processing",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T10:44:53.4217677+00:00",
"end_time": "2026-12-05T10:44:53.4914035+00:00",
"elapsed_milliseconds": 69.63,
"job_id": "c06105a4-4341-4df2-b270-76f40f7a8c16",
"status": "processing",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T10:45:23.6284555+00:00",
"end_time": "2026-12-05T10:45:25.3457945+00:00",
"elapsed_milliseconds": 1717.32,
"job_id": "c06105a4-4341-4df2-b270-76f40f7a8c16",
"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-05T10:44:53.8182759+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-05T10:44:54.810171+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "c06105a4-4341-4df2-b270-76f40f7a8c16",
"elapsed_seconds": 0
}
}
]
Result
{
"jobId": "c06105a4-4341-4df2-b270-76f40f7a8c16",
"execution": {
"executionName": "spmrgmlcae1caj2-vn7kv",
"jobName": "spmrgmlcae1caj2",
"container": {
"hostname": "worker-0510",
"replicaName": "worker-0510",
"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-05T10:44:54.400394+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-05T10:45:27.1292895+00:00",
"end_time": "2026-12-05T10:45:28.0862389+00:00",
"elapsed_milliseconds": 956.94,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "4c133f18-a515-409a-b5c1-2c92e256ee05",
"uploaded_blob_id": "0293dc58-c98a-494a-9a82-588108a4027e",
"filename": "fa558220-f92d-4af7-b734-bb1888dba07a.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 1147,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:45:28.1330964+00:00",
"end_time": "2026-12-05T10:45:29.180744+00:00",
"elapsed_milliseconds": 1047.63,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "4c133f18-a515-409a-b5c1-2c92e256ee05",
"uploaded_blob_id": "26585ec5-3b88-4b8d-a220-dd6f057e999e",
"filename": "17ce3bcf-768f-4547-9a43-04bdd5a0700b.csv",
"source_path": "transformed.csv",
"source_format": "csv",
"size_bytes": 32911,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:45:29.2213122+00:00",
"end_time": "2026-12-05T10:45:29.9703908+00:00",
"elapsed_milliseconds": 749.07,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "4c133f18-a515-409a-b5c1-2c92e256ee05",
"uploaded_blob_id": "5c7829b8-1967-44d1-a4aa-eb74e4309e9a",
"filename": "b95a01af-3773-4b48-bb22-6cc11c4c7414.csv",
"source_path": "partitions.csv",
"source_format": "csv",
"size_bytes": 2406,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:45:30.0166334+00:00",
"end_time": "2026-12-05T10:45:30.8231898+00:00",
"elapsed_milliseconds": 806.55,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "4c133f18-a515-409a-b5c1-2c92e256ee05",
"uploaded_blob_id": "25c50f32-48cf-4bbb-9924-c148c74b2e34",
"filename": "26b3c6a2-bd54-4fa5-aa5e-d1b31ecc2bb7.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 2897,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:45:30.8599197+00:00",
"end_time": "2026-12-05T10:45:31.6294756+00:00",
"elapsed_milliseconds": 769.55,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "4c133f18-a515-409a-b5c1-2c92e256ee05",
"uploaded_blob_id": "689b3797-3d81-4366-b3b5-f7a82c17b45a",
"filename": "89010aab-aa02-43aa-b55e-c8d05f4cd715.png",
"source_path": "graphs/dimensions.png",
"source_format": "png",
"size_bytes": 21603,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:45:31.6727344+00:00",
"end_time": "2026-12-05T10:45:37.3013333+00:00",
"elapsed_milliseconds": 5628.53,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "4c133f18-a515-409a-b5c1-2c92e256ee05",
"uploaded_blob_id": "ffc1a75a-51b1-4a70-8266-8ae60d942258",
"filename": "d2f65931-b761-4929-84e6-0a03a9793a37.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-05T10:45:37.3497106+00:00",
"end_time": "2026-12-05T10:45:37.4084365+00:00",
"elapsed_milliseconds": 58.72,
"status": "published",
"job_id": "0f3b3b01-4107-4b72-8022-3d368c649204",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "0f3b3b01-4107-4b72-8022-3d368c649204",
"json": {
"job_id": "0f3b3b01-4107-4b72-8022-3d368c649204",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"input_blob_id": "f08fc96e-86d1-4764-a43e-c0301914ce3a",
"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-58969287d5394b74b01d4c521ff2342f-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-05T10:45:37.4449362+00:00",
"end_time": "2026-12-05T10:45:37.5090916+00:00",
"elapsed_milliseconds": 64.15,
"job_id": "0f3b3b01-4107-4b72-8022-3d368c649204",
"status": "processing",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T10:46:07.6129706+00:00",
"end_time": "2026-12-05T10:46:07.6764255+00:00",
"elapsed_milliseconds": 63.45,
"job_id": "0f3b3b01-4107-4b72-8022-3d368c649204",
"status": "processing",
"topic": "pm.topic.ml.preprocessing",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T10:46:37.7875375+00:00",
"end_time": "2026-12-05T10:46:38.2717361+00:00",
"elapsed_milliseconds": 484.19,
"job_id": "0f3b3b01-4107-4b72-8022-3d368c649204",
"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-05T10:46:14.9655404+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-05T10:46:15.7430013+00:00",
"log": {
"status": "stage_completed",
"stage": "completing message",
"jobId": "0f3b3b01-4107-4b72-8022-3d368c649204",
"elapsed_seconds": 0
}
}
]
Result
{
"jobId": "0f3b3b01-4107-4b72-8022-3d368c649204",
"execution": {
"executionName": "spmrgmlcae1caj2-5sfsf",
"jobName": "spmrgmlcae1caj2",
"container": {
"hostname": "worker-0511",
"replicaName": "worker-0511",
"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-05T10:46:15.365285+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-05T10:46:41.2049474+00:00",
"end_time": "2026-12-05T10:46:42.6578248+00:00",
"elapsed_milliseconds": 1452.86,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "1a7a7d70-0914-4486-bb1d-7e6efd444305",
"uploaded_blob_id": "4dba9455-757f-46aa-b9ad-9cb12e9e3cf5",
"filename": "7942d097-0486-4633-a7b5-c85c274be0ed.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 1150,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:46:42.7031361+00:00",
"end_time": "2026-12-05T10:46:44.6896055+00:00",
"elapsed_milliseconds": 1986.44,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "1a7a7d70-0914-4486-bb1d-7e6efd444305",
"uploaded_blob_id": "58de279b-dfeb-4141-ae51-d1025e5b84ba",
"filename": "6f159e99-86e4-4633-b630-124784da7aff.csv",
"source_path": "transformed.csv",
"source_format": "csv",
"size_bytes": 8301,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:46:44.7323833+00:00",
"end_time": "2026-12-05T10:46:45.486025+00:00",
"elapsed_milliseconds": 753.63,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "1a7a7d70-0914-4486-bb1d-7e6efd444305",
"uploaded_blob_id": "7af51c6e-3620-437c-b85b-c2711317fdde",
"filename": "e5326c22-8b40-47cf-960c-26737d910b94.csv",
"source_path": "partitions.csv",
"source_format": "csv",
"size_bytes": 586,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:46:45.5296978+00:00",
"end_time": "2026-12-05T10:46:48.100098+00:00",
"elapsed_milliseconds": 2570.36,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "1a7a7d70-0914-4486-bb1d-7e6efd444305",
"uploaded_blob_id": "89ca288b-f6a5-442c-a77e-b8bc8c9289d4",
"filename": "da28e055-04c8-4c3d-970c-199ef5e5f472.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 2880,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:46:48.147471+00:00",
"end_time": "2026-12-05T10:46:49.0009098+00:00",
"elapsed_milliseconds": 853.43,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "1a7a7d70-0914-4486-bb1d-7e6efd444305",
"uploaded_blob_id": "637e99ff-1ee2-413a-b09f-d27b34cf0715",
"filename": "0ccc31fc-5be6-4ccc-b75e-fe2ab4082674.png",
"source_path": "graphs/dimensions.png",
"source_format": "png",
"size_bytes": 21603,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:46:49.0430528+00:00",
"end_time": "2026-12-05T10:46:49.8821465+00:00",
"elapsed_milliseconds": 839.08,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "1a7a7d70-0914-4486-bb1d-7e6efd444305",
"uploaded_blob_id": "3b6bff23-6648-495e-bc0f-ef8e441d80b5",
"filename": "e24e5d13-1c80-4e06-aa57-b3575d52e108.png",
"source_path": "graphs/distribution.png",
"source_format": "png",
"size_bytes": 23963,
"upload_status_code": 200
}
]

7. Neighbors / NeighborhoodComponentsAnalysis with Both​

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

Send
{
"start_time": "2026-12-05T10:46:49.9361569+00:00",
"end_time": "2026-12-05T10:46:50.0127447+00:00",
"elapsed_milliseconds": 76.59,
"status": "published",
"job_id": "2bafa6a2-fef3-4eac-b4da-2a342ded20b8",
"topic": "pm.topic.ml.neighbors",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "2bafa6a2-fef3-4eac-b4da-2a342ded20b8",
"json": {
"job_id": "2bafa6a2-fef3-4eac-b4da-2a342ded20b8",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"input": {
"train_blob_id": "26585ec5-3b88-4b8d-a220-dd6f057e999e",
"train_encryption_key": "[redacted]",
"test_blob_id": "58de279b-dfeb-4141-ae51-d1025e5b84ba",
"test_encryption_key": "[redacted]",
"classifier_type": "NeighborhoodComponentsAnalysis",
"classifier_params": {
"n_components": 2,
"max_iter": 50,
"random_state": 42
},
"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-58969287d5394b74b01d4c521ff2342f-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-05T10:46:50.0613923+00:00",
"end_time": "2026-12-05T10:46:52.5640591+00:00",
"elapsed_milliseconds": 2502.63,
"job_id": "2bafa6a2-fef3-4eac-b4da-2a342ded20b8",
"status": "processing",
"topic": "pm.topic.ml.neighbors",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T10:47:22.7269455+00:00",
"end_time": "2026-12-05T10:47:22.7910328+00:00",
"elapsed_milliseconds": 64.09,
"job_id": "2bafa6a2-fef3-4eac-b4da-2a342ded20b8",
"status": "processing",
"topic": "pm.topic.ml.neighbors",
"subscription": "cpu.0p5c.1gi"
},
{
"start_time": "2026-12-05T10:47:52.8981455+00:00",
"end_time": "2026-12-05T10:47:53.6838123+00:00",
"elapsed_milliseconds": 785.66,
"job_id": "2bafa6a2-fef3-4eac-b4da-2a342ded20b8",
"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-05T10:47:33.259865+00:00",
"log": "{\"status\":\"stage_started\",\"stage\":\"checking delivery count\",\"jobId\":null}"
},
{
"timestamp": "2026-12-05T10:47:34.896981+00:00",
"log": "892564],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":208,\"prediction\":[8.094480362913776,-0.51541061362482],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":209,\"prediction\":[-20.343940132241208,-24.974270772745996],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":210,\"prediction\":[12.19724324090633,-1.1001789054477222],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":211,\"prediction\":[24.334812345841918,17.666501144270953],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":212,\"prediction\":[10.550876693915146,-8.551735544119255],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":213,\"prediction\":[6.109986368876321,-3.25332580353057],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":214,\"prediction\":[4.433850652984652,19.793569193017913],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":215,\"prediction\":[27.86103769260937,26.207344548489985],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":216,\"prediction\":[5.316383048450655,-19.937668086528927],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":217,\"prediction\":[-1.870535301708806,20.77246144596783],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":218,\"prediction\":[1.1943796986209758,22.1896186757201],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":219,\"prediction\":[-54.26176187455913,17.69751136986746],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":220,\"prediction\":[29.275625123581584,16.78448927932511],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":221,\"prediction\":[12.678961517160092,-6.431788190530837],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":222,\"prediction\":[-41.05407194474597,17.44864938178046],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":223,\"prediction\":[-23.639929350954276,-36.53618463943284],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":224,\"prediction\":[-8.019418564513263,-25.631465524533446],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":225,\"prediction\":[-8.112295959186982,-22.18317070633575],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":226,\"prediction\":[50.34018932101858,37.57388581361412],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":227,\"prediction\":[-1.5349799247539058,30.682967939706053],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":228,\"prediction\":[5.049827694254337,3.017956636969303],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":229,\"prediction\":[-13.038632617567291,4.458060114425253],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":230,\"prediction\":[7.057959365098038,15.767762140632453],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":231,\"prediction\":[-13.15280755750223,-20.239643797699806],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":232,\"prediction\":[13.884235579537464,12.360013550602243],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":233,\"prediction\":[-46.571023386837034,-25.104876521823314],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":234,\"prediction\":[48.63377505540624,34.22014888274776],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":235,\"prediction\":[-9.092211803346212,-22.928209856412103],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":236,\"prediction\":[-33.22423553838952,5.083038125429489],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":237,\"prediction\":[11.5730967644468,8.716051468485585],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":238,\"prediction\":[-8.708175773417159,-28.02828083681533],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null},{\"row_index\":239,\"prediction\":[26.167107515450184,-9.585352092710183],\"partition\":\"holdout\",\"decision_score\":null,\"probabilities\":null,\"neighbor_indices\":null,\"neighbor_distances\":null,\"graph_columns\":null,\"graph_values\":null}],\"warnings\":[],\"runtime\":{\"captured_at_utc\":\"2026-12-05T10:47:33.944533+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\":\"classifier-output.zip\",\"artifact_files\":[\"model/model.joblib\",\"predictions/predictions.csv\",\"graphs/output_distribution.png\",\"graphs/output_distribution.svg\",\"graphs/components.png\",\"graphs/components.svg\",\"result.json\"],\"classifier_type\":\"NeighborhoodComponentsAnalysis\"},\"elapsed_seconds\":1.625,\"upload_status_code\":200,\"upload_response\":{\"id\":\"bbd45143-ec14-4206-bfcc-415bda9a29f1\",\"model_id\":\"3b43bdba-aae1-462a-adb6-7e4f5516b5d2\",\"application_id\":\"spmrgmlcae1caj6\",\"name\":\"pipeline-58969287d5394b74b01d4c521ff2342f-05-Neighbors-Both.zip\",\"description\":\"\",\"blob_name\":\"3b43bdbaaae1462aadb67e4f5516b5d2/81bf6f68ecef4fcf86d5b46f99c7ae56.zip\",\"container_name\":\"models\",\"storage_account_name\":\"storage-0002\",\"blob_version_id\":\"2026-12-05T10:47:34.8302649Z\",\"file_size_bytes\":86971,\"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-05T10:47:34.8444128+00:00\",\"modified_by\":\"spmrgmlcae1caj6\",\"modified_at\":\"2026-12-05T10:47:34.8444128+00:00\",\"is_deleted\":false,\"deleted_by\":\"\",\"deleted_at\":null,\"last_access_by\":\"spmrgmlcae1caj6\",\"last_access_at\":\"2026-12-05T10:47:34.8444128+00:00\",\"tags\":[\"pipeline\",\"neighbors\"]}}"
}
]
Result
{
"schema_version": "2.0",
"job_id": "2bafa6a2-fef3-4eac-b4da-2a342ded20b8",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"status": "succeeded",
"worker": {
"name": "neighbors",
"task_family": "feature_extraction",
"algorithm": "NeighborhoodComponentsAnalysis"
},
"input": {
"mode": "prepared_train_test",
"partitions": {
"train": {
"blob_id": "26585ec5-3b88-4b8d-a220-dd6f057e999e",
"row_count": 192
},
"test": {
"blob_id": "58de279b-dfeb-4141-ae51-d1025e5b84ba",
"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": {
"callback": null,
"init": "auto",
"max_iter": 50,
"n_components": 2,
"random_state": 42,
"tol": 1e-05,
"verbose": 0,
"warm_start": false
},
"metrics": {}
},
"evaluation": {
"partition": "test",
"metrics": {
"scope": "holdout",
"sample_count": 48,
"output_dimension": 2,
"mean_neighbor_distance": null,
"graph_edge_count": null,
"mean_log_density": null,
"non_finite_log_density_count": null,
"outlier_count": null,
"outlier_fraction": null,
"mean_outlier_score": null
}
},
"artifact_files": [
"model/model.joblib",
"predictions/predictions.csv",
"graphs/output_distribution.png",
"graphs/output_distribution.svg",
"graphs/components.png",
"graphs/components.svg",
"result.json"
],
"extras": {
"algorithm": {
"learned": {
"n_features_in": 8,
"n_samples_fit": null,
"effective_metric": null,
"effective_metric_params": null,
"classes": null,
"centroids": null,
"class_prior": null,
"components": [
[
0.3382310612737823,
15.785517276399188,
3.722085477957738,
0.3980399386470379,
-7.919731502740143,
5.760831281231831,
-0.7730239927759215,
3.6204031445221574
],
[
0.925495248267491,
-9.949936165186402,
6.992484453232611,
-3.269815945848307,
-5.667139756809937,
4.253937090976015,
1.7256828006971068,
6.582498748774159
]
],
"n_iter": 21,
"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-05T10:47:33.944533+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-nthpw",
"jobName": "spmrgmlcae1caj6",
"container": {
"hostname": "worker-0512",
"replicaName": "worker-0512",
"processId": 1
}
}
},
"build": {
"built_at_utc": null,
"source": "unavailable",
"image_tag": null
}
}
}
Extract (7 responses)
[
{
"start_time": "2026-12-05T10:47:56.3854104+00:00",
"end_time": "2026-12-05T10:47:57.4508571+00:00",
"elapsed_milliseconds": 1065.43,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "bbd45143-ec14-4206-bfcc-415bda9a29f1",
"uploaded_blob_id": "88538d73-4afb-447f-98c0-4ba1484a3710",
"filename": "4317d619-5e2a-460e-9f10-05d729b04584.joblib",
"source_path": "model/model.joblib",
"source_format": "joblib",
"size_bytes": 4134,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:47:57.4891447+00:00",
"end_time": "2026-12-05T10:47:58.3256079+00:00",
"elapsed_milliseconds": 836.45,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "bbd45143-ec14-4206-bfcc-415bda9a29f1",
"uploaded_blob_id": "5dc68434-e495-4374-9810-36d7b2d30b8a",
"filename": "fd813c17-d4cc-4b51-8474-e333b7e9dbd2.csv",
"source_path": "predictions/predictions.csv",
"source_format": "csv",
"size_bytes": 11862,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:47:58.3645911+00:00",
"end_time": "2026-12-05T10:47:59.2876103+00:00",
"elapsed_milliseconds": 923.01,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "bbd45143-ec14-4206-bfcc-415bda9a29f1",
"uploaded_blob_id": "f2a39690-cd12-45ca-aed6-01206473de32",
"filename": "eeda15a3-444f-43d2-a3ad-7cb8e9bc960d.png",
"source_path": "graphs/output_distribution.png",
"source_format": "png",
"size_bytes": 33284,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:47:59.3256452+00:00",
"end_time": "2026-12-05T10:48:00.1217775+00:00",
"elapsed_milliseconds": 796.12,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "bbd45143-ec14-4206-bfcc-415bda9a29f1",
"uploaded_blob_id": "1be79303-7a0a-42c5-bf2c-c2ef7379d86b",
"filename": "6b074f94-64b2-4499-8760-9568478226b8.svg",
"source_path": "graphs/output_distribution.svg",
"source_format": "svg",
"size_bytes": 33116,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:48:00.1672357+00:00",
"end_time": "2026-12-05T10:48:00.9636378+00:00",
"elapsed_milliseconds": 796.39,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "bbd45143-ec14-4206-bfcc-415bda9a29f1",
"uploaded_blob_id": "4e3ab990-a208-4611-b365-0aa0ccd4a7d4",
"filename": "c8a53a74-5b98-4859-8a0a-c1a2562418c4.png",
"source_path": "graphs/components.png",
"source_format": "png",
"size_bytes": 42983,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:48:01.0160574+00:00",
"end_time": "2026-12-05T10:48:07.3474528+00:00",
"elapsed_milliseconds": 6331.32,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "bbd45143-ec14-4206-bfcc-415bda9a29f1",
"uploaded_blob_id": "10d085b4-ea8d-4ad0-9088-e19bf6c15995",
"filename": "d169ecbd-02dd-4cae-bdfd-a4ba0808ad94.svg",
"source_path": "graphs/components.svg",
"source_format": "svg",
"size_bytes": 40712,
"upload_status_code": 200
},
{
"start_time": "2026-12-05T10:48:07.3828957+00:00",
"end_time": "2026-12-05T10:48:08.3219782+00:00",
"elapsed_milliseconds": 939.07,
"status": "uploaded",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"source_blob_id": "bbd45143-ec14-4206-bfcc-415bda9a29f1",
"uploaded_blob_id": "4ef58083-4fbd-4f25-9f3a-da280ebc99b1",
"filename": "a460c0e9-6a10-4abe-8fd8-365d59f7c19b.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 4002,
"upload_status_code": 200
}
]

8. Predict / Transform with Both​

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

Predict
{
"status": "success",
"request_id": "9753499d-8386-440d-8242-2814b577f4f7",
"model_id": "3b43bdba-aae1-462a-adb6-7e4f5516b5d2",
"model_blob_id": "88538d73-4afb-447f-98c0-4ba1484a3710",
"model_type": "sklearn.neighbors._nca.NeighborhoodComponentsAnalysis",
"requested_inference_type": "Transform",
"resolved_inference_type": "Transform",
"predictions": [
{
"row_index": 0,
"values": {
"neighborhoodcomponentsanalysis0": 2.954008091535507,
"neighborhoodcomponentsanalysis1": 7.9414930423548915
}
}
],
"stats": {
"row_count": 1,
"feature_count": 8,
"output_count": 2,
"feature_columns": [
"feature_1",
"feature_2",
"feature_3",
"feature_4",
"feature_5",
"feature_6",
"feature_7",
"feature_8"
],
"output_columns": [
"neighborhoodcomponentsanalysis0",
"neighborhoodcomponentsanalysis1"
],
"input_layout": "numpy",
"output_summary": {
"neighborhoodcomponentsanalysis0": {
"min": 2.954008091535507,
"max": 2.954008091535507,
"mean": 2.954008091535507
},
"neighborhoodcomponentsanalysis1": {
"min": 7.9414930423548915,
"max": 7.9414930423548915,
"mean": 7.9414930423548915
}
}
},
"training_metrics": {},
"evaluation_metrics": {},
"learned": {},
"warnings": [],
"elapsed_seconds": 0.002759
}

Final pipeline status​

Pipeline status: Succeeded; EvaluationReady: false

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