public class NeuralNetworkEvaluator extends ModelEvaluator<NeuralNetwork> implements HasEntityRegistry<Entity>
| Constructor and Description |
|---|
NeuralNetworkEvaluator(PMML pmml) |
NeuralNetworkEvaluator(PMML pmml,
NeuralNetwork neuralNetwork) |
| Modifier and Type | Method and Description |
|---|---|
Map<FieldName,?> |
evaluate(Map<FieldName,?> arguments) |
Map<String,Double> |
evaluateRaw(EvaluationContext context)
Evaluates neural network.
|
com.google.common.collect.BiMap<String,Entity> |
getEntityRegistry()
Takes the snapshot of all known (ie.
|
List<NeuralOutput> |
getOrCreateNeuralOutputs() |
String |
getSummary() |
getValue, preparegetActiveFields, getGroupFields, getMiningField, getMiningFields, getMiningSchema, getModel, getOrCreateLocalTransformations, getOrCreateOutput, getOrCreateTargets, getOutputField, getOutputFields, getPredictedFields, getTarget, getTargetField, resolveFieldfind, find, findAll, getDataDictionary, getDataField, getHeader, getModel, getModelManager, getModels, getOrCreateTransformationDictionary, getPMML, resolveFunctionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActiveFields, getDataField, getGroupFields, getMiningField, getOutputField, getOutputFields, getPredictedFields, getTargetFieldpublic NeuralNetworkEvaluator(PMML pmml)
public NeuralNetworkEvaluator(PMML pmml, NeuralNetwork neuralNetwork)
public String getSummary()
getSummary in interface Consumerpublic com.google.common.collect.BiMap<String,Entity> getEntityRegistry()
HasEntityRegistrygetEntityRegistry in interface HasEntityRegistry<Entity>Entity identifiers and Entity instances.public Map<FieldName,?> evaluate(Map<FieldName,?> arguments)
evaluate in interface Evaluatorarguments - Map of active field values.predicted field and output field values.
Simple values are represented using the Java equivalents of PMML data types (eg. String, Integer, Float, Double etc.).
Complex values are represented as instances of Computable that return simple values.Computablepublic Map<String,Double> evaluateRaw(EvaluationContext context)
NeuralInput.getId(),
Neuron.getId()public List<NeuralOutput> getOrCreateNeuralOutputs()
Copyright © 2013 University of Tartu. All Rights Reserved.