code: public ModelCategory getModelCategory() {
        if (isSupervised())
          return (isClassifier() ?
                  (nclasses() > 2 ? ModelCategory.Multinomial : ModelCategory.Binomial) :
                  ModelCategory.Regression);
        return ModelCategory.Unknown;
      }
docs: Note: some algorithms MUST redefine this method to return other model categories