Skip to main content

LeavePOut

Model Selection standalone SDK operation. Source: 2.ML.ModelSelection.cs. Read the complete C# integration test and setup.

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

caution

No successful result is present for this operation in the standalone output archive. The following recorded request/status is diagnostic evidence, not a working example.

Recorded scenarios​

Recorded scenarioPartitionLast statusEvidenceJSON trace
LoadIris / LeavePOutwhole runerrorFailed or cancelledrun-0466
LoadWine / LeavePOutwhole runerrorFailed or cancelledrun-0491

Representative execution​

Scenario: LoadIris / LeavePOut; partition: whole run; observed status: error. run-0466 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.

"LeavePOut",
"LeavePOut" => await SendTypedAsync(client, outputDirectory, requestFileName,
AlgorithmType = "LeavePOut",
Output = CreateOutput("LeavePOut"),

Request​

{
"input": {
"input_blob_id": "6c9d418a-0910-55a7-9795-cf8c51d47e63",
"feature_columns": [
"sepal length (cm)",
"sepal width (cm)",
"petal length (cm)",
"petal width (cm)"
],
"file_format": "csv",
"algorithm_type": "LeavePOut",
"algorithm_params": {
"p": 2
},
"evaluation": null,
"generate_graphs": false,
"target_column": "target"
},
"output": {
"name": "model-selection-LeavePOut.zip",
"description": "Integration test for LeavePOut",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"model-selection",
"integration-tests",
"LeavePOut"
]
},
"request_timeout_seconds": 300
}

Send response​

{
"start_time": "2026-11-28T19:44:14.2423076+00:00",
"end_time": "2026-11-28T19:44:14.2922867+00:00",
"elapsed_milliseconds": 49.98,
"status": "published",
"job_id": "a6fbc621-82e1-95e5-464f-fcd2a167856e",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "a6fbc621-82e1-95e5-464f-fcd2a167856e",
"json": {
"job_id": "a6fbc621-82e1-95e5-464f-fcd2a167856e",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"input": {
"input_blob_id": "6c9d418a-0910-55a7-9795-cf8c51d47e63",
"input_encryption_key": "[REDACTED]",
"feature_columns": [
"sepal length (cm)",
"sepal width (cm)",
"petal length (cm)",
"petal width (cm)"
],
"file_format": "csv",
"algorithm_type": "LeavePOut",
"algorithm_params": {
"p": 2
}
},
"request_timeout_seconds": 300,
"output": {
"name": "model-selection-LeavePOut.zip",
"description": "Integration test for LeavePOut",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"model-selection",
"integration-tests",
"LeavePOut"
],
"encryption_key": "[REDACTED]"
},
"target_column": "target",
"evaluation": null,
"generate_graphs": false
},
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi"
}
}

Final recorded status​

{
"start_time": "2026-11-28T19:44:44.6230158+00:00",
"end_time": "2026-11-28T19:44:44.9119745+00:00",
"elapsed_milliseconds": 288.95,
"job_id": "a6fbc621-82e1-95e5-464f-fcd2a167856e",
"status": "error",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi",
"dead_letter_reason": "ModelSelectionJobFailed",
"dead_letter_error_description": "Stage: computing sklearn.model_selection.LeavePOut splits. Error type: ValueError"
}

Reproduce the operation​

dotnet test --filter "FullyQualifiedName~ParallelModel.Sdk.UnitTests.ModelSelection.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.