TfidfVectorizer
Text Feature Extraction standalone SDK operation. Source: 4.1.1.ML.FeatureExtraction.Text.cs. Read the complete C# integration test and setup.
1 recorded job(s); 0 have a success/completed status and a saved result. These are API records rather than independently verified test passes.
No successful result is present for this operation in the standalone output archive. The following recorded request/status is diagnostic evidence, not a working example.
Recorded scenarios
| Recorded scenario | Partition | Last status | Evidence | JSON trace |
|---|---|---|---|---|
| Fetch20Newsgroups / TfidfVectorizer | whole run | error | Failed or cancelled | run-0252 |
Representative execution
Scenario: Fetch20Newsgroups / TfidfVectorizer; partition: whole run; observed status: error. run-0252 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.
["CountVectorizer", "HashingVectorizer", "TfidfTransformer", "TfidfVectorizer"];
"TfidfVectorizer" => await SendTypedAsync(new TfidfVectorizerJobSendRequestModel
ClassifierType = "TfidfVectorizer",
Request
{
"input": {
"input_blob_id": "0c8b3d5d-569b-2101-4ec6-f23e666c53c4",
"classifier_type": "TfidfVectorizer",
"classifier_params": {
"ngram_range": [
1,
2
],
"sublinear_tf": true,
"norm": "l2"
},
"text_column": "text",
"file_format": "csv",
"evaluation": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true
},
"generate_graphs": true
},
"output": {
"name": "Fetch20Newsgroups-TfidfVectorizer.zip",
"description": "Feature extraction integration test using cached imputed training text",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"text",
"feature-extraction",
"Fetch20Newsgroups",
"TfidfVectorizer"
]
},
"request_timeout_seconds": 300
}
Send response
{
"start_time": "2026-11-29T18:50:30.9667479+00:00",
"end_time": "2026-11-29T18:50:31.0609037+00:00",
"elapsed_milliseconds": 94.15,
"status": "published",
"job_id": "04e36a42-e95f-b0ff-59cd-d5751440ca5b",
"topic": "pm.topic.ml.featureextraction",
"subscription": "cpu.0p5c.1gi",
"send_request_model": {
"job_id": "04e36a42-e95f-b0ff-59cd-d5751440ca5b",
"json": {
"job_id": "04e36a42-e95f-b0ff-59cd-d5751440ca5b",
"model_id": "0092e982-80d0-a014-f4e5-efd5ad4b95a8",
"input": {
"input_blob_id": "0c8b3d5d-569b-2101-4ec6-f23e666c53c4",
"input_encryption_key": "[REDACTED]",
"classifier_type": "TfidfVectorizer",
"classifier_params": {
"ngram_range": [
1,
2
],
"sublinear_tf": true,
"norm": "l2"
},
"text_column": "text",
"file_format": "csv"
},
"request_timeout_seconds": 300,
"output": {
"name": "Fetch20Newsgroups-TfidfVectorizer.zip",
"description": "Feature extraction integration test using cached imputed training text",
"record_type": "Generic",
"access_tier": "Hot",
"tags": [
"text",
"feature-extraction",
"Fetch20Newsgroups",
"TfidfVectorizer"
],
"encryption_key": "[REDACTED]"
},
"evaluation": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true
},
"generate_graphs": true
},
"topic": "pm.topic.ml.featureextraction",
"subscription": "cpu.0p5c.1gi"
}
}
Final recorded status
{
"start_time": "2026-11-29T18:52:01.496454+00:00",
"end_time": "2026-11-29T18:52:01.7463721+00:00",
"elapsed_milliseconds": 249.91,
"job_id": "04e36a42-e95f-b0ff-59cd-d5751440ca5b",
"status": "error",
"topic": "pm.topic.ml.featureextraction",
"subscription": "cpu.0p5c.1gi",
"dead_letter_reason": "TextExtractionJobFailed",
"dead_letter_error_description": "Stage: uploading text-feature-extraction-output.zip. Error type: ApiError. Message: ParallelModel API request failed. HTTP: 413. HTTP reason: Request Entity Too Large. Method: POST. URL: https://api.parallelmodel.io/core/api/v1/shared/model/0092e982-80d0-a014-f4e5-efd5ad4b95a8/blob/upload. Hint: The upload exceeds the API or gateway body-size limit."
}
Logs
The trace includes the saved log response (32 entries).
Reproduce the operation
dotnet test --filter "FullyQualifiedName~ParallelModel.Sdk.UnitTests.FeatureExtraction.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.