Skip to main content

LinearSVR

Support Vector Machines standalone SDK operation. Source: 6.1.ML.Svm.cs. Read the complete C# integration test and setup.

3 recorded job(s); 3 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-KBinsDiscretizer / LinearSVRwhole runcompletedResult recordedrun-1163
LoadDiabetes-TrainTestSplit-SimpleImputer-QuantileTransformer / LinearSVRwhole runcompletedResult recordedrun-1167
LoadDiabetes-TrainTestSplit-SimpleImputer-normalize / LinearSVRwhole runcompletedResult recordedrun-1171

Representative execution​

Scenario: LoadDiabetes-TrainTestSplit-SimpleImputer-KBinsDiscretizer / LinearSVR; partition: whole run; observed status: completed. run-1163 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.

["l1_min_c", "LinearSVC", "LinearSVR", "NuSVC", "NuSVR", "OneClassSVM", "SVC", "SVR"];
("LoadDiabetes", _) => ["LinearSVR", "NuSVR", "SVR", "OneClassSVM"],
"LinearSVR" => await SendTypedAsync(new LinearSVRJobSendRequestModel
ClassifierType = "LinearSVR",

Request​

{
"input": {
"train_blob_id": "d2f69bb1-53a6-d4db-3c1c-9d30bf53b443",
"test_blob_id": "2b8a06ec-5d7e-b2c4-bea7-13cdf2a9acd2",
"classifier_type": "LinearSVR",
"classifier_params": {},
"feature_columns": [
"age_0.0",
"age_1.0",
"age_2.0",
"sex_0.0",
"bmi_0.0",
"bmi_1.0",
"bmi_2.0",
"bp_0.0",
"bp_1.0",
"bp_2.0",
"s1_0.0",
"s1_1.0",
"s1_2.0",
"s2_0.0",
"s2_1.0",
"s2_2.0",
"s3_0.0",
"s3_1.0",
"s3_2.0",
"s4_0.0",
"s4_1.0",
"s4_2.0",
"s5_0.0",
"s5_1.0",
"s5_2.0",
"s6_0.0",
"s6_1.0",
"s6_2.0"
],
"file_format": "csv",
"target_column": "target",
"generate_graphs": true
},
"output": {
"name": "LoadDiabetes-TrainTestSplit-SimpleImputer-KBinsDiscretizer-LinearSVR.zip",
"description": "SVM integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"svm",
"LoadDiabetes",
"KBinsDiscretizer",
"LinearSVR"
],
"artifact_contract_version": "2.0"
},
"request_timeout_seconds": 300
}

Send response​

{
"start_time": "2026-11-30T13:27:55.3891005+00:00",
"end_time": "2026-11-30T13:27:55.4403241+00:00",
"elapsed_milliseconds": 51.22,
"status": "published",
"job_id": "a5a8c193-bebe-2970-de91-0a1a1ed5b698",
"topic": "pm.topic.ml.svm",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "a5a8c193-bebe-2970-de91-0a1a1ed5b698",
"json": {
"job_id": "a5a8c193-bebe-2970-de91-0a1a1ed5b698",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"input": {
"train_blob_id": "d2f69bb1-53a6-d4db-3c1c-9d30bf53b443",
"train_encryption_key": "[REDACTED]",
"test_blob_id": "2b8a06ec-5d7e-b2c4-bea7-13cdf2a9acd2",
"test_encryption_key": "[REDACTED]",
"classifier_type": "LinearSVR",
"classifier_params": {},
"feature_columns": [
"age_0.0",
"age_1.0",
"age_2.0",
"sex_0.0",
"bmi_0.0",
"bmi_1.0",
"bmi_2.0",
"bp_0.0",
"bp_1.0",
"bp_2.0",
"s1_0.0",
"s1_1.0",
"s1_2.0",
"s2_0.0",
"s2_1.0",
"s2_2.0",
"s3_0.0",
"s3_1.0",
"s3_2.0",
"s4_0.0",
"s4_1.0",
"s4_2.0",
"s5_0.0",
"s5_1.0",
"s5_2.0",
"s6_0.0",
"s6_1.0",
"s6_2.0"
],
"file_format": "csv"
},
"request_timeout_seconds": 300,
"output": {
"name": "LoadDiabetes-TrainTestSplit-SimpleImputer-KBinsDiscretizer-LinearSVR.zip",
"description": "SVM integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"svm",
"LoadDiabetes",
"KBinsDiscretizer",
"LinearSVR"
],
"encryption_key": "[REDACTED]",
"artifact_contract_version": "2.0"
},
"target_column": "target",
"evaluation": null,
"generate_graphs": true
},
"topic": "pm.topic.ml.svm",
"subscription": "cpu.0p5c.1gi"
}
}

Final recorded status​

{
"start_time": "2026-11-30T13:28:55.7716162+00:00",
"end_time": "2026-11-30T13:28:56.7895124+00:00",
"elapsed_milliseconds": 1017.88,
"job_id": "a5a8c193-bebe-2970-de91-0a1a1ed5b698",
"status": "completed",
"topic": "pm.topic.ml.svm",
"subscription": "cpu.0p5c.1gi"
}

Result response​

{
"schema_version": "2.0",
"job_id": "a5a8c193-bebe-2970-de91-0a1a1ed5b698",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"status": "succeeded",
"worker": {
"name": "svm",
"task_family": "regression",
"algorithm": "LinearSVR"
},
"input": {
"mode": "prepared_train_test",
"partitions": {
"train": {
"blob_id": "d2f69bb1-53a6-d4db-3c1c-9d30bf53b443",
"row_count": 331
},
"test": {
"blob_id": "2b8a06ec-5d7e-b2c4-bea7-13cdf2a9acd2",
"row_count": 111
}
},
"feature_columns": [
"age_0.0",
"age_1.0",
"age_2.0",
"sex_0.0",
"bmi_0.0",
"bmi_1.0",
"bmi_2.0",
"bp_0.0",
"bp_1.0",
"bp_2.0",
"s1_0.0",
"s1_1.0",
"s1_2.0",
"s2_0.0",
"s2_1.0",
"s2_2.0",
"s3_0.0",
"s3_1.0",
"s3_2.0",
"s4_0.0",
"s4_1.0",
"s4_2.0",
"s5_0.0",
"s5_1.0",
"s5_2.0",
"s6_0.0",
"s6_1.0",
"s6_2.0"
],
"target_columns": [
"target"
]
},
"training": {
"effective_params": {
"C": 1.0,
"dual": "auto",
"epsilon": 0.0,
"fit_intercept": true,
"intercept_scaling": 1.0,
"loss": "epsilon_insensitive",
"max_iter": 1000,
"random_state": null,
"tol": 0.0001,
"verbose": 0
},
"metrics": {}
},
"evaluation": {
"partition": "test",
"metrics": {
"mae": 43.03321812197639,
"mse": 3012.7092555554896,
"r2": 0.45517572130423223
}
},
"artifact_files": [
"model/model.joblib",
"predictions/predictions.csv",
"graphs/predictions.png",
"graphs/actual_vs_predicted.png",
"result.json"
],
"extras": {
"algorithm": {
"learned": {
"coef": [
4.2101422438752785,
9.07138873777201,
14.279672738199409,
27.561203719846713,
-7.076090114401755,
0.831866763427487,
33.805427070820976,
-5.784010506248259,
7.369105114296405,
25.97610911179856,
9.611158363360625,
6.724867966897568,
11.2251773895885,
14.770121233781744,
1.5114097478655384,
11.279672738199416,
18.316836818686518,
12.923909885598244,
-3.6795429844380534,
5.0191895115716925,
8.841037129578874,
13.700977078696127,
-5.926315139817392,
1.8410371295788817,
31.64648173008523,
5.019189511571696,
2.565905096476445,
19.976109111798557
],
"intercept": [
27.561203719846713
],
"n_iter": 12,
"n_features_in": 28
},
"warnings": [],
"data": {
"row_count": 442,
"column_count": 31,
"feature_count": 28,
"file_format": "csv"
},
"runtime": {
"captured_at_utc": "2026-11-30T13:28:42.855259+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": {
"executionName": "[REDACTED]",
"jobName": "[REDACTED]",
"container": {
"hostname": "[REDACTED]",
"replicaName": "[REDACTED]",
"processId": 1
}
}
},
"build": {
"built_at_utc": null,
"source": "unavailable",
"image_tag": null
}
}
}

First extract response​

{
"start_time": "2026-11-30T13:29:06.6123092+00:00",
"end_time": "2026-11-30T13:29:07.4408618+00:00",
"elapsed_milliseconds": 828.54,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "cf0a0f1a-a012-1cf6-91d9-dbc6d5325f89",
"uploaded_blob_id": "7c7600bf-3d01-4e8c-4869-ff1c8d893e49",
"filename": "399b09f8-5297-c1d2-b2ea-71c81bdf8ce5.json",
"source_path": "result.json",
"source_format": "json",
"size_bytes": 4025,
"upload_status_code": 200
}

Logs​

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

Reproduce the operation​

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