docs: @Override
      public void setConf(Configuration conf) {
          super.setConf(conf);
          numFeatures = conf.getInt(NUM_FEATURES, -1);
          if (numFeatures < 0)
              numFeatures = conf.getInt(NUM_ATTRIBUTES, -1);
          if (numFeatures < 0)
              throw new UnsupportedOperationException("numFeatures must be set in configuration");
          appendLabel = conf.getBoolean(APPEND_LABEL, true);
          multilabel = conf.getBoolean(MULTILABEL, false);
          zeroBasedIndexing = conf.getBoolean(ZERO_BASED_INDEXING, true);
          zeroBasedLabelIndexing = conf.getBoolean(ZERO_BASED_LABEL_INDEXING, false);
          numLabels = conf.getInt(NUM_LABELS, -1);
          if (multilabel && numLabels < 0)
              throw new UnsupportedOperationException("numLabels must be set in confirmation for multilabel problems");
      }