Package | Description |
---|---|
org.tribuo |
Provides the core interfaces and classes for using Tribuo.
|
Modifier and Type | Interface and Description |
---|---|
interface |
VariableIDInfo
Adds an id number to a
VariableInfo . |
Modifier and Type | Class and Description |
---|---|
class |
CategoricalIDInfo
Same as a
CategoricalInfo , but with an additional int id field. |
class |
CategoricalInfo
Stores information about Categorical features.
|
class |
RealIDInfo
Same as a
RealInfo , but with an additional int id field. |
class |
RealInfo
Stores information about real valued features.
|
class |
SkeletalVariableInfo
Contains information about a feature and can be stored in the feature map
in a
Dataset . |
Modifier and Type | Field and Description |
---|---|
protected Map<String,VariableInfo> |
FeatureMap.m
Map from the feature names to their info.
|
Modifier and Type | Method and Description |
---|---|
VariableInfo |
VariableInfo.copy()
Returns a copy of this variable info.
|
VariableInfo |
FeatureMap.get(String name)
Gets the variable info associated with that feature name, or null if it's unknown.
|
VariableInfo |
MutableFeatureMap.put(VariableInfo info)
Adds a variable info into the feature map.
|
VariableInfo |
VariableInfo.rename(String name)
Rename generates a fresh VariableInfo with the new name.
|
Modifier and Type | Method and Description |
---|---|
Iterator<VariableInfo> |
FeatureMap.iterator() |
Modifier and Type | Method and Description |
---|---|
VariableInfo |
MutableFeatureMap.put(VariableInfo info)
Adds a variable info into the feature map.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,VariableIDInfo> |
ImmutableFeatureMap.generateIDs(List<? extends VariableInfo> list)
Generates the feature ids by sorting the features with the String comparator,
then sequentially numbering them.
|
Constructor and Description |
---|
FeatureMap(Map<String,? extends VariableInfo> m)
Constructs a feature map wrapping the supplied map.
|
ImmutableFeatureMap(List<VariableInfo> infoList)
Constructs a new immutable feature map copying the supplied variable infos and generating appropriate ID numbers.
|
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.