code: public int getSplittingAttribute()
      {
          //TODO refactor the splittingAttribute to just be in this order already
          if(splittingAttribute < catAttributes.length)//categorical feature
              return numNumericFeatures+splittingAttribute;
          //else, is Numerical attribute
          int numerAttribute = splittingAttribute - catAttributes.length;
          return numerAttribute;
      }
docs: Returns the attribute that this stump has decided to use to compute
  results. Numeric features start from 0, and categorical features start
  from the number of numeric features.
  
  @return the attribute that this stump has decided to use to compute results.