Provides the core interfaces and classes for using Tribuo.
-
class
class
Stores information about Categorical features.
class
Same as a
RealInfo
, but with an additional int id field.
class
Stores information about real valued features.
class
Contains information about a feature and can be stored in the feature map
in a
Dataset
.
Map from the feature names to their info.
Returns a copy of this variable info.
Gets the variable info associated with that feature name, or null if it's unknown.
Adds a variable info into the feature map.
Rename generates a fresh VariableInfo with the new name.
Adds a variable info into the feature map.
Generates the feature ids by sorting the features with the String comparator,
then sequentially numbering them.
protected
Constructs a feature map wrapping the supplied map.
Constructs a new immutable feature map copying the supplied variable infos and generating appropriate ID numbers.