public interface CognitiveModuleFactoryLearner
extends gov.sandia.cognition.util.CloneableSerializable
| Modifier and Type | Method and Description |
|---|---|
CognitiveModuleFactory |
learn(CognitiveModel model,
Collection<? extends Collection<? extends CognitiveModelInput>> datasets)
Learns a new CognitiveModuleFactory for the given CognitiveModuleFactory
containing all of the modules that will be used before the created
module factory along with the example data used to learn the factory
from.
|
CognitiveModuleFactory learn(CognitiveModel model, Collection<? extends Collection<? extends CognitiveModelInput>> datasets)
model - CognitiveModel to learn the new CognitiveModuleFactory for.
Note that this has to be a CognitiveModel, not a CognitiveModelFactory,
as the CognitiveModelInputs (needed for the dataset) needs
SemanticIdentifier, which is specific to a CognitiveModel. Since the
dataset must be created before this method call, the CognitiveModel
used to give the SemanticIdentifiers to the dataset must also be the
parameter here.datasets - The datasets containing the inputs to the CognitiveModel
for one or more sequences of dataCopyright © 2006–2015 Sandia National Laboratories. All rights reserved.