| Package | Description |
|---|---|
| gov.sandia.cognition.data.convert.vector |
Provides utilities for doing data type conversion with vectors.
|
| 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<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<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<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(List<InputType> values,
DataToVectorEncoder<Boolean> booleanConverter)
Creates a new
UniqueBooleanVectorEncoder. |
Copyright © 2006–2019 Sandia National Laboratories. All rights reserved.