Skip to main content

PermutationTestScore

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

9 recorded job(s); 9 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 / PermutationTestScorewhole runcompletedResult recordedrun-0429
LoadDiabetes / PermutationTestScorewhole runcompletedResult recordedrun-0450
LoadIris / PermutationTestScorewhole runcompletedResult recordedrun-0469
LoadWine / PermutationTestScorewhole runcompletedResult recordedrun-0494
MakeBlobs / PermutationTestScorewhole runcompletedResult recordedrun-0517
MakeCircles / PermutationTestScorewhole runcompletedResult recordedrun-0541
MakeClassification / PermutationTestScorewhole runcompletedResult recordedrun-0565
MakeFriedman1 / PermutationTestScorewhole runcompletedResult recordedrun-0585
MakeRegression / PermutationTestScorewhole runcompletedResult recordedrun-0599

Representative execution​

Scenario: LoadBreastCancer / PermutationTestScore; partition: whole run; observed status: completed. run-0429 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.

"PermutationTestScore",
"PermutationTestScore" => await SendTypedAsync(client, outputDirectory, requestFileName,

Request​

{
"input": {
"input_blob_id": "073d5549-2d46-8963-1f14-cc990b60da3b",
"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",
"algorithm_type": "permutation_test_score",
"algorithm_params": {
"estimator": {
"type": "LogisticRegression",
"params": {
"max_iter": 300
}
},
"cv": 3,
"n_jobs": 1,
"n_permutations": 5,
"random_state": 42
},
"evaluation": null,
"generate_graphs": false,
"target_column": "target"
},
"output": {
"name": "model-selection-permutation_test_score.zip",
"description": "Integration test for permutation_test_score",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"model-selection",
"integration-tests",
"permutation_test_score"
]
},
"request_timeout_seconds": 300
}

Send response​

{
"start_time": "2026-11-28T18:07:14.534705+00:00",
"end_time": "2026-11-28T18:07:14.5959039+00:00",
"elapsed_milliseconds": 61.2,
"status": "published",
"job_id": "b5f3edac-25ac-6793-082b-6393f1af1151",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "b5f3edac-25ac-6793-082b-6393f1af1151",
"json": {
"job_id": "b5f3edac-25ac-6793-082b-6393f1af1151",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"input": {
"input_blob_id": "073d5549-2d46-8963-1f14-cc990b60da3b",
"input_encryption_key": "[REDACTED]",
"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",
"algorithm_type": "permutation_test_score",
"algorithm_params": {
"estimator": {
"type": "LogisticRegression",
"params": {
"max_iter": 300
}
},
"cv": 3,
"n_jobs": 1,
"n_permutations": 5,
"random_state": 42
}
},
"request_timeout_seconds": 300,
"output": {
"name": "model-selection-permutation_test_score.zip",
"description": "Integration test for permutation_test_score",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"model-selection",
"integration-tests",
"permutation_test_score"
],
"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-28T18:07:44.8023208+00:00",
"end_time": "2026-11-28T18:07:45.2529538+00:00",
"elapsed_milliseconds": 450.63,
"job_id": "b5f3edac-25ac-6793-082b-6393f1af1151",
"status": "completed",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi",
"dead_letter_reason": null,
"dead_letter_error_description": null
}

Result response​

{
"jobId": "b5f3edac-25ac-6793-082b-6393f1af1151",
"execution": {
"executionName": "[REDACTED]",
"jobName": "[REDACTED]",
"container": {
"hostname": "[REDACTED]",
"replicaName": "[REDACTED]",
"processId": 1
}
},
"algorithm_type": "permutation_test_score",
"stats": {
"row_count": 569,
"column_count": 31,
"feature_count": 30,
"training_row_count": 569,
"test_row_count": 0,
"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": [
"target"
],
"file_format": "csv",
"task_type": "validation",
"metrics": {
"artifact_count": 1
}
},
"effective_params": {
"estimator": {
"type": "LogisticRegression",
"params": {
"max_iter": 300
}
},
"cv": 3,
"n_jobs": 1,
"param_name": null,
"param_range": null,
"classifier": null,
"method": null,
"threshold": null,
"response_method": null,
"param_grid": null,
"param_distributions": null,
"n_iter": null,
"random_state": 42,
"n_splits": null,
"shuffle": null,
"train_sizes": null,
"p": null,
"n_permutations": 5,
"n_repeats": null,
"test_size": null,
"stratify": null,
"thresholds": null,
"store_cv_results": null
},
"learned": {
"estimator": "LogisticRegression",
"mean_validation_scores": null,
"fold_count": null,
"fold_sizes": null,
"fit_time": null,
"score_time": null,
"test_score": null,
"prediction_count": null,
"scores": null,
"mean_score": null,
"std_score": null,
"threshold": null,
"best_score": null,
"best_index": null,
"best_params": null,
"best_estimator": null,
"train_sizes": null,
"candidate_count": null,
"score": 0.949020699897893,
"p_value": 0.16666666666666666
},
"warnings": [
{
"category": "ConvergenceWarning",
"count": 18
}
],
"runtime": {
"captured_at_utc": "2026-11-28T18:07:42.710136+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",
"permutation_scores.csv"
]
}

First extract response​

{
"start_time": "2026-11-28T18:09:52.1915512+00:00",
"end_time": "2026-11-28T18:09:53.3248039+00:00",
"elapsed_milliseconds": 1133.24,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "e6f726c0-a509-41f0-623f-17f55e69e374",
"uploaded_blob_id": "f04473a2-2157-b0c4-e0a5-23a4a00d149a",
"filename": "d27ac334-1034-168e-37c9-383bd763ff0b.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 827,
"upload_status_code": 200
}

Logs​

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

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.