Package org.tribuo

Interface VariableIDInfo

All Superinterfaces:
Cloneable, ProtoSerializable<org.tribuo.protos.core.VariableInfoProto>, Serializable, VariableInfo
All Known Implementing Classes:
CategoricalIDInfo, RealIDInfo

public interface VariableIDInfo extends VariableInfo
Adds an id number to a VariableInfo.
  • Method Details

    • getID

      int getID()
      The id number associated with this variable.

      Ids are non-negative integers.

      Returns:
      The id number.