Skip to main content

GaussianRandomProjection

Random Projection standalone SDK operation. Source: 7.1.ML.RandomProjection.cs. Read the complete C# integration test and setup.

22 recorded job(s); 22 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 / GaussianRandomProjectionwhole runcompletedResult recordedrun-1098
LoadBreastCancer-TrainTestSplit-SimpleImputer-KBinsDiscretizer / GaussianRandomProjectionwhole runcompletedResult recordedrun-1100
LoadBreastCancer-TrainTestSplit-SimpleImputer-QuantileTransformer / GaussianRandomProjectionwhole runcompletedResult recordedrun-1102
LoadBreastCancer-TrainTestSplit-SimpleImputer-StandardScaler / GaussianRandomProjectionwhole runcompletedResult recordedrun-1104
LoadBreastCancer-TrainTestSplit-SimpleImputer-normalize / GaussianRandomProjectionwhole runcompletedResult recordedrun-1106
LoadDiabetes-TrainTestSplit-SimpleImputer-KBinsDiscretizer / GaussianRandomProjectionwhole runcompletedResult recordedrun-1108
LoadDiabetes-TrainTestSplit-SimpleImputer-QuantileTransformer / GaussianRandomProjectionwhole runcompletedResult recordedrun-1110
LoadDiabetes-TrainTestSplit-SimpleImputer-StandardScaler / GaussianRandomProjectionwhole runcompletedResult recordedrun-1112
LoadDiabetes-TrainTestSplit-SimpleImputer-normalize / GaussianRandomProjectionwhole runcompletedResult recordedrun-1114
LoadWine-TrainTestSplit-SimpleImputer-FunctionTransformer / GaussianRandomProjectionwhole runcompletedResult recordedrun-1116
LoadWine-TrainTestSplit-SimpleImputer-KBinsDiscretizer / GaussianRandomProjectionwhole runcompletedResult recordedrun-1118
LoadWine-TrainTestSplit-SimpleImputer-QuantileTransformer / GaussianRandomProjectionwhole runcompletedResult recordedrun-1120
LoadWine-TrainTestSplit-SimpleImputer-StandardScaler / GaussianRandomProjectionwhole runcompletedResult recordedrun-1122
LoadWine-TrainTestSplit-SimpleImputer-normalize / GaussianRandomProjectionwhole runcompletedResult recordedrun-1124
MakeClassification-TrainTestSplit-SimpleImputer-KBinsDiscretizer / GaussianRandomProjectionwhole runcompletedResult recordedrun-1126
MakeClassification-TrainTestSplit-SimpleImputer-QuantileTransformer / GaussianRandomProjectionwhole runcompletedResult recordedrun-1128
MakeClassification-TrainTestSplit-SimpleImputer-StandardScaler / GaussianRandomProjectionwhole runcompletedResult recordedrun-1130
MakeClassification-TrainTestSplit-SimpleImputer-normalize / GaussianRandomProjectionwhole runcompletedResult recordedrun-1132
MakeRegression-TrainTestSplit-SimpleImputer-KBinsDiscretizer / GaussianRandomProjectionwhole runcompletedResult recordedrun-1134
MakeRegression-TrainTestSplit-SimpleImputer-QuantileTransformer / GaussianRandomProjectionwhole runcompletedResult recordedrun-1136
MakeRegression-TrainTestSplit-SimpleImputer-StandardScaler / GaussianRandomProjectionwhole runcompletedResult recordedrun-1138
MakeRegression-TrainTestSplit-SimpleImputer-normalize / GaussianRandomProjectionwhole runcompletedResult recordedrun-1140

Representative execution​

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

private static readonly string[] Algorithms = ["GaussianRandomProjection", "SparseRandomProjection"];
"GaussianRandomProjection" => await SendTypedAsync(new GaussianRandomProjectionJobSendRequestModel
ClassifierType = "GaussianRandomProjection",

Request​

{
"input": {
"input_blob_id": "6cd0072c-cacf-f966-963c-7dc144f9db7c",
"classifier_type": "GaussianRandomProjection",
"classifier_params": {
"n_components": 8,
"eps": 0.5,
"compute_inverse_components": true,
"random_state": 42
},
"data_type": "numeric",
"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",
"evaluation": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true
},
"generate_graphs": true
},
"output": {
"name": "LoadBreastCancer-TrainTestSplit-SimpleImputer-FunctionTransformer-GaussianRandomProjection.zip",
"description": "RandomProjection integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"random-projection",
"LoadBreastCancer",
"FunctionTransformer",
"GaussianRandomProjection"
]
},
"request_timeout_seconds": 300
}

Send response​

{
"start_time": "2026-12-01T12:58:52.6159142+00:00",
"end_time": "2026-12-01T12:58:52.6953953+00:00",
"elapsed_milliseconds": 79.48,
"status": "published",
"job_id": "14b38481-ff2b-8507-14ec-3ce6e987f2b8",
"topic": "pm.topic.ml.randomprojection",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "14b38481-ff2b-8507-14ec-3ce6e987f2b8",
"json": {
"job_id": "14b38481-ff2b-8507-14ec-3ce6e987f2b8",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"input": {
"input_blob_id": "6cd0072c-cacf-f966-963c-7dc144f9db7c",
"input_encryption_key": "[REDACTED]",
"classifier_type": "GaussianRandomProjection",
"classifier_params": {
"n_components": 8,
"eps": 0.5,
"compute_inverse_components": true,
"random_state": 42
},
"data_type": "numeric",
"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-GaussianRandomProjection.zip",
"description": "RandomProjection integration test using cached numerical preprocessing outputs",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"random-projection",
"LoadBreastCancer",
"FunctionTransformer",
"GaussianRandomProjection"
],
"encryption_key": "[REDACTED]"
},
"evaluation": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true
},
"generate_graphs": true
},
"topic": "pm.topic.ml.randomprojection",
"subscription": "cpu.0p5c.1gi"
}
}

Final recorded status​

{
"start_time": "2026-12-01T12:59:22.9130102+00:00",
"end_time": "2026-12-01T12:59:23.3679785+00:00",
"elapsed_milliseconds": 454.96,
"job_id": "14b38481-ff2b-8507-14ec-3ce6e987f2b8",
"status": "completed",
"topic": "pm.topic.ml.randomprojection",
"subscription": "cpu.0p5c.1gi"
}

Result response​

{
"jobId": "14b38481-ff2b-8507-14ec-3ce6e987f2b8",
"execution": {
"executionName": "[REDACTED]",
"jobName": "[REDACTED]",
"container": {
"hostname": "[REDACTED]",
"replicaName": "[REDACTED]",
"processId": 1
}
},
"classifier_type": "GaussianRandomProjection",
"stats": {
"row_count": 426,
"column_count": 33,
"feature_count": 30,
"training_row_count": 340,
"test_row_count": 86,
"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": [],
"file_format": "csv",
"task_type": "tabular_random_projection",
"metrics": {
"sampled_distance_pairs": 780,
"mean_relative_distance_error": 0.3659347792698206,
"max_relative_distance_error": 0.6986318220816591,
"fraction_within_eps": 0.7128205128205128,
"input_dimensions": 30,
"output_dimensions": 8,
"projection_ratio": 0.26666666666666666,
"johnson_lindenstrauss_min_dim": 279,
"jl_eps": 0.5,
"meets_jl_sufficient_bound": false,
"fit_scope": "training",
"output_density": 1.0
}
},
"effective_params": {
"projection": {
"n_components": 8,
"eps": 0.5,
"compute_inverse_components": true,
"random_state": 42
},
"data_type": "numeric"
},
"learned": {
"input_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"
],
"output_columns": [
"gaussianrandomprojection0",
"gaussianrandomprojection1",
"gaussianrandomprojection2",
"gaussianrandomprojection3",
"gaussianrandomprojection4",
"gaussianrandomprojection5",
"gaussianrandomprojection6",
"gaussianrandomprojection7"
],
"transformed_values_file": "projected.csv",
"compatibility_predictions_file": "predictions.csv",
"reusable_fitted_projector": "model.joblib",
"components_shape": [
8,
30
],
"random_matrix_stored_in": "model.joblib"
},
"warnings": [],
"runtime": {
"captured_at_utc": "2026-12-01T12:59:18.636312+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": "text-random-projection-output.zip",
"artifact_files": [
"model.joblib",
"predictions.csv",
"projected.csv",
"feature_names.csv",
"row_partitions.csv",
"result.json",
"graphs/distance_preservation.png"
]
}

First extract response​

{
"start_time": "2026-12-01T13:01:34.5459333+00:00",
"end_time": "2026-12-01T13:01:35.8636721+00:00",
"elapsed_milliseconds": 1317.72,
"status": "uploaded",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"source_blob_id": "89418c5e-5588-014d-4d84-5eb00ded5e40",
"uploaded_blob_id": "c1f67699-fe07-cd28-3a73-1ffa852c9654",
"filename": "303c9a4f-a7d2-866d-7d26-15ffb57af4b7.png",
"source_path": "graphs/distance_preservation.png",
"source_format": "png",
"size_bytes": 96171,
"upload_status_code": 200
}

Reproduce the operation​

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