Skip to main content

HistGradientBoostingClassifier

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

14 recorded job(s); 14 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-SimpleImputer-FunctionTransformer / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0055
LoadBreastCancer-TrainTestSplit-SimpleImputer-KBinsDiscretizer / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0064
LoadBreastCancer-TrainTestSplit-SimpleImputer-QuantileTransformer / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0073
LoadBreastCancer-TrainTestSplit-SimpleImputer-StandardScaler / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0082
LoadBreastCancer-TrainTestSplit-SimpleImputer-normalize / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0091
LoadWine-TrainTestSplit-SimpleImputer-FunctionTransformer / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0136
LoadWine-TrainTestSplit-SimpleImputer-KBinsDiscretizer / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0145
LoadWine-TrainTestSplit-SimpleImputer-QuantileTransformer / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0154
LoadWine-TrainTestSplit-SimpleImputer-StandardScaler / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0163
LoadWine-TrainTestSplit-SimpleImputer-normalize / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0172
MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0181
MakeClassification-TrainTestSplit-SimpleImputer-QuantileTransformer / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0190
MakeClassification-TrainTestSplit-SimpleImputer-StandardScaler / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0199
MakeClassification-TrainTestSplit-SimpleImputer-normalize / HistGradientBoostingClassifierwhole runcompletedResult recordedrun-0208

Representative execution​

Scenario: LoadBreastCancer-TrainTestSplit-SimpleImputer-FunctionTransformer / HistGradientBoostingClassifier; partition: whole run; observed status: completed. run-0055 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",
"HistGradientBoostingClassifier" => await SendTypedAsync(new HistGradientBoostingClassifierJobSendRequestModel
ClassifierType = "HistGradientBoostingClassifier",

Request​

{
"input": {
"train_blob_id": "6cd0072c-cacf-f966-963c-7dc144f9db7c",
"test_blob_id": "608f8ac2-dcb0-3eb6-7fa1-4c76b6136d96",
"file_format": "csv",
"data_type": "numeric_table",
"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"
],
"classifier_type": "HistGradientBoostingClassifier",
"classifier_params": {
"max_iter": 35,
"learning_rate": 0.1,
"max_leaf_nodes": 15,
"max_bins": 64,
"early_stopping": false
},
"generate_graphs": true,
"target_column": "target"
},
"output": {
"name": "LoadBreastCancer-TrainTestSplit-SimpleImputer-FunctionTransformer-HistGradientBoostingClassifier.zip",
"description": "Ensemble integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"ensemble",
"LoadBreastCancer",
"FunctionTransformer",
"HistGradientBoostingClassifier"
],
"artifact_contract_version": "2.0"
},
"request_timeout_seconds": 1800
}

Send response​

{
"start_time": "2026-12-01T15:16:02.761298+00:00",
"end_time": "2026-12-01T15:16:02.8325761+00:00",
"elapsed_milliseconds": 71.28,
"status": "published",
"job_id": "9291ece2-32a6-fb83-3f45-f38895aeb3d8",
"topic": "pm.topic.ml.ensemble",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "9291ece2-32a6-fb83-3f45-f38895aeb3d8",
"json": {
"job_id": "9291ece2-32a6-fb83-3f45-f38895aeb3d8",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"input": {
"train_blob_id": "6cd0072c-cacf-f966-963c-7dc144f9db7c",
"train_encryption_key": "[REDACTED]",
"test_blob_id": "608f8ac2-dcb0-3eb6-7fa1-4c76b6136d96",
"test_encryption_key": "[REDACTED]",
"file_format": "csv",
"data_type": "numeric_table",
"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"
],
"classifier_type": "HistGradientBoostingClassifier",
"classifier_params": {
"max_iter": 35,
"learning_rate": 0.1,
"max_leaf_nodes": 15,
"max_bins": 64,
"early_stopping": false
},
"generate_graphs": true,
"target_column": "target"
},
"request_timeout_seconds": 1800,
"output": {
"name": "LoadBreastCancer-TrainTestSplit-SimpleImputer-FunctionTransformer-HistGradientBoostingClassifier.zip",
"description": "Ensemble integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"ensemble",
"LoadBreastCancer",
"FunctionTransformer",
"HistGradientBoostingClassifier"
],
"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:17:03.3297525+00:00",
"end_time": "2026-12-01T15:17:03.9222161+00:00",
"elapsed_milliseconds": 592.45,
"job_id": "9291ece2-32a6-fb83-3f45-f38895aeb3d8",
"status": "completed",
"topic": "pm.topic.ml.ensemble",
"subscription": "cpu.0p5c.1gi"
}

Result response​

{
"schema_version": "2.0",
"job_id": "9291ece2-32a6-fb83-3f45-f38895aeb3d8",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"status": "succeeded",
"worker": {
"name": "ensemble",
"task_family": "classification",
"algorithm": "HistGradientBoostingClassifier"
},
"input": {
"mode": "prepared_train_test",
"partitions": {
"train": {
"blob_id": "6cd0072c-cacf-f966-963c-7dc144f9db7c",
"row_count": 426
},
"test": {
"blob_id": "608f8ac2-dcb0-3eb6-7fa1-4c76b6136d96",
"row_count": 143
}
},
"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"
]
},
"training": {
"effective_params": {
"learning_rate": 0.1,
"max_leaf_nodes": 15,
"max_iter": 35,
"max_bins": 64,
"early_stopping": false,
"random_state": 42
},
"metrics": {}
},
"evaluation": {
"partition": "test",
"metrics": {
"accuracy": 0.965034965034965,
"precision_weighted": 0.9652663191989034,
"recall_weighted": 0.965034965034965,
"f1_weighted": 0.9651006853533873,
"confusion_matrix": [
[
51,
2
],
[
3,
87
]
]
}
},
"artifact_files": [
"model/model.joblib",
"predictions/test_predictions.csv",
"metrics/metrics.json",
"graphs/confusion_matrix.png",
"result.json"
],
"extras": {
"algorithm": {
"learned": {
"classes": [
"0",
"1"
],
"n_features_in": 30,
"iterations": 35
},
"warnings": [],
"stats": {
"row_count": 569,
"column_count": 33,
"feature_count": 30,
"training_row_count": 426,
"test_row_count": 143,
"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_column": "target",
"sample_weight_column": null,
"file_format": "csv",
"task_type": "classification",
"metrics": {
"accuracy": 0.965034965034965,
"precision_weighted": 0.9652663191989034,
"recall_weighted": 0.965034965034965,
"f1_weighted": 0.9651006853533873,
"confusion_matrix": [
[
51,
2
],
[
3,
87
]
]
}
},
"runtime": {
"captured_at_utc": "2026-12-01T15:16:44.442713+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:17:12.4108775+00:00",
"end_time": "2026-12-01T15:17:13.5127892+00:00",
"elapsed_milliseconds": 1101.89,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "f28c7d2a-917e-42fa-2b2d-5ada70b2a284",
"uploaded_blob_id": "b4d3988d-beaa-cc00-8800-3749b939f654",
"filename": "5cc96a7a-c3c3-619a-6f45-a01b4c120ecd.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 5093,
"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.