Skip to main content

ExtraTreesClassifier

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 / ExtraTreesClassifierwhole runcompletedResult recordedrun-0053
LoadBreastCancer-TrainTestSplit-SimpleImputer-KBinsDiscretizer / ExtraTreesClassifierwhole runcompletedResult recordedrun-0062
LoadBreastCancer-TrainTestSplit-SimpleImputer-QuantileTransformer / ExtraTreesClassifierwhole runcompletedResult recordedrun-0071
LoadBreastCancer-TrainTestSplit-SimpleImputer-StandardScaler / ExtraTreesClassifierwhole runcompletedResult recordedrun-0080
LoadBreastCancer-TrainTestSplit-SimpleImputer-normalize / ExtraTreesClassifierwhole runcompletedResult recordedrun-0089
LoadWine-TrainTestSplit-SimpleImputer-FunctionTransformer / ExtraTreesClassifierwhole runcompletedResult recordedrun-0134
LoadWine-TrainTestSplit-SimpleImputer-KBinsDiscretizer / ExtraTreesClassifierwhole runcompletedResult recordedrun-0143
LoadWine-TrainTestSplit-SimpleImputer-QuantileTransformer / ExtraTreesClassifierwhole runcompletedResult recordedrun-0152
LoadWine-TrainTestSplit-SimpleImputer-StandardScaler / ExtraTreesClassifierwhole runcompletedResult recordedrun-0161
LoadWine-TrainTestSplit-SimpleImputer-normalize / ExtraTreesClassifierwhole runcompletedResult recordedrun-0170
MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer / ExtraTreesClassifierwhole runcompletedResult recordedrun-0179
MakeClassification-TrainTestSplit-SimpleImputer-QuantileTransformer / ExtraTreesClassifierwhole runcompletedResult recordedrun-0188
MakeClassification-TrainTestSplit-SimpleImputer-StandardScaler / ExtraTreesClassifierwhole runcompletedResult recordedrun-0197
MakeClassification-TrainTestSplit-SimpleImputer-normalize / ExtraTreesClassifierwhole runcompletedResult recordedrun-0206

Representative execution​

Scenario: LoadBreastCancer-TrainTestSplit-SimpleImputer-FunctionTransformer / ExtraTreesClassifier; partition: whole run; observed status: completed. run-0053 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.

"BaggingRegressor", "ExtraTreesClassifier", "ExtraTreesRegressor",
"ExtraTreesClassifier" => await SendTypedAsync(new ExtraTreesClassifierJobSendRequestModel
ClassifierType = "ExtraTreesClassifier",

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": "ExtraTreesClassifier",
"classifier_params": {
"n_estimators": 24,
"max_depth": 7,
"min_samples_leaf": 2
},
"generate_graphs": true,
"target_column": "target"
},
"output": {
"name": "LoadBreastCancer-TrainTestSplit-SimpleImputer-FunctionTransformer-ExtraTreesClassifier.zip",
"description": "Ensemble integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"ensemble",
"LoadBreastCancer",
"FunctionTransformer",
"ExtraTreesClassifier"
],
"artifact_contract_version": "2.0"
},
"request_timeout_seconds": 1800
}

Send response​

{
"start_time": "2026-12-01T17:35:56.8899966+00:00",
"end_time": "2026-12-01T17:35:56.9904837+00:00",
"elapsed_milliseconds": 100.49,
"status": "published",
"job_id": "cc122ff0-1e7f-2522-567c-31c4a9e94f63",
"topic": "pm.topic.ml.ensemble",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "cc122ff0-1e7f-2522-567c-31c4a9e94f63",
"json": {
"job_id": "cc122ff0-1e7f-2522-567c-31c4a9e94f63",
"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": "ExtraTreesClassifier",
"classifier_params": {
"n_estimators": 24,
"max_depth": 7,
"min_samples_leaf": 2
},
"generate_graphs": true,
"target_column": "target"
},
"request_timeout_seconds": 1800,
"output": {
"name": "LoadBreastCancer-TrainTestSplit-SimpleImputer-FunctionTransformer-ExtraTreesClassifier.zip",
"description": "Ensemble integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"ensemble",
"LoadBreastCancer",
"FunctionTransformer",
"ExtraTreesClassifier"
],
"encryption_key": "[REDACTED]",
"artifact_contract_version": "2.0"
}
},
"topic": "pm.topic.ml.ensemble",
"subscription": "cpu.0p5c.1gi"
}
}

Final recorded status​

{
"start_time": "2026-12-01T17:36:27.35808+00:00",
"end_time": "2026-12-01T17:36:27.8078322+00:00",
"elapsed_milliseconds": 449.75,
"job_id": "cc122ff0-1e7f-2522-567c-31c4a9e94f63",
"status": "completed",
"topic": "pm.topic.ml.ensemble",
"subscription": "cpu.0p5c.1gi"
}

Result response​

{
"schema_version": "2.0",
"job_id": "cc122ff0-1e7f-2522-567c-31c4a9e94f63",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"status": "succeeded",
"worker": {
"name": "ensemble",
"task_family": "classification",
"algorithm": "ExtraTreesClassifier"
},
"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": {
"n_estimators": 24,
"max_depth": 7,
"min_samples_leaf": 2,
"random_state": 42
},
"metrics": {}
},
"evaluation": {
"partition": "test",
"metrics": {
"accuracy": 0.958041958041958,
"precision_weighted": 0.9589589741565424,
"recall_weighted": 0.958041958041958,
"f1_weighted": 0.9576753170103554,
"confusion_matrix": [
[
48,
5
],
[
1,
89
]
]
}
},
"artifact_files": [
"model/model.joblib",
"predictions/test_predictions.csv",
"metrics/metrics.json",
"graphs/feature_importance.png",
"result.json"
],
"extras": {
"algorithm": {
"learned": {
"feature_importances": [
0.03372597349301341,
0.012312740319372283,
0.06347865393836519,
0.05101845192931307,
0.005761211753876647,
0.03312078656676174,
0.06201316109673052,
0.06929463992743591,
0.007380535401320725,
0.0034986512510376843,
0.03461867034839785,
0.0033742681704862477,
0.016164773545307237,
0.05118136928584191,
0.0020613417940721066,
0.002763460581896148,
0.002408003493520392,
0.004766086391295262,
0.001926120389361836,
0.0003908201423746947,
0.11328541660004166,
0.010245292929408364,
0.14055578133011806,
0.04674845221529908,
0.008677020366853106,
0.04516848777973976,
0.05178130146856975,
0.11595731504120867,
0.0049047486057584265,
0.0014164638432222366
],
"classes": [
"0",
"1"
],
"n_features_in": 30
},
"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.958041958041958,
"precision_weighted": 0.9589589741565424,
"recall_weighted": 0.958041958041958,
"f1_weighted": 0.9576753170103554,
"confusion_matrix": [
[
48,
5
],
[
1,
89
]
]
}
},
"runtime": {
"captured_at_utc": "2026-12-01T17:36:24.533028+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-01T17:36:40.0985629+00:00",
"end_time": "2026-12-01T17:36:40.9059573+00:00",
"elapsed_milliseconds": 807.38,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "67104933-b3b6-53ac-bf66-9a70e728723f",
"uploaded_blob_id": "3a76380a-0568-7fd4-a9b7-d8083e737f52",
"filename": "1df27756-f255-0b6f-dd08-fba22f4b2d1b.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 6000,
"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.