Skip to main content

f_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 / f_regressiontestcompletedResult recordedrun-0297
LoadDiabetes-TrainTestSplit-SimpleImputer-StandardScaler / f_regressiontraincompletedResult recordedrun-0298

Representative execution​

Scenario: LoadDiabetes-TrainTestSplit-SimpleImputer-StandardScaler / f_regression; partition: test; observed status: completed. run-0297 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",
string scoreFunction = regression ? "f_regression" : "f_classif";
case "f_regression":
AlgorithmType = "f_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": "f_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-f_regression",
"description": "scikit-learn f_regression integration-test output",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"feature-selection",
"f_regression",
"integration-test"
]
},
"request_timeout_seconds": 300
}

Send response​

{
"start_time": "2026-11-29T19:32:02.2502198+00:00",
"end_time": "2026-11-29T19:32:02.3675567+00:00",
"elapsed_milliseconds": 117.34,
"status": "published",
"job_id": "a516e0ec-d91a-9182-0b28-3b0e3ceaf25d",
"topic": "pm.topic.ml.featureselection",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "a516e0ec-d91a-9182-0b28-3b0e3ceaf25d",
"json": {
"job_id": "a516e0ec-d91a-9182-0b28-3b0e3ceaf25d",
"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": "f_regression",
"classifier_params": {
"center": true,
"force_finite": true
}
},
"request_timeout_seconds": 300,
"output": {
"name": "feature-selection-f_regression",
"description": "scikit-learn f_regression integration-test output",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"feature-selection",
"f_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:33:03.4663735+00:00",
"end_time": "2026-11-29T19:33:03.7896677+00:00",
"elapsed_milliseconds": 323.29,
"job_id": "a516e0ec-d91a-9182-0b28-3b0e3ceaf25d",
"status": "completed",
"topic": "pm.topic.ml.featureselection",
"subscription": "cpu.0p5c.1gi",
"dead_letter_reason": null,
"dead_letter_error_description": null
}

Result response​

{
"jobId": "a516e0ec-d91a-9182-0b28-3b0e3ceaf25d",
"execution": {
"executionName": "[REDACTED]",
"jobName": "[REDACTED]",
"container": {
"hostname": "[REDACTED]",
"replicaName": "[REDACTED]",
"processId": 1
}
},
"classifier_type": "f_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.49639055437903584,
2.989201775329301,
66.06011460852704,
21.43005594722521,
12.40724837526558,
10.090877761566256,
12.914655038713988,
19.966619429499758,
60.70404238082495,
22.8364541860123
],
"pvalues": [
0.482994007869904,
0.0874098178546129,
2.9176494179975165e-12,
1.289823674115182e-05,
0.0006872016611975521,
0.00206972252913085,
0.0005425768668426168,
2.3870045227248074e-05,
1.3954940662355127e-11,
7.205759214967618e-06
]
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-11-29T19:32:49.125764+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:33:09.1952434+00:00",
"end_time": "2026-11-29T19:33:10.0267199+00:00",
"elapsed_milliseconds": 831.47,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "eeda2ffa-2b33-655e-49c9-f90fa91d6ff1",
"uploaded_blob_id": "156320f1-52e8-c3d5-a003-69afb21fa4f1",
"filename": "10d96e97-5418-3e29-cb8f-3f7d42d9f343.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 2281,
"upload_status_code": 200
}

Logs​

The trace includes the saved log response (36 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.