Skip to main content

ParameterGrid

Model Selection standalone SDK operation. Source: 2.ML.ModelSelection.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
Fetch20Newsgroups / ParameterGridwhole runcompletedResult recordedrun-0407
LoadBreastCancer / ParameterGridwhole runcompletedResult recordedrun-0427
LoadDiabetes / ParameterGridwhole runcompletedResult recordedrun-0448
LoadIris / ParameterGridwhole runcompletedResult recordedrun-0467
LoadWine / ParameterGridwhole runcompletedResult recordedrun-0492
MakeBlobs / ParameterGridwhole runcompletedResult recordedrun-0515
MakeCircles / ParameterGridwhole runcompletedResult recordedrun-0539
MakeClassification / ParameterGridwhole runcompletedResult recordedrun-0563
MakeFriedman1 / ParameterGridwhole runcompletedResult recordedrun-0583
MakeRegression / ParameterGridwhole runcompletedResult recordedrun-0597

Representative execution​

Scenario: Fetch20Newsgroups / ParameterGrid; partition: whole run; observed status: completed. run-0407 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.

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

Request​

{
"input": {
"input_blob_id": "0231c095-3d8a-d813-ec28-e625aafaefc2",
"feature_columns": [
"text"
],
"file_format": "csv",
"algorithm_type": "ParameterGrid",
"algorithm_params": {
"param_grid": {
"C": [
0.1,
1,
10
]
}
},
"evaluation": null,
"generate_graphs": false,
"target_column": "target"
},
"output": {
"name": "model-selection-ParameterGrid.zip",
"description": "Integration test for ParameterGrid",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"model-selection",
"integration-tests",
"ParameterGrid"
]
},
"request_timeout_seconds": 300
}

Send response​

{
"start_time": "2026-11-28T20:54:14.5165784+00:00",
"end_time": "2026-11-28T20:54:14.5605324+00:00",
"elapsed_milliseconds": 43.95,
"status": "published",
"job_id": "b073a138-96d2-c532-8a22-dde8dd4ea794",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "b073a138-96d2-c532-8a22-dde8dd4ea794",
"json": {
"job_id": "b073a138-96d2-c532-8a22-dde8dd4ea794",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"input": {
"input_blob_id": "0231c095-3d8a-d813-ec28-e625aafaefc2",
"input_encryption_key": "[REDACTED]",
"feature_columns": [
"text"
],
"file_format": "csv",
"algorithm_type": "ParameterGrid",
"algorithm_params": {
"param_grid": {
"C": [
0.1,
1,
10
]
}
}
},
"request_timeout_seconds": 300,
"output": {
"name": "model-selection-ParameterGrid.zip",
"description": "Integration test for ParameterGrid",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"model-selection",
"integration-tests",
"ParameterGrid"
],
"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-28T20:54:44.7390282+00:00",
"end_time": "2026-11-28T20:54:45.584742+00:00",
"elapsed_milliseconds": 845.7,
"job_id": "b073a138-96d2-c532-8a22-dde8dd4ea794",
"status": "completed",
"topic": "pm.topic.ml.modelselection",
"subscription": "cpu.0p5c.1gi",
"dead_letter_reason": null,
"dead_letter_error_description": null
}

Result response​

{
"jobId": "b073a138-96d2-c532-8a22-dde8dd4ea794",
"execution": {
"executionName": "[REDACTED]",
"jobName": "[REDACTED]",
"container": {
"hostname": "[REDACTED]",
"replicaName": "[REDACTED]",
"processId": 1
}
},
"algorithm_type": "ParameterGrid",
"stats": {
"row_count": 11314,
"column_count": 2,
"feature_count": 1,
"training_row_count": 11314,
"test_row_count": 0,
"feature_columns": [
"text"
],
"target_columns": [
"target"
],
"file_format": "csv",
"task_type": "parameters",
"metrics": {
"artifact_count": 1
}
},
"effective_params": {
"estimator": null,
"cv": null,
"n_jobs": null,
"param_name": null,
"param_range": null,
"classifier": null,
"method": null,
"threshold": null,
"response_method": null,
"param_grid": {
"C": [
0.1,
1,
10
]
},
"param_distributions": null,
"n_iter": null,
"random_state": null,
"n_splits": null,
"shuffle": null,
"train_sizes": null,
"p": null,
"n_permutations": null,
"n_repeats": null,
"test_size": null,
"stratify": null,
"thresholds": null,
"store_cv_results": null
},
"learned": {
"estimator": null,
"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": 3,
"score": null,
"p_value": null
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-11-28T20:54:43.600808+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",
"parameter_candidates.csv"
]
}

First extract response​

{
"start_time": "2026-11-28T20:56:50.7682813+00:00",
"end_time": "2026-11-28T20:56:52.0452896+00:00",
"elapsed_milliseconds": 1276.99,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "24bc7628-cd2b-7d2a-7431-93230d19ed01",
"uploaded_blob_id": "9f5bd9ed-bdbd-a1b3-a955-7472435e843c",
"filename": "a69e83b8-9f2b-3592-8d5b-9f945859f5b7.joblib",
"source_path": "model.joblib",
"source_format": "joblib",
"size_bytes": 441,
"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.