Skip to main content

IterativeImputer

Numerical Imputation standalone SDK operation. Source: 3.2.ML.Impute.Numerical.cs. Read the complete C# integration test and setup.

10 recorded job(s); 10 have a success/completed status and a saved result. These are API records rather than independently verified test passes.

Recorded scenarios​

Recorded scenarioPartitionLast statusEvidenceJSON trace
LoadBreastCancer / TrainTestSplit / IterativeImputertestcompletedResult recordedrun-0303
LoadBreastCancer / TrainTestSplit / IterativeImputertraincompletedResult recordedrun-0304
LoadDiabetes / TrainTestSplit / IterativeImputertestcompletedResult recordedrun-0311
LoadDiabetes / TrainTestSplit / IterativeImputertraincompletedResult recordedrun-0312
LoadWine / TrainTestSplit / IterativeImputertestcompletedResult recordedrun-0319
LoadWine / TrainTestSplit / IterativeImputertraincompletedResult recordedrun-0320
MakeClassification / TrainTestSplit / IterativeImputertestcompletedResult recordedrun-0327
MakeClassification / TrainTestSplit / IterativeImputertraincompletedResult recordedrun-0328
MakeRegression / TrainTestSplit / IterativeImputertestcompletedResult recordedrun-0335
MakeRegression / TrainTestSplit / IterativeImputertraincompletedResult recordedrun-0336

Representative execution​

Scenario: LoadBreastCancer / TrainTestSplit / IterativeImputer; partition: test; observed status: completed. run-0303 contains all recorded numbered JSON events for this job.

Operation selection in the C# test​

These are matching lines from the parameterized test, not a separate runnable program. See the full source for context.

private static readonly string[] Algorithms = { "SimpleImputer", "KNNImputer", "IterativeImputer", "MissingIndicator" };
"IterativeImputer" => await SendTypedImputeAsync(client, modelId, outputDirectory, requestFileName,
ClassifierType = "IterativeImputer",
Output = CreateImputeOutput("IterativeImputer", source.ArtifactPath),

Request​

{
"input": {
"input_blob_id": "ca53431f-15b6-7468-fe33-48b4e924b474",
"classifier_type": "IterativeImputer",
"classifier_params": {
"max_iter": 5,
"initial_strategy": "mean",
"random_state": 42,
"add_indicator": false
},
"data_type": "numeric",
"feature_columns": [
"mean radius",
"mean texture",
"mean perimeter",
"mean area",
"mean smoothness",
"mean compactness",
"mean concavity",
"mean concave points",
"mean symmetry",
"mean fractal dimension",
"radius error",
"texture error",
"perimeter error",
"area error",
"smoothness error",
"compactness error",
"concavity error",
"concave points error",
"symmetry error",
"fractal dimension error",
"worst radius",
"worst texture",
"worst perimeter",
"worst area",
"worst smoothness",
"worst compactness",
"worst concavity",
"worst concave points",
"worst symmetry",
"worst fractal dimension"
],
"file_format": "csv",
"missing_tokens": [
"",
"NA",
"NaN",
"nan",
"null",
"?"
],
"target_column": "target",
"keep_other_columns": true,
"evaluation": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true
},
"generate_graphs": false
},
"output": {
"name": "impute-IterativeImputer-test.zip",
"description": "Impute IterativeImputer on ModelSelection artifact test.csv",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"impute",
"model-selection",
"integration-tests",
"IterativeImputer"
]
},
"request_timeout_seconds": 300
}

Send response​

{
"start_time": "2026-11-29T12:20:35.3472419+00:00",
"end_time": "2026-11-29T12:20:35.4095688+00:00",
"elapsed_milliseconds": 62.33,
"status": "published",
"job_id": "b3ec5b52-4b53-d2dd-908f-06f91678ed3b",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "b3ec5b52-4b53-d2dd-908f-06f91678ed3b",
"json": {
"job_id": "b3ec5b52-4b53-d2dd-908f-06f91678ed3b",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"input": {
"input_blob_id": "ca53431f-15b6-7468-fe33-48b4e924b474",
"input_encryption_key": "[REDACTED]",
"classifier_type": "IterativeImputer",
"classifier_params": {
"max_iter": 5,
"initial_strategy": "mean",
"random_state": 42,
"add_indicator": false
},
"data_type": "numeric",
"feature_columns": [
"mean radius",
"mean texture",
"mean perimeter",
"mean area",
"mean smoothness",
"mean compactness",
"mean concavity",
"mean concave points",
"mean symmetry",
"mean fractal dimension",
"radius error",
"texture error",
"perimeter error",
"area error",
"smoothness error",
"compactness error",
"concavity error",
"concave points error",
"symmetry error",
"fractal dimension error",
"worst radius",
"worst texture",
"worst perimeter",
"worst area",
"worst smoothness",
"worst compactness",
"worst concavity",
"worst concave points",
"worst symmetry",
"worst fractal dimension"
],
"file_format": "csv",
"missing_tokens": [
"",
"NA",
"NaN",
"nan",
"null",
"?"
],
"target_column": "target",
"keep_other_columns": true
},
"request_timeout_seconds": 300,
"output": {
"name": "impute-IterativeImputer-test.zip",
"description": "Impute IterativeImputer on ModelSelection artifact test.csv",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"impute",
"model-selection",
"integration-tests",
"IterativeImputer"
],
"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"
}
}

Final recorded status​

{
"start_time": "2026-11-29T12:21:35.7997396+00:00",
"end_time": "2026-11-29T12:21:36.2116638+00:00",
"elapsed_milliseconds": 411.92,
"job_id": "b3ec5b52-4b53-d2dd-908f-06f91678ed3b",
"status": "completed",
"topic": "pm.topic.ml.impute",
"subscription": "cpu.0p5c.1gi",
"dead_letter_reason": null,
"dead_letter_error_description": null
}

Result response​

{
"job_id": "b3ec5b52-4b53-d2dd-908f-06f91678ed3b",
"execution": {
"execution_name": "[REDACTED]",
"job_name": "[REDACTED]",
"container": {
"hostname": "[REDACTED]",
"replica_name": "[REDACTED]",
"process_id": 1
}
},
"classifier_type": "IterativeImputer",
"stats": {
"row_count": 143,
"column_count": 31,
"feature_count": 30,
"training_row_count": 114,
"test_row_count": 29,
"feature_columns": [
"mean radius",
"mean texture",
"mean perimeter",
"mean area",
"mean smoothness",
"mean compactness",
"mean concavity",
"mean concave points",
"mean symmetry",
"mean fractal dimension",
"radius error",
"texture error",
"perimeter error",
"area error",
"smoothness error",
"compactness error",
"concavity error",
"concave points error",
"symmetry error",
"fractal dimension error",
"worst radius",
"worst texture",
"worst perimeter",
"worst area",
"worst smoothness",
"worst compactness",
"worst concavity",
"worst concave points",
"worst symmetry",
"worst fractal dimension"
],
"target_columns": [],
"file_format": "csv",
"task_type": "tabular_imputation",
"metrics": {
"input_missing_cells": 0,
"input_missing_by_feature": {
"mean radius": 0,
"mean texture": 0,
"mean perimeter": 0,
"mean area": 0,
"mean smoothness": 0,
"mean compactness": 0,
"mean concavity": 0,
"mean concave points": 0,
"mean symmetry": 0,
"mean fractal dimension": 0,
"radius error": 0,
"texture error": 0,
"perimeter error": 0,
"area error": 0,
"smoothness error": 0,
"compactness error": 0,
"concavity error": 0,
"concave points error": 0,
"symmetry error": 0,
"fractal dimension error": 0,
"worst radius": 0,
"worst texture": 0,
"worst perimeter": 0,
"worst area": 0,
"worst smoothness": 0,
"worst compactness": 0,
"worst concavity": 0,
"worst concave points": 0,
"worst symmetry": 0,
"worst fractal dimension": 0
},
"input_missing_rate": 0.0,
"output_columns": 30,
"fit_scope": "training",
"training_missing_cells": 0,
"holdout_missing_cells": 0,
"output_missing_cells": 0,
"output_is_missing_indicators": false
}
},
"effective_params": {
"imputer": {
"max_iter": 5,
"tol": 0.001,
"initial_strategy": "mean",
"imputation_order": "ascending",
"n_nearest_features": null,
"skip_complete": false,
"sample_posterior": false,
"min_value": null,
"max_value": null,
"random_state": 42,
"add_indicator": false,
"keep_empty_features": true
},
"data_type": "numeric"
},
"learned": {
"input_columns": [
"mean radius",
"mean texture",
"mean perimeter",
"mean area",
"mean smoothness",
"mean compactness",
"mean concavity",
"mean concave points",
"mean symmetry",
"mean fractal dimension",
"radius error",
"texture error",
"perimeter error",
"area error",
"smoothness error",
"compactness error",
"concavity error",
"concave points error",
"symmetry error",
"fractal dimension error",
"worst radius",
"worst texture",
"worst perimeter",
"worst area",
"worst smoothness",
"worst compactness",
"worst concavity",
"worst concave points",
"worst symmetry",
"worst fractal dimension"
],
"output_columns": [
"mean radius",
"mean texture",
"mean perimeter",
"mean area",
"mean smoothness",
"mean compactness",
"mean concavity",
"mean concave points",
"mean symmetry",
"mean fractal dimension",
"radius error",
"texture error",
"perimeter error",
"area error",
"smoothness error",
"compactness error",
"concavity error",
"concave points error",
"symmetry error",
"fractal dimension error",
"worst radius",
"worst texture",
"worst perimeter",
"worst area",
"worst smoothness",
"worst compactness",
"worst concavity",
"worst concave points",
"worst symmetry",
"worst fractal dimension"
],
"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-11-29T12:21:21.806726+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"
]
}

First extract response​

{
"start_time": "2026-11-29T12:21:38.4532033+00:00",
"end_time": "2026-11-29T12:21:39.2709793+00:00",
"elapsed_milliseconds": 817.77,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "9c0036a3-9444-9376-67a6-f056a3daa5c4",
"uploaded_blob_id": "5aff3678-e75a-29d2-28f3-d22eea8efb14",
"filename": "be2ca566-4992-c47f-8cb4-a1d68a0f77f9.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 155256,
"upload_status_code": 200
}

Logs​

The trace includes the saved log response (40 entries).

Reproduce the operation​

dotnet test --filter "FullyQualifiedName~ParallelModel.Sdk.UnitTests.ImputeNumerical.Run"

The filter runs the class theory; use the recorded scenario values above to identify the corresponding parameter set. For partitioned operations, one theory can submit multiple jobs. The redacted payload identifiers are not usable live credentials or blob IDs.