Skip to main content

SelectFpr

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

4 recorded job(s); 4 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-StandardScaler / SelectFprtestcompletedResult recordedrun-0260
LoadBreastCancer-TrainTestSplit-SimpleImputer-StandardScaler / SelectFprtraincompletedResult recordedrun-0261
LoadDiabetes-TrainTestSplit-SimpleImputer-StandardScaler / SelectFprtestcompletedResult recordedrun-0284
LoadDiabetes-TrainTestSplit-SimpleImputer-StandardScaler / SelectFprtraincompletedResult recordedrun-0285

Representative execution​

Scenario: LoadBreastCancer-TrainTestSplit-SimpleImputer-StandardScaler / SelectFpr; partition: test; observed status: completed. run-0260 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.

"GenericUnivariateSelect", "SelectKBest", "SelectPercentile", "SelectFpr", "SelectFdr", "SelectFwe", "SelectFromModel", "RFE", "RFECV", "SequentialFeatureSelector"
case "SelectFpr":
AlgorithmType = "SelectFpr",

Request​

{
"input": {
"input_blob_id": "52bcdb3d-080a-5b8d-ea01-d341e8c8d6f1",
"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"
],
"algorithm_type": "SelectFpr",
"algorithm_params": {
"score_func": "f_classif",
"alpha": 0.05
},
"evaluation": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true,
"stratify": false
},
"generate_graphs": false,
"target_column": "target"
},
"output": {
"name": "feature-selection-SelectFpr",
"description": "scikit-learn SelectFpr integration-test output",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"feature-selection",
"selectfpr",
"integration-test"
]
},
"request_timeout_seconds": 300
}

Send response​

{
"start_time": "2026-11-29T19:38:02.8921801+00:00",
"end_time": "2026-11-29T19:38:02.9578675+00:00",
"elapsed_milliseconds": 65.69,
"status": "published",
"job_id": "1ab96b4c-c0e1-4d1d-2610-8e555a2db91d",
"topic": "pm.topic.ml.featureselection",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "1ab96b4c-c0e1-4d1d-2610-8e555a2db91d",
"json": {
"job_id": "1ab96b4c-c0e1-4d1d-2610-8e555a2db91d",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"input": {
"input_blob_id": "52bcdb3d-080a-5b8d-ea01-d341e8c8d6f1",
"input_encryption_key": "[REDACTED]",
"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"
],
"file_format": "csv",
"classifier_type": "SelectFpr",
"classifier_params": {
"score_func": "f_classif",
"alpha": 0.05
}
},
"request_timeout_seconds": 300,
"output": {
"name": "feature-selection-SelectFpr",
"description": "scikit-learn SelectFpr integration-test output",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"feature-selection",
"selectfpr",
"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:39:03.5424037+00:00",
"end_time": "2026-11-29T19:39:04.4040108+00:00",
"elapsed_milliseconds": 861.59,
"job_id": "1ab96b4c-c0e1-4d1d-2610-8e555a2db91d",
"status": "completed",
"topic": "pm.topic.ml.featureselection",
"subscription": "cpu.0p5c.1gi",
"dead_letter_reason": null,
"dead_letter_error_description": null
}

Result response​

{
"jobId": "1ab96b4c-c0e1-4d1d-2610-8e555a2db91d",
"execution": {
"executionName": "[REDACTED]",
"jobName": "[REDACTED]",
"container": {
"hostname": "[REDACTED]",
"replicaName": "[REDACTED]",
"processId": 1
}
},
"classifier_type": "SelectFpr",
"stats": {
"row_count": 143,
"column_count": 33,
"feature_count": 30,
"selected_feature_count": 26,
"selected_feature_columns": [
"mean radius",
"mean texture",
"mean perimeter",
"mean area",
"mean smoothness",
"mean compactness",
"mean concavity",
"mean concave points",
"mean symmetry",
"radius error",
"perimeter error",
"area error",
"compactness error",
"concavity error",
"concave points 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_row_count": 114,
"test_row_count": 29,
"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"
],
"file_format": "csv",
"task_type": "classification",
"metrics": {
"selection_fraction": 0.8666666666666667
}
},
"effective_params": {
"score_func": "f_classif",
"alpha": 0.05
},
"learned": {
"scores": [
117.27135748466617,
27.906576223098533,
129.58069708600675,
114.50021385598029,
13.840684134202451,
60.119774854026964,
154.32335267464538,
169.0381707250564,
11.5937797511843,
0.5495600708477172,
88.27726551979076,
1.6233857268697427,
89.89946428819103,
117.43015603249061,
0.15258600408712492,
20.242008382445864,
18.91058148848754,
25.17871617122935,
0.8447645420886605,
10.03396339340169,
193.14449492161384,
39.984276384819,
209.31429158885516,
169.6044532245276,
29.897700186408635,
57.51198660135849,
104.48035120215644,
177.9522891503644,
20.665090732332427,
25.73653201646874
],
"pvalues": [
3.935449753806822e-19,
6.332137511301002e-07,
2.0564269529071757e-20,
7.820029942311768e-19,
0.00031275222614540613,
4.4424395249367125e-12,
8.42206887412859e-23,
4.070189755025207e-24,
0.0009193088194058148,
0.46004907321097427,
8.210726794820064e-16,
0.2052578176151345,
5.200742258186161e-16,
3.784569755532177e-19,
0.6968182309946996,
1.676583709923493e-05,
3.0331515957306513e-05,
1.98186228065828e-06,
0.36001288593001507,
0.001980888578076627,
3.95721909732049e-26,
5.391467348938604e-09,
2.165402262166995e-27,
3.6339425409699706e-24,
2.798007811084568e-07,
1.0591014151104244e-11,
1.0077064579680405e-17,
7.013421808815594e-25,
1.3909042386233478e-05,
1.5660791177138324e-06
],
"n_features_in": 30
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-11-29T19:38:45.515415+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",
"selected_dataset.csv"
]
}

First extract response​

{
"start_time": "2026-11-29T19:39:11.7476067+00:00",
"end_time": "2026-11-29T19:39:13.0287192+00:00",
"elapsed_milliseconds": 1281.09,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "25864a37-49c8-3463-cd52-83cf483e01f7",
"uploaded_blob_id": "865523c1-164a-a50e-addc-fcb6fb80e061",
"filename": "f619540f-c41d-f614-a90a-4831aa7a8d58.csv",
"source_path": "selected_dataset.csv",
"source_format": "csv",
"size_bytes": 72851,
"upload_status_code": 200
}

Logs​

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