Class SpecialistOutput

java.lang.Object
org.apache.tika.ml.chardetect.SpecialistOutput

public final class SpecialistOutput extends Object
Raw per-class logits from a single MoE specialist. Labels the specialist doesn't cover are absent from the map (no OTHER class). Logits are raw (pre-softmax); pooling happens in the combiner.
  • Constructor Details

  • Method Details

    • getSpecialistName

      public String getSpecialistName()
    • getClassLogits

      public Map<String,Float> getClassLogits()
    • getCoveredLabels

      public Iterable<String> getCoveredLabels()
    • getLogit

      public Float getLogit(String label)
      Raw logit for label, or null if not covered.
    • toString

      public String toString()
      Overrides:
      toString in class Object