Skip to main content

GradientBoostingRegressor

Ensemble Methods standalone SDK operation. Source: 6.10.ML.Ensemble.cs. Read the complete C# integration test and setup.

8 recorded job(s); 8 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
LoadDiabetes-TrainTestSplit-SimpleImputer-KBinsDiscretizer / GradientBoostingRegressorwhole runcompletedResult recordedrun-0099
LoadDiabetes-TrainTestSplit-SimpleImputer-QuantileTransformer / GradientBoostingRegressorwhole runcompletedResult recordedrun-0108
LoadDiabetes-TrainTestSplit-SimpleImputer-StandardScaler / GradientBoostingRegressorwhole runcompletedResult recordedrun-0117
LoadDiabetes-TrainTestSplit-SimpleImputer-normalize / GradientBoostingRegressorwhole runcompletedResult recordedrun-0126
MakeRegression-TrainTestSplit-SimpleImputer-KBinsDiscretizer / GradientBoostingRegressorwhole runcompletedResult recordedrun-0216
MakeRegression-TrainTestSplit-SimpleImputer-QuantileTransformer / GradientBoostingRegressorwhole runcompletedResult recordedrun-0225
MakeRegression-TrainTestSplit-SimpleImputer-StandardScaler / GradientBoostingRegressorwhole runcompletedResult recordedrun-0234
MakeRegression-TrainTestSplit-SimpleImputer-normalize / GradientBoostingRegressorwhole runcompletedResult recordedrun-0243

Representative execution​

Scenario: LoadDiabetes-TrainTestSplit-SimpleImputer-KBinsDiscretizer / GradientBoostingRegressor; partition: whole run; observed status: completed. run-0099 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.

"GradientBoostingClassifier", "GradientBoostingRegressor", "HistGradientBoostingClassifier",
"GradientBoostingRegressor" => await SendTypedAsync(new GradientBoostingRegressorJobSendRequestModel
ClassifierType = "GradientBoostingRegressor",

Request​

{
"input": {
"train_blob_id": "d2f69bb1-53a6-d4db-3c1c-9d30bf53b443",
"test_blob_id": "2b8a06ec-5d7e-b2c4-bea7-13cdf2a9acd2",
"file_format": "csv",
"data_type": "numeric_table",
"feature_columns": [
"age_0.0",
"age_1.0",
"age_2.0",
"sex_0.0",
"bmi_0.0",
"bmi_1.0",
"bmi_2.0",
"bp_0.0",
"bp_1.0",
"bp_2.0",
"s1_0.0",
"s1_1.0",
"s1_2.0",
"s2_0.0",
"s2_1.0",
"s2_2.0",
"s3_0.0",
"s3_1.0",
"s3_2.0",
"s4_0.0",
"s4_1.0",
"s4_2.0",
"s5_0.0",
"s5_1.0",
"s5_2.0",
"s6_0.0",
"s6_1.0",
"s6_2.0"
],
"classifier_type": "GradientBoostingRegressor",
"classifier_params": {
"n_estimators": 25,
"learning_rate": 0.1,
"max_depth": 3,
"subsample": 0.9
},
"generate_graphs": true,
"target_column": "target"
},
"output": {
"name": "LoadDiabetes-TrainTestSplit-SimpleImputer-KBinsDiscretizer-GradientBoostingRegressor.zip",
"description": "Ensemble integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"ensemble",
"LoadDiabetes",
"KBinsDiscretizer",
"GradientBoostingRegressor"
],
"artifact_contract_version": "2.0"
},
"request_timeout_seconds": 1800
}

Send response​

{
"start_time": "2026-12-01T15:03:09.595792+00:00",
"end_time": "2026-12-01T15:03:09.6500525+00:00",
"elapsed_milliseconds": 54.26,
"status": "published",
"job_id": "d05e3be2-955b-925f-384c-c392fce32328",
"topic": "pm.topic.ml.ensemble",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "d05e3be2-955b-925f-384c-c392fce32328",
"json": {
"job_id": "d05e3be2-955b-925f-384c-c392fce32328",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"input": {
"train_blob_id": "d2f69bb1-53a6-d4db-3c1c-9d30bf53b443",
"train_encryption_key": "[REDACTED]",
"test_blob_id": "2b8a06ec-5d7e-b2c4-bea7-13cdf2a9acd2",
"test_encryption_key": "[REDACTED]",
"file_format": "csv",
"data_type": "numeric_table",
"feature_columns": [
"age_0.0",
"age_1.0",
"age_2.0",
"sex_0.0",
"bmi_0.0",
"bmi_1.0",
"bmi_2.0",
"bp_0.0",
"bp_1.0",
"bp_2.0",
"s1_0.0",
"s1_1.0",
"s1_2.0",
"s2_0.0",
"s2_1.0",
"s2_2.0",
"s3_0.0",
"s3_1.0",
"s3_2.0",
"s4_0.0",
"s4_1.0",
"s4_2.0",
"s5_0.0",
"s5_1.0",
"s5_2.0",
"s6_0.0",
"s6_1.0",
"s6_2.0"
],
"classifier_type": "GradientBoostingRegressor",
"classifier_params": {
"n_estimators": 25,
"learning_rate": 0.1,
"max_depth": 3,
"subsample": 0.9
},
"generate_graphs": true,
"target_column": "target"
},
"request_timeout_seconds": 1800,
"output": {
"name": "LoadDiabetes-TrainTestSplit-SimpleImputer-KBinsDiscretizer-GradientBoostingRegressor.zip",
"description": "Ensemble integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"ensemble",
"LoadDiabetes",
"KBinsDiscretizer",
"GradientBoostingRegressor"
],
"encryption_key": "[REDACTED]",
"artifact_contract_version": "2.0"
}
},
"topic": "pm.topic.ml.ensemble",
"subscription": "cpu.0p5c.1gi"
}
}

Final recorded status​

{
"start_time": "2026-12-01T15:04:10.1411352+00:00",
"end_time": "2026-12-01T15:04:10.5281502+00:00",
"elapsed_milliseconds": 387.01,
"job_id": "d05e3be2-955b-925f-384c-c392fce32328",
"status": "completed",
"topic": "pm.topic.ml.ensemble",
"subscription": "cpu.0p5c.1gi"
}

Result response​

{
"schema_version": "2.0",
"job_id": "d05e3be2-955b-925f-384c-c392fce32328",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"status": "succeeded",
"worker": {
"name": "ensemble",
"task_family": "regression",
"algorithm": "GradientBoostingRegressor"
},
"input": {
"mode": "prepared_train_test",
"partitions": {
"train": {
"blob_id": "d2f69bb1-53a6-d4db-3c1c-9d30bf53b443",
"row_count": 331
},
"test": {
"blob_id": "2b8a06ec-5d7e-b2c4-bea7-13cdf2a9acd2",
"row_count": 111
}
},
"feature_columns": [
"age_0.0",
"age_1.0",
"age_2.0",
"sex_0.0",
"bmi_0.0",
"bmi_1.0",
"bmi_2.0",
"bp_0.0",
"bp_1.0",
"bp_2.0",
"s1_0.0",
"s1_1.0",
"s1_2.0",
"s2_0.0",
"s2_1.0",
"s2_2.0",
"s3_0.0",
"s3_1.0",
"s3_2.0",
"s4_0.0",
"s4_1.0",
"s4_2.0",
"s5_0.0",
"s5_1.0",
"s5_2.0",
"s6_0.0",
"s6_1.0",
"s6_2.0"
],
"target_columns": [
"target"
]
},
"training": {
"effective_params": {
"n_estimators": 25,
"learning_rate": 0.1,
"max_depth": 3,
"subsample": 0.9,
"random_state": 42
},
"metrics": {}
},
"evaluation": {
"partition": "test",
"metrics": {
"mean_absolute_error": 45.096061483390315,
"root_mean_squared_error": 56.69217816398131,
"r2_score": 0.41877335213384304
}
},
"artifact_files": [
"model/model.joblib",
"predictions/test_predictions.csv",
"metrics/metrics.json",
"graphs/feature_importance.png",
"result.json"
],
"extras": {
"algorithm": {
"learned": {
"feature_importances": [
0.006233029562089808,
0.008825136980867052,
0.009392803297654932,
0.0,
0.02833347459909771,
0.0018902501627245036,
0.3547405440555205,
0.04699354148603706,
0.010341851439980041,
0.08806679524297456,
0.018053691231479364,
0.0,
0.0159021560809797,
0.0032122431514777223,
0.009987031160120466,
0.015768612349699507,
0.012706726495503582,
0.002912707464366608,
0.0291969151986386,
0.0030631963024847194,
0.0,
0.06433069427732785,
0.05188616357472046,
0.001722952105606949,
0.17793966934318836,
0.006536334829846008,
0.013955560769356213,
0.018007918838257805
],
"n_features_in": 28,
"oob_score": 2308.4509962001753,
"n_estimators_fitted": 25
},
"warnings": [],
"stats": {
"row_count": 442,
"column_count": 31,
"feature_count": 28,
"training_row_count": 331,
"test_row_count": 111,
"feature_columns": [
"age_0.0",
"age_1.0",
"age_2.0",
"sex_0.0",
"bmi_0.0",
"bmi_1.0",
"bmi_2.0",
"bp_0.0",
"bp_1.0",
"bp_2.0",
"s1_0.0",
"s1_1.0",
"s1_2.0",
"s2_0.0",
"s2_1.0",
"s2_2.0",
"s3_0.0",
"s3_1.0",
"s3_2.0",
"s4_0.0",
"s4_1.0",
"s4_2.0",
"s5_0.0",
"s5_1.0",
"s5_2.0",
"s6_0.0",
"s6_1.0",
"s6_2.0"
],
"target_column": "target",
"sample_weight_column": null,
"file_format": "csv",
"task_type": "regression",
"metrics": {
"mean_absolute_error": 45.096061483390315,
"root_mean_squared_error": 56.69217816398131,
"r2_score": 0.41877335213384304
}
},
"runtime": {
"captured_at_utc": "2026-12-01T15:03:43.522969+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": {
"execution_name": "[REDACTED]",
"job_name": "[REDACTED]",
"container": {
"hostname": "[REDACTED]",
"replica_name": "[REDACTED]",
"process_id": 1
}
}
},
"build": {
"built_at_utc": null,
"source": "unavailable",
"image_tag": null
}
}
}

First extract response​

{
"start_time": "2026-12-01T15:04:19.6050672+00:00",
"end_time": "2026-12-01T15:04:20.3973733+00:00",
"elapsed_milliseconds": 792.29,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "6cb173d7-2049-20c6-9d1e-dae132b9f67a",
"uploaded_blob_id": "dd7f2a34-4577-9520-de24-31a211c516ed",
"filename": "5c3f7f2c-746c-2b6a-1a4d-f3e818714eba.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 4947,
"upload_status_code": 200
}

Logs​

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

Reproduce the operation​

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