Skip to main content

LogisticRegressionCV

Linear Models standalone SDK operation. Source: 6.3.ML.LinearModel.cs. Read the complete C# integration test and setup.

5 recorded job(s); 5 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 / LogisticRegressionCVwhole runcompletedResult recordedrun-0362
LoadBreastCancer-TrainTestSplit-SimpleImputer-KBinsDiscretizer / LogisticRegressionCVwhole runcompletedResult recordedrun-0370
LoadBreastCancer-TrainTestSplit-SimpleImputer-QuantileTransformer / LogisticRegressionCVwhole runcompletedResult recordedrun-0378
LoadBreastCancer-TrainTestSplit-SimpleImputer-StandardScaler / LogisticRegressionCVwhole runcompletedResult recordedrun-0386
LoadBreastCancer-TrainTestSplit-SimpleImputer-normalize / LogisticRegressionCVwhole runcompletedResult recordedrun-0394

Representative execution​

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

"LogisticRegression", "LogisticRegressionCV", "PassiveAggressiveClassifier", "Perceptron",
"LogisticRegressionCV" => await SendTypedAsync(new LogisticRegressionCVJobSendRequestModel
ClassifierType = "LogisticRegressionCV",

Request​

{
"input": {
"train_blob_id": "6cd0072c-cacf-f966-963c-7dc144f9db7c",
"test_blob_id": "608f8ac2-dcb0-3eb6-7fa1-4c76b6136d96",
"classifier_type": "LogisticRegressionCV",
"classifier_params": {},
"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",
"target_column": "target",
"target_columns": null,
"generate_graphs": true
},
"output": {
"name": "LoadBreastCancer-TrainTestSplit-SimpleImputer-FunctionTransformer-LogisticRegressionCV.zip",
"description": "Linear Model integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"linearmodel",
"LoadBreastCancer",
"FunctionTransformer",
"LogisticRegressionCV"
],
"artifact_contract_version": "2.0"
},
"request_timeout_seconds": 300
}

Send response​

{
"start_time": "2026-11-30T16:18:57.1710827+00:00",
"end_time": "2026-11-30T16:18:57.3101125+00:00",
"elapsed_milliseconds": 139.03,
"status": "published",
"job_id": "2b6f8069-a0bc-bf6d-477e-83dc1ad29c46",
"topic": "pm.topic.ml.linearmodel",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "2b6f8069-a0bc-bf6d-477e-83dc1ad29c46",
"json": {
"job_id": "2b6f8069-a0bc-bf6d-477e-83dc1ad29c46",
"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]",
"classifier_type": "LogisticRegressionCV",
"classifier_params": {},
"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"
},
"request_timeout_seconds": 300,
"output": {
"name": "LoadBreastCancer-TrainTestSplit-SimpleImputer-FunctionTransformer-LogisticRegressionCV.zip",
"description": "Linear Model integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"linearmodel",
"LoadBreastCancer",
"FunctionTransformer",
"LogisticRegressionCV"
],
"encryption_key": "[REDACTED]",
"artifact_contract_version": "2.0"
},
"target_column": "target",
"target_columns": null,
"evaluation": null,
"generate_graphs": true
},
"topic": "pm.topic.ml.linearmodel",
"subscription": "cpu.0p5c.1gi"
}
}

Final recorded status​

{
"start_time": "2026-11-30T16:19:57.603668+00:00",
"end_time": "2026-11-30T16:19:57.973687+00:00",
"elapsed_milliseconds": 370.01,
"job_id": "2b6f8069-a0bc-bf6d-477e-83dc1ad29c46",
"status": "completed",
"topic": "pm.topic.ml.linearmodel",
"subscription": "cpu.0p5c.1gi"
}

Result response​

{
"schema_version": "2.0",
"job_id": "2b6f8069-a0bc-bf6d-477e-83dc1ad29c46",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"status": "succeeded",
"worker": {
"name": "linear_model",
"task_family": "classification",
"algorithm": "LogisticRegressionCV"
},
"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"
],
"target_columns": [
"target"
]
},
"training": {
"effective_params": {
"Cs": 10,
"class_weight": null,
"cv": null,
"dual": false,
"fit_intercept": true,
"intercept_scaling": 1.0,
"l1_ratios": "warn",
"max_iter": 100,
"n_jobs": null,
"penalty": "deprecated",
"random_state": null,
"refit": true,
"scoring": "warn",
"solver": "lbfgs",
"tol": 0.0001,
"use_legacy_attributes": "warn",
"verbose": 0
},
"metrics": {
"accuracy": 0.9835680751173709,
"f1_weighted": 0.9835357270875407
}
},
"evaluation": {
"partition": "test",
"metrics": {
"accuracy": 0.986013986013986,
"f1_weighted": 0.986013986013986
}
},
"artifact_files": [
"model/model.joblib",
"predictions/predictions.csv",
"graphs/predictions.png",
"metrics/metrics.json",
"result.json"
],
"extras": {
"algorithm": {
"learned": {
"coef": [
[
-0.5067195540535488,
1.74995878057301,
4.002720064865291,
-0.623870273662314,
-7.581867822657636,
2.7306152732356215,
-5.910065964550823,
-10.127661894713578,
-5.899273661910142,
-0.20528394505675432,
-12.313385862967008,
5.629255286583397,
0.4238673717755489,
-2.279050632422833,
-1.2195550108127122,
9.012901573733407,
9.336320457809851,
-0.9641211350655349,
2.195719962742678,
1.4865902791063226,
-2.821720445635022,
-12.943601220538623,
4.3774877953992855,
-7.247582242869306,
-13.212037206898716,
6.468089424602682,
-10.956641539378921,
-16.866097787942987,
-10.28683535409922,
-0.16755769690484884
]
],
"intercept": [
76.847744458146
],
"classes": [
0,
1
],
"l1_ratio": [
null
],
"n_iter": [
[
[
15,
19,
25,
40,
45,
85,
100,
100,
62,
77
],
[
15,
18,
25,
29,
53,
56,
100,
100,
85,
2
],
[
15,
18,
25,
34,
52,
90,
77,
73,
71,
0
],
[
15,
19,
24,
46,
49,
63,
100,
60,
79,
0
],
[
15,
17,
25,
49,
45,
100,
100,
85,
76,
77
]
]
],
"n_features_in": 30,
"scores": {
"1": [
[
0.627906976744186,
0.627906976744186,
0.8837209302325582,
0.9186046511627907,
0.9186046511627907,
0.9534883720930233,
0.9767441860465116,
0.9883720930232558,
0.9651162790697675,
0.9534883720930233
],
[
0.6235294117647059,
0.6235294117647059,
0.8117647058823529,
0.9176470588235294,
0.9411764705882353,
0.9764705882352941,
0.9764705882352941,
0.9764705882352941,
0.9647058823529412,
0.9647058823529412
],
[
0.6235294117647059,
0.6235294117647059,
0.788235294117647,
0.8941176470588236,
0.9411764705882353,
0.9176470588235294,
0.9411764705882353,
0.9529411764705882,
0.9647058823529412,
0.9647058823529412
],
[
0.6235294117647059,
0.6235294117647059,
0.8352941176470589,
0.9176470588235294,
0.9294117647058824,
0.9529411764705882,
0.9529411764705882,
0.9647058823529412,
0.9764705882352941,
0.9764705882352941
],
[
0.6352941176470588,
0.6352941176470588,
0.8352941176470589,
0.9176470588235294,
0.9411764705882353,
0.9647058823529412,
0.9764705882352941,
0.9647058823529412,
0.9647058823529412,
0.9529411764705882
]
]
}
},
"warnings": [
{
"category": "FutureWarning",
"count": 3
},
{
"category": "ConvergenceWarning",
"count": 7
}
],
"data": {
"row_count": 569,
"column_count": 33,
"feature_count": 30,
"file_format": "csv"
},
"runtime": {
"captured_at_utc": "2026-11-30T16:19:45.711757+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-11-30T16:20:19.3866677+00:00",
"end_time": "2026-11-30T16:20:20.5082835+00:00",
"elapsed_milliseconds": 1121.6,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "06588b3c-e99b-6d22-8591-fd719726190f",
"uploaded_blob_id": "4110682b-9190-9173-290a-09bcd74a1219",
"filename": "6aca89ee-b474-a2f6-be65-c3f260070d43.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 7988,
"upload_status_code": 200
}

Logs​

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

Reproduce the operation​

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