Skip to main content

ExtraTreesRegressor / Predict-regression

Prediction standalone SDK operation. Source: 8.ML.Predict.cs. Read the complete C# integration test and setup.

1 recorded job(s); 1 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
ensemble / LoadDiabetes-TrainTestSplit-SimpleImputer-StandardScaler / ExtraTreesRegressor / joblib / Predict-regressionwhole runsuccessResult recordedrun-0840

Representative execution​

Scenario: ensemble / LoadDiabetes-TrainTestSplit-SimpleImputer-StandardScaler / ExtraTreesRegressor / joblib / Predict-regression; partition: whole run; observed status: success. run-0840 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.

preprocessing: "StandardScaler", module: "ensemble", algorithm: "ExtraTreesRegressor",
("AdaBoostRegressor" or "BaggingRegressor" or "ExtraTreesRegressor" or "GradientBoostingRegressor" or "HistGradientBoostingRegressor" or "IsotonicRegression" or "KNeighborsRegressor", "Auto") => "Auto",
("AdaBoostRegressor" or "BaggingRegressor" or "ExtraTreesRegressor" or "GradientBoostingRegressor" or "HistGradientBoostingRegressor" or "IsotonicRegression" or "KNeighborsRegressor", "Predict-regression" or "Predict") => "Predict",

Request​

{
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"request_id": "fdb5be94-4430-7a06-41ec-d1f6e7816551",
"input": {
"model_blob_id": "eb5084ba-5e8e-acec-09b9-68a6973889e8",
"model_file_path": null,
"input_values": [
{
"age": 0.2,
"sex": -0.4,
"bmi": 0.6,
"bp": -0.1,
"s1": 0.3,
"s2": -0.2,
"s3": 0.1,
"s4": 0.4,
"s5": -0.3,
"s6": 0.2
}
],
"inference_type": "Predict",
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"data_type": "numeric",
"input_layout": "auto"
},
"request_timeout_seconds": 200
}

Result response​

{
"status": "success",
"request_id": "fdb5be94-4430-7a06-41ec-d1f6e7816551",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"model_blob_id": "eb5084ba-5e8e-acec-09b9-68a6973889e8",
"model_type": "sklearn.ensemble._forest.ExtraTreesRegressor",
"requested_inference_type": "Predict",
"resolved_inference_type": "Predict",
"predictions": [
{
"row_index": 0,
"values": {
"prediction_0": 165.46374256376677
}
}
],
"stats": {
"row_count": 1,
"feature_count": 10,
"output_count": 1,
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"output_columns": [
"prediction_0"
],
"input_layout": "numpy",
"output_summary": {
"prediction_0": {
"min": 165.46374256376677,
"max": 165.46374256376677,
"mean": 165.46374256376677
}
}
},
"training_metrics": {},
"evaluation_metrics": {},
"learned": {},
"warnings": [],
"elapsed_seconds": 0.008514
}

Reproduce the operation​

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