docs: private double scoreOf(int[] feats, L label) {
      int iLabel = labelIndex.indexOf(label);
      double score = 0.0;
      for (int feat : feats) {
        score += weight(feat, iLabel);
      }
      return score + thresholds[iLabel];
    }