Package | Description |
---|---|
gov.sandia.cognition.data.convert.vector |
Provides utilities for doing data type conversion with vectors.
|
gov.sandia.cognition.learning.function.distance |
Provides distance functions.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractToVectorEncoder<InputType>
An abstract implementation of the
DataToVectorEncoder interface. |
class |
NumberConverterToVectorAdapter<InputType>
Adapts a
DataConverter that outputs a number to be a
VectorEncoder . |
class |
NumberToVectorEncoder
An encoder that encodes a number as an element of a
Vector . |
class |
UniqueBooleanVectorEncoder<InputType>
An encoder for arbitrary objects that encodes an equality comparison between
a given input and a set of unique values.
|
Modifier and Type | Field and Description |
---|---|
protected DataToVectorEncoder<java.lang.Boolean> |
UniqueBooleanVectorEncoder.booleanConverter
The boolean encoder for the equality comparison between each of the
possible values and a given input.
|
Modifier and Type | Method and Description |
---|---|
DataToVectorEncoder<java.lang.Boolean> |
UniqueBooleanVectorEncoder.getBooleanConverter()
Gets the boolean converter used to encode the equality comparison
between each of the unique values and a given input.
|
Modifier and Type | Method and Description |
---|---|
protected void |
UniqueBooleanVectorEncoder.setBooleanConverter(DataToVectorEncoder<java.lang.Boolean> booleanConverter)
Sets the boolean converter used to encode the equality comparison
between each of the unique values and a given input.
|
Constructor and Description |
---|
UniqueBooleanVectorEncoder(java.util.List<InputType> values,
DataToVectorEncoder<java.lang.Boolean> booleanConverter)
Creates a new
UniqueBooleanVectorEncoder . |
Modifier and Type | Class and Description |
---|---|
class |
DivergencesEvaluator<InputType,ValueType>
Evaluates the divergence (distance) between an input and a list of values,
storing the resulting divergence values in a vector.
|