Skip to main content

r_regression

Feature Selection standalone SDK operation. Source: 5.1.ML.FeatureSelection.cs. Read the complete C# integration test and setup.

2 recorded job(s); 2 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-StandardScaler / r_regressiontestcompletedResult recordedrun-0301
LoadDiabetes-TrainTestSplit-SimpleImputer-StandardScaler / r_regressiontraincompletedResult recordedrun-0302

Representative execution​

Scenario: LoadDiabetes-TrainTestSplit-SimpleImputer-StandardScaler / r_regression; partition: test; observed status: completed. run-0301 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.

"VarianceThreshold", "chi2", "f_classif", "mutual_info_classif", "f_regression", "r_regression", "mutual_info_regression",
"f_regression" or "r_regression" or "mutual_info_regression" => dataset == "LoadDiabetes",
case "r_regression":
AlgorithmType = "r_regression",

Request​

{
"input": {
"input_blob_id": "6c331727-dcf7-b4d0-7b6e-9fee63be403d",
"file_format": "csv",
"data_type": "numeric_table",
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"algorithm_type": "r_regression",
"algorithm_params": {
"center": true,
"force_finite": true
},
"evaluation": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true,
"stratify": false
},
"generate_graphs": false,
"target_column": "target"
},
"output": {
"name": "feature-selection-r_regression",
"description": "scikit-learn r_regression integration-test output",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"feature-selection",
"r_regression",
"integration-test"
]
},
"request_timeout_seconds": 300
}

Send response​

{
"start_time": "2026-11-29T19:27:07.7974298+00:00",
"end_time": "2026-11-29T19:27:07.8607531+00:00",
"elapsed_milliseconds": 63.32,
"status": "published",
"job_id": "2fa64428-e2ec-5ee6-f391-58697b0eee26",
"topic": "pm.topic.ml.featureselection",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "2fa64428-e2ec-5ee6-f391-58697b0eee26",
"json": {
"job_id": "2fa64428-e2ec-5ee6-f391-58697b0eee26",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"input": {
"input_blob_id": "6c331727-dcf7-b4d0-7b6e-9fee63be403d",
"input_encryption_key": "[REDACTED]",
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"file_format": "csv",
"classifier_type": "r_regression",
"classifier_params": {
"center": true,
"force_finite": true
}
},
"request_timeout_seconds": 300,
"output": {
"name": "feature-selection-r_regression",
"description": "scikit-learn r_regression integration-test output",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"feature-selection",
"r_regression",
"integration-test"
],
"encryption_key": "[REDACTED]"
},
"target_column": "target",
"evaluation": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true,
"stratify": false
},
"generate_graphs": false
},
"topic": "pm.topic.ml.featureselection",
"subscription": "cpu.0p5c.1gi"
}
}

Final recorded status​

{
"start_time": "2026-11-29T19:27:48.2065237+00:00",
"end_time": "2026-11-29T19:27:48.6227008+00:00",
"elapsed_milliseconds": 416.17,
"job_id": "2fa64428-e2ec-5ee6-f391-58697b0eee26",
"status": "completed",
"topic": "pm.topic.ml.featureselection",
"subscription": "cpu.0p5c.1gi",
"dead_letter_reason": null,
"dead_letter_error_description": null
}

Result response​

{
"jobId": "2fa64428-e2ec-5ee6-f391-58697b0eee26",
"execution": {
"executionName": "[REDACTED]",
"jobName": "[REDACTED]",
"container": {
"hostname": "[REDACTED]",
"replicaName": "[REDACTED]",
"processId": 1
}
},
"classifier_type": "r_regression",
"stats": {
"row_count": 111,
"column_count": 13,
"feature_count": 10,
"selected_feature_count": 0,
"selected_feature_columns": [],
"training_row_count": 88,
"test_row_count": 23,
"feature_columns": [
"age",
"sex",
"bmi",
"bp",
"s1",
"s2",
"s3",
"s4",
"s5",
"s6"
],
"target_columns": [
"target"
],
"file_format": "csv",
"task_type": "function",
"metrics": {}
},
"effective_params": {
"center": true,
"force_finite": true
},
"learned": {
"scores": [
0.07575525457095722,
0.18327741894623048,
0.6591162283021901,
0.4466308847695312,
0.35507835067342053,
0.3240584813068709,
-0.36133587701033737,
0.43407795490579937,
0.6432618061111309,
0.45806503638433044
],
"pvalues": null
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-11-29T19:27:45.371556+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"
}
},
"artifact_format": "zip",
"artifact_archive": "feature-selection-output.zip",
"artifact_files": [
"model.joblib",
"feature_scores.csv",
"result.json"
]
}

First extract response​

{
"start_time": "2026-11-29T19:27:57.9539909+00:00",
"end_time": "2026-11-29T19:27:59.8664222+00:00",
"elapsed_milliseconds": 1912.4,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "4be983c2-a0a0-52d8-2df0-7f3e40b4f374",
"uploaded_blob_id": "64de665a-e498-594d-74ec-555c90e1cd29",
"filename": "81a7e0b0-fd8c-a565-0743-d3a031225a53.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 2007,
"upload_status_code": 200
}

Logs​

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

Reproduce the operation​

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