Skip to main content

RidgeClassifierCV

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 / RidgeClassifierCVwhole runcompletedResult recordedrun-0366
LoadBreastCancer-TrainTestSplit-SimpleImputer-KBinsDiscretizer / RidgeClassifierCVwhole runcompletedResult recordedrun-0374
LoadBreastCancer-TrainTestSplit-SimpleImputer-QuantileTransformer / RidgeClassifierCVwhole runcompletedResult recordedrun-0382
LoadBreastCancer-TrainTestSplit-SimpleImputer-StandardScaler / RidgeClassifierCVwhole runcompletedResult recordedrun-0390
LoadBreastCancer-TrainTestSplit-SimpleImputer-normalize / RidgeClassifierCVwhole runcompletedResult recordedrun-0398

Representative execution​

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

"RidgeClassifier", "RidgeClassifierCV", "SGDClassifier", "SGDOneClassSVM"
"RidgeClassifierCV" => await SendTypedAsync(new RidgeClassifierCVJobSendRequestModel
ClassifierType = "RidgeClassifierCV",

Request​

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

Send response​

{
"start_time": "2026-11-30T16:28:26.8333795+00:00",
"end_time": "2026-11-30T16:28:26.894517+00:00",
"elapsed_milliseconds": 61.14,
"status": "published",
"job_id": "1ffc681d-36c9-3dc3-3738-5817d896df11",
"topic": "pm.topic.ml.linearmodel",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "1ffc681d-36c9-3dc3-3738-5817d896df11",
"json": {
"job_id": "1ffc681d-36c9-3dc3-3738-5817d896df11",
"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": "RidgeClassifierCV",
"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-RidgeClassifierCV.zip",
"description": "Linear Model integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"linearmodel",
"LoadBreastCancer",
"FunctionTransformer",
"RidgeClassifierCV"
],
"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:29:30.2145041+00:00",
"end_time": "2026-11-30T16:29:30.703097+00:00",
"elapsed_milliseconds": 488.59,
"job_id": "1ffc681d-36c9-3dc3-3738-5817d896df11",
"status": "completed",
"topic": "pm.topic.ml.linearmodel",
"subscription": "cpu.0p5c.1gi"
}

Result response​

{
"schema_version": "2.0",
"job_id": "1ffc681d-36c9-3dc3-3738-5817d896df11",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"status": "succeeded",
"worker": {
"name": "linear_model",
"task_family": "classification",
"algorithm": "RidgeClassifierCV"
},
"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": {
"alphas": [
0.1,
1.0,
10.0
],
"class_weight": null,
"cv": null,
"fit_intercept": true,
"scoring": null,
"store_cv_results": false
},
"metrics": {
"accuracy": 0.971830985915493,
"f1_weighted": 0.9715882019113171
}
},
"evaluation": {
"partition": "test",
"metrics": {
"accuracy": 0.951048951048951,
"f1_weighted": 0.9502345545126294
}
},
"artifact_files": [
"model/model.joblib",
"predictions/predictions.csv",
"graphs/predictions.png",
"metrics/metrics.json",
"result.json"
],
"extras": {
"algorithm": {
"learned": {
"coef": [
0.31611422862479044,
-0.39322216484643957,
0.32968836228998055,
-0.33460891046750074,
-1.125736980622536,
1.5138671161870723,
-0.5250105543696711,
-1.6800125602845741,
-0.3086619748483663,
-0.13295376965976669,
0.6364529820550144,
0.1085583294631971,
0.24441954849637304,
-0.7606684669991137,
-0.589102167963264,
1.0734188616659077,
2.8350788715403263,
-0.29392591008240865,
-0.0011178966615617014,
0.14734719211085234,
0.602776761094312,
-0.29670375455671305,
0.5805518001796072,
-0.7040634273657762,
-2.4560968541702115,
-0.2790292280887847,
-1.0166519693707385,
-3.1436619326283903,
-1.7672685893920175,
-0.9824241129222919
],
"intercept": [
5.9479273570022215
],
"classes": [
0,
1
],
"alpha": 0.1,
"n_features_in": 30,
"best_score": -0.23202623284858165
},
"warnings": [],
"data": {
"row_count": 569,
"column_count": 33,
"feature_count": 30,
"file_format": "csv"
},
"runtime": {
"captured_at_utc": "2026-11-30T16:29:03.566796+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:29:40.2946434+00:00",
"end_time": "2026-11-30T16:29:41.0873729+00:00",
"elapsed_milliseconds": 792.72,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "18007d62-3264-c6b2-b016-d6438295569b",
"uploaded_blob_id": "c411edbe-f85f-8a63-9e47-ec9bc49d4936",
"filename": "ce408a94-18a3-ae44-3527-de4c03dc5bcf.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 4549,
"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.