Purview classification issue

divya 0 Reputation points
2026-06-28T17:41:09.7533333+00:00

Subject: Trainable classifier completes with 0% accuracy / "training completed with failures" — need diagnostics

Product: Microsoft Purview — Trainable Classifiers (Data Classification)

Summary: We created a custom trainable classifier using seed content stored in SharePoint. Training completes but returns a 0% accuracy score with the message "Training completed with failures — based on your accuracy score, we recommend trying again with a different set of samples." The test-results view for the classifier is empty, so we have no per-document detail on what failed.

Environment / setup:

  • Seed content is in a dedicated SharePoint site, in the default document library, organized into top-level folders.
  • Each positive folder has 50+ files; negative pool is well over 150 files. Files are unencrypted Office/PDF documents in English.
  • Classifier was created successfully and the seed folders were selectable in the picker.
  • Account creating the classifier has Compliance Administrator and Security Administrator roles; tenant is licensed for E5/E5 Compliance.

What we have already checked:

  • Confirmed sample counts meet the 50 positive / 150 negative minimums.
  • Confirmed files are unencrypted and in supported formats/language.
  • Confirmed the seed site/library is indexed and the folders resolve in the classifier picker.
  • Reviewed the classifier detail page — it shows the 0% score but the test-items / matched-items view is empty.

Questions / requests:

  1. Can you check the service-side training job for this classifier and confirm the specific reason training failed (e.g. ingestion/parse errors, insufficient differentiation between positive and negative sets, or other)?
  2. Are there any per-document or per-sample diagnostic logs available on your side indicating which samples could not be ingested/parsed, or were found non-differentiable? The portal exposes none to us.
  3. Is the 0% score the result of the model falling below an internal confidence threshold, and if so, is that threshold documented anywhere we can reference?
  4. Is there anything on the service/indexing side (content classification crawl, sample ingestion) that could be contributing, independent of the sample content itself?
  5. Any recommended remediation beyond "choose a different sample set" — e.g. specific guidance on positive/negative set composition for this failure mode?

Goal: Confirm whether this is purely a sample-composition issue or whether anything service-side is contributing, before we invest in rebuilding the sample sets.

Impact: Blocking an auto-labeling rollout; medium priority. Classifier ID and supporting screenshots available on request through the case.Subject: Trainable classifier completes with 0% accuracy / "training completed with failures" — need diagnostics

Product: Microsoft Purview — Trainable Classifiers (Data Classification)

Summary:
We created a custom trainable classifier using seed content stored in SharePoint. Training completes but returns a 0% accuracy score with the message "Training completed with failures — based on your accuracy score, we recommend trying again with a different set of samples." The test-results view for the classifier is empty, so we have no per-document detail on what failed.

Environment / setup:

  • Seed content is in a dedicated SharePoint site, in the default document library, organized into top-level folders.
  • Each positive folder has 50+ files; negative pool is well over 150 files. Files are unencrypted Office/PDF documents in English.
  • Classifier was created successfully and the seed folders were selectable in the picker.
  • Account creating the classifier has Compliance Administrator and Security Administrator roles; tenant is licensed for E5/E5 Compliance.

What we have already checked:

  • Confirmed sample counts meet the 50 positive / 150 negative minimums.
  • Confirmed files are unencrypted and in supported formats/language.
  • Confirmed the seed site/library is indexed and the folders resolve in the classifier picker.
  • Reviewed the classifier detail page — it shows the 0% score but the test-items / matched-items view is empty.

Questions / requests:

  1. Can you check the service-side training job for this classifier and confirm the specific reason training failed (e.g. ingestion/parse errors, insufficient differentiation between positive and negative sets, or other)?
  2. Are there any per-document or per-sample diagnostic logs available on your side indicating which samples could not be ingested/parsed, or were found non-differentiable? The portal exposes none to us.
  3. Is the 0% score the result of the model falling below an internal confidence threshold, and if so, is that threshold documented anywhere we can reference?
  4. Is there anything on the service/indexing side (content classification crawl, sample ingestion) that could be contributing, independent of the sample content itself?
  5. Any recommended remediation beyond "choose a different sample set" — e.g. specific guidance on positive/negative set composition for this failure mode?

Goal: Confirm whether this is purely a sample-composition issue or whether anything service-side is contributing, before we invest in rebuilding the sample sets.

Impact: Blocking an auto-labeling rollout; medium priority. Classifier ID and supporting screenshots available on request through the case.

Azure | Azure Training
0 comments No comments

1 answer

Sort by: Most helpful
  1. YucelD 185 Reputation points
    2026-06-29T10:00:26.0733333+00:00

    Hi @divya

     To ensure successful training of a Microsoft Purview Trainable Classifier, it is essential that the source content used for positive and negative samples is clearly and meaningfully distinct. The positive sample set must exclusively represent the target classification category, while the negative sample set should contain unrelated and diverse content that does not overlap with or resemble the positive examples. Any similarity between the two datasets—whether in subject matter, terminology, structure, or document type—can reduce model effectiveness and lead to inaccurate or failed training results.

     As we must acknowledge, even though the files are different, similarities in content are among the most common errors in this regard. First of all, may I ask for your feedback regarding this matter?

     Could you please confirm whether the "Source of the negative sample content" and "Source of the positive sample content" have distinctly separated samples?

    Best.

    YucelD.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.