Class CategoryFeatureNode


  • public final class CategoryFeatureNode
    extends FeatureNode
    A GBDT node representing a set inclusion test: feature IN [value-list] where values can be strings or numbers.
    Author:
    bratseth
    • Constructor Detail

      • CategoryFeatureNode

        public CategoryFeatureNode​(java.lang.String feature,
                                   Value[] values,
                                   java.util.Optional<java.lang.Integer> samples,
                                   TreeNode left,
                                   TreeNode right)
    • Method Detail

      • values

        public Value[] values()
        Returns a copy of the array of values in this