Skip to main content

RandomTreesEmbedding

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

22 recorded job(s); 22 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 / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0057
LoadBreastCancer-TrainTestSplit-SimpleImputer-KBinsDiscretizer / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0066
LoadBreastCancer-TrainTestSplit-SimpleImputer-QuantileTransformer / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0075
LoadBreastCancer-TrainTestSplit-SimpleImputer-StandardScaler / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0084
LoadBreastCancer-TrainTestSplit-SimpleImputer-normalize / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0093
LoadDiabetes-TrainTestSplit-SimpleImputer-KBinsDiscretizer / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0102
LoadDiabetes-TrainTestSplit-SimpleImputer-QuantileTransformer / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0111
LoadDiabetes-TrainTestSplit-SimpleImputer-StandardScaler / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0120
LoadDiabetes-TrainTestSplit-SimpleImputer-normalize / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0129
LoadWine-TrainTestSplit-SimpleImputer-FunctionTransformer / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0138
LoadWine-TrainTestSplit-SimpleImputer-KBinsDiscretizer / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0147
LoadWine-TrainTestSplit-SimpleImputer-QuantileTransformer / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0156
LoadWine-TrainTestSplit-SimpleImputer-StandardScaler / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0165
LoadWine-TrainTestSplit-SimpleImputer-normalize / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0174
MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0183
MakeClassification-TrainTestSplit-SimpleImputer-QuantileTransformer / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0192
MakeClassification-TrainTestSplit-SimpleImputer-StandardScaler / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0201
MakeClassification-TrainTestSplit-SimpleImputer-normalize / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0210
MakeRegression-TrainTestSplit-SimpleImputer-KBinsDiscretizer / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0219
MakeRegression-TrainTestSplit-SimpleImputer-QuantileTransformer / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0228
MakeRegression-TrainTestSplit-SimpleImputer-StandardScaler / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0237
MakeRegression-TrainTestSplit-SimpleImputer-normalize / RandomTreesEmbeddingwhole runcompletedResult recordedrun-0246

Representative execution​

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

"RandomForestRegressor", "RandomTreesEmbedding", "StackingClassifier",
algorithm.EndsWith("Regressor", StringComparison.Ordinal) || algorithm == "RandomTreesEmbedding").ToArray(),
(algorithm.EndsWith("Classifier", StringComparison.Ordinal) || algorithm is "IsolationForest" or "RandomTreesEmbedding") &&
bool requiresTarget = ensembleAlgorithm != "RandomTreesEmbedding";
"RandomTreesEmbedding" => await SendTypedAsync(new RandomTreesEmbeddingJobSendRequestModel
ClassifierType = "RandomTreesEmbedding",

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

Send response​

{
"start_time": "2026-12-01T13:52:25.1363996+00:00",
"end_time": "2026-12-01T13:52:25.197729+00:00",
"elapsed_milliseconds": 61.33,
"status": "published",
"job_id": "54e592db-2337-abd4-54c6-dd06a094d3f7",
"topic": "pm.topic.ml.ensemble",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "54e592db-2337-abd4-54c6-dd06a094d3f7",
"json": {
"job_id": "54e592db-2337-abd4-54c6-dd06a094d3f7",
"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": "RandomTreesEmbedding",
"classifier_params": {
"n_estimators": 10,
"max_depth": 3,
"sparse_output": true
},
"generate_graphs": true
},
"request_timeout_seconds": 1800,
"output": {
"name": "LoadBreastCancer-TrainTestSplit-SimpleImputer-FunctionTransformer-RandomTreesEmbedding.zip",
"description": "Ensemble integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"ensemble",
"LoadBreastCancer",
"FunctionTransformer",
"RandomTreesEmbedding"
],
"encryption_key": "[REDACTED]",
"artifact_contract_version": "2.0"
}
},
"topic": "pm.topic.ml.ensemble",
"subscription": "cpu.0p5c.1gi"
}
}

Final recorded status​

{
"start_time": "2026-12-01T13:53:25.5270474+00:00",
"end_time": "2026-12-01T13:53:25.8079956+00:00",
"elapsed_milliseconds": 280.94,
"job_id": "54e592db-2337-abd4-54c6-dd06a094d3f7",
"status": "completed",
"topic": "pm.topic.ml.ensemble",
"subscription": "cpu.0p5c.1gi"
}

Result response​

{
"schema_version": "2.0",
"job_id": "54e592db-2337-abd4-54c6-dd06a094d3f7",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"status": "succeeded",
"worker": {
"name": "ensemble",
"task_family": "embedding",
"algorithm": "RandomTreesEmbedding"
},
"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"
]
},
"training": {
"effective_params": {
"n_estimators": 10,
"max_depth": 3,
"sparse_output": true,
"random_state": 42
},
"metrics": {}
},
"evaluation": null,
"artifact_files": [
"model/model.joblib",
"predictions/test_transformed.csv",
"metrics/metrics.json",
"result.json"
],
"extras": {
"algorithm": {
"learned": {
"feature_importances": [
0.052624969482990745,
0.04425373354908712,
0.0017684848719884082,
0.0272058526171521,
0.001583882843888498,
0.03092232899741985,
0.002107860629333827,
0.0038763807910421866,
0.03253700469188599,
0.02444179084435177,
0.0,
0.07999009498646875,
0.04668270021832176,
0.0,
0.0,
0.06976533143881603,
0.02329270871983826,
0.030408862118322756,
0.02567936278856741,
0.0004290280394099426,
0.023248388749949105,
0.037679684970512814,
0.007882601475883754,
0.08310614534240837,
0.04258301452326482,
0.040164408018609245,
0.04576725794076848,
0.0459863669212759,
0.054711876603479835,
0.12129987782496228
],
"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": null,
"sample_weight_column": null,
"file_format": "csv",
"task_type": "embedding",
"metrics": {
"output_feature_count": 76
}
},
"runtime": {
"captured_at_utc": "2026-12-01T13:53:03.389494+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-01T13:53:33.3167812+00:00",
"end_time": "2026-12-01T13:53:48.3067562+00:00",
"elapsed_milliseconds": 14989.79,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "78960814-0519-6c6c-5c2d-c45f1bb1d7e2",
"uploaded_blob_id": "660b2c14-7673-7a96-e15d-159311427998",
"filename": "5559b0f4-e627-9881-160c-4484dcd385ee.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 5119,
"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.