Interface VariableIDInfo
- All Superinterfaces:
Cloneable,ProtoSerializable<org.tribuo.protos.core.VariableInfoProto>,Serializable,VariableInfo
- All Known Implementing Classes:
CategoricalIDInfo,RealIDInfo
Adds an id number to a
VariableInfo.-
Field Summary
Fields inherited from interface org.tribuo.protos.ProtoSerializable
DESERIALIZATION_METHOD_NAME, PROVENANCE_SERIALIZER -
Method Summary
Methods inherited from interface org.tribuo.protos.ProtoSerializable
serializeMethods inherited from interface org.tribuo.VariableInfo
copy, getCount, getName, makeIDInfo, rename, uniformSample
-
Method Details
-
getID
int getID()The id number associated with this variable.Ids are non-negative integers.
- Returns:
- The id number.
-