Package | Description |
---|---|
org.tribuo |
Provides the core interfaces and classes for using Tribuo.
|
org.tribuo.hash |
Provides the base interface and implementations of the
Model hashing
which obscures the feature names stored in a model. |
Modifier and Type | Class and Description |
---|---|
class |
CategoricalIDInfo
Same as a
CategoricalInfo , but with an additional int id field. |
class |
RealIDInfo
Same as a
RealInfo , but with an additional int id field. |
Modifier and Type | Field and Description |
---|---|
protected Map<Integer,VariableIDInfo> |
ImmutableFeatureMap.idMap
The map from id numbers to the feature infos.
|
Modifier and Type | Method and Description |
---|---|
VariableIDInfo |
ImmutableFeatureMap.get(int id)
Gets the
VariableIDInfo
for this id number. |
VariableIDInfo |
ImmutableFeatureMap.get(String name)
Gets the
VariableIDInfo
for this name. |
VariableIDInfo |
VariableInfo.makeIDInfo(int id)
Generates a VariableIDInfo subclass which represents the same feature.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,VariableIDInfo> |
ImmutableFeatureMap.generateIDs(FeatureMap map)
Generates the feature ids by sorting the features with the String comparator,
then sequentially numbering them.
|
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.
|
Modifier and Type | Method and Description |
---|---|
VariableIDInfo |
HashedFeatureMap.get(String name) |
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.