Class Tree

    • Field Detail

      • FEATURE_NAMES

        public static final ParseField FEATURE_NAMES
      • TREE_STRUCTURE

        public static final ParseField TREE_STRUCTURE
      • TARGET_TYPE

        public static final ParseField TARGET_TYPE
      • CLASSIFICATION_LABELS

        public static final ParseField CLASSIFICATION_LABELS
    • Method Detail

      • getFeatureNames

        public java.util.List<java.lang.String> getFeatureNames()
        Specified by:
        getFeatureNames in interface TrainedModel
        Returns:
        List of featureNames expected by the model. In the order that they are expected
      • getNodes

        public java.util.List<TreeNode> getNodes()
      • getClassificationLabels

        @Nullable
        public java.util.List<java.lang.String> getClassificationLabels()
      • getTargetType

        public TargetType getTargetType()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object