| Package | Description | 
|---|---|
| gov.sandia.cognition.data.convert | 
 Provides utilities for doing data type conversion. 
 | 
| gov.sandia.cognition.data.convert.number | 
 Provides utilities for doing data type conversion with numbers. 
 | 
| gov.sandia.cognition.evaluator | 
 Provides interfaces and classes to do with the  
Evaluator interface. | 
| gov.sandia.cognition.learning.algorithm | 
 Provides general interfaces for learning algorithms. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
ReversibleDataConverter<InputType,OutputType>
Represents a  
DataConverter whose conversion can be reversed. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractReverseCachedDataConverter<InputType,OutputType,ReverseConverterType extends DataConverter<? super OutputType,? extends InputType>>
Abstract implementation of   
ReversibleDataConverter that caches the 
 reverse converter. | 
class  | 
AbstractReversibleDataConverter<InputType,OutputType>
Abstract implementation of sthe  
ReversibleDataConverter interface. | 
class  | 
IdentityDataConverter<DataType>
A pass-through converter that just returns the given value. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DefaultBooleanToNumberConverter
Converts a  
Boolean to a Number by using predefined values
 for true, false, and (optionally) null. | 
class  | 
DefaultBooleanToNumberConverter.Reverse
The reverse converter for the  
DefaultBooleanToNumberConverter. | 
class  | 
StringToDoubleConverter
Converts a  
String to a Double using the 
 Double.valueOf method. | 
class  | 
StringToIntegerConverter
Converts a  
String to a Integer using the 
 Integer.valueOf method. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ForwardReverseEvaluatorPair<InputType,OutputType,ForwardType extends Evaluator<? super InputType,? extends OutputType>,ReverseType extends Evaluator<? super OutputType,? extends InputType>>
Represents a both a (normal) forward evaluator and its reverse as a pair. 
 | 
class  | 
IdentityEvaluator<DataType>
An identity function that returns its input as its output. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected BatchLearner<? super java.util.Collection<? extends OutputType>,? extends ReversibleEvaluator<OutputType,TransformedOutputType,?>> | 
InputOutputTransformedBatchLearner.outputLearner
The unsupervised learning algorithm for creating the output
  transformation, which must be reversible for evaluation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
BatchLearner<? super java.util.Collection<? extends OutputType>,? extends ReversibleEvaluator<OutputType,TransformedOutputType,?>> | 
InputOutputTransformedBatchLearner.getOutputLearner()
Gets the unsupervised learning algorithm for creating the
 output transformation, which must be reversible for evaluation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static <InputType,TransformedInputType,TransformedOutputType,OutputType> | 
InputOutputTransformedBatchLearner.create(BatchLearner<? super java.util.Collection<? extends InputType>,? extends Evaluator<? super InputType,? extends TransformedInputType>> inputLearner,
      BatchLearner<? super java.util.Collection<? extends InputOutputPair<? extends TransformedInputType,TransformedOutputType>>,? extends Evaluator<? super TransformedInputType,? extends TransformedOutputType>> learner,
      ReversibleEvaluator<OutputType,TransformedOutputType,?> outputTransform)
Creates a new  
InputOutputTransformedBatchLearner from the 
 unsupervised input transform learner, supervised learners, and output
 transform. | 
static <InputType,TransformedInputType,TransformedOutputType,OutputType> | 
InputOutputTransformedBatchLearner.create(Evaluator<? super InputType,? extends TransformedInputType> inputTransform,
      BatchLearner<? super java.util.Collection<? extends InputOutputPair<? extends TransformedInputType,TransformedOutputType>>,? extends Evaluator<? super TransformedInputType,? extends TransformedOutputType>> learner,
      ReversibleEvaluator<OutputType,TransformedOutputType,?> outputTransform)
Creates a new  
InputOutputTransformedBatchLearner from the
 predefined input and output transforms and the supervised learner. | 
static <InputType,TransformedOutputType,OutputType> | 
InputOutputTransformedBatchLearner.createOutputTransformed(BatchLearner<? super java.util.Collection<? extends InputOutputPair<? extends InputType,TransformedOutputType>>,? extends Evaluator<? super InputType,? extends TransformedOutputType>> learner,
                       ReversibleEvaluator<OutputType,TransformedOutputType,?> outputTransform)
Creates a new  
InputOutputTransformedBatchLearner from the
 predefined output transforms and the supervised learner. | 
| Modifier and Type | Method and Description | 
|---|---|
static <InputType,TransformedInputType,TransformedOutputType,OutputType> | 
InputOutputTransformedBatchLearner.create(BatchLearner<? super java.util.Collection<? extends InputType>,? extends Evaluator<? super InputType,? extends TransformedInputType>> inputLearner,
      BatchLearner<? super java.util.Collection<? extends InputOutputPair<? extends TransformedInputType,TransformedOutputType>>,? extends Evaluator<? super TransformedInputType,? extends TransformedOutputType>> learner,
      BatchLearner<? super java.util.Collection<? extends OutputType>,? extends ReversibleEvaluator<OutputType,TransformedOutputType,?>> outputLearner)
Creates a new  
InputOutputTransformedBatchLearner from the
 three learners. | 
static <InputType,TransformedInputType,TransformedOutputType,OutputType> | 
InputOutputTransformedBatchLearner.create(Evaluator<? super InputType,? extends TransformedInputType> inputTransform,
      BatchLearner<? super java.util.Collection<? extends InputOutputPair<? extends TransformedInputType,TransformedOutputType>>,? extends Evaluator<? super TransformedInputType,? extends TransformedOutputType>> learner,
      BatchLearner<? super java.util.Collection<? extends OutputType>,? extends ReversibleEvaluator<OutputType,TransformedOutputType,?>> outputLearner)
Creates a new  
InputOutputTransformedBatchLearner from the
 input transform, supervised learner, and unsupervised output transform
 learner. | 
static <InputType,TransformedOutputType,OutputType> | 
InputOutputTransformedBatchLearner.createOutputTransformed(BatchLearner<? super java.util.Collection<? extends InputOutputPair<? extends InputType,TransformedOutputType>>,? extends Evaluator<? super InputType,? extends TransformedOutputType>> learner,
                       BatchLearner<? super java.util.Collection<? extends OutputType>,? extends ReversibleEvaluator<OutputType,TransformedOutputType,?>> outputLearner)
Creates a new  
InputOutputTransformedBatchLearner from the
 supervised and output learners, performing no transformation on the
 input type. | 
void | 
InputOutputTransformedBatchLearner.setOutputLearner(BatchLearner<? super java.util.Collection<? extends OutputType>,? extends ReversibleEvaluator<OutputType,TransformedOutputType,?>> outputLearner)
Gets the unsupervised learning algorithm for creating the
 output transformation, which must be reversible for evaluation. 
 | 
| Constructor and Description | 
|---|
InputOutputTransformedBatchLearner(BatchLearner<? super java.util.Collection<? extends InputType>,? extends Evaluator<? super InputType,? extends TransformedInputType>> inputLearner,
                                  BatchLearner<? super java.util.Collection<? extends InputOutputPair<? extends TransformedInputType,TransformedOutputType>>,? extends Evaluator<? super TransformedInputType,? extends TransformedOutputType>> learner,
                                  BatchLearner<? super java.util.Collection<? extends OutputType>,? extends ReversibleEvaluator<OutputType,TransformedOutputType,?>> outputLearner)
Creates a new  
InputOutputTransformedBatchLearner with the given
 learners. |