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 |
|---|---|
java.util.Map<FieldName,?> |
evaluate(java.util.Map<FieldName,?> arguments) |
java.util.Map<java.lang.String,java.lang.Double> |
evaluateRaw(EvaluationContext context)
Evaluates neural network.
|
com.google.common.collect.BiMap<java.lang.String,Entity> |
getEntityRegistry()
Takes the snapshot of all known (ie.
|
java.util.List<NeuralOutput> |
getOrCreateNeuralOutputs() |
java.lang.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 java.lang.String getSummary()
getSummary in interface ConsumergetSummary in class ModelManager<NeuralNetwork>public com.google.common.collect.BiMap<java.lang.String,Entity> getEntityRegistry()
HasEntityRegistrygetEntityRegistry in interface HasEntityRegistry<Entity>Entity identifiers and Entity instances.public java.util.Map<FieldName,?> evaluate(java.util.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.
A missing result is represented by null.Computablepublic java.util.Map<java.lang.String,java.lang.Double> evaluateRaw(EvaluationContext context)
NeuralInput.getId(),
Neuron.getId()public java.util.List<NeuralOutput> getOrCreateNeuralOutputs()
Copyright © 2013 University of Tartu. All Rights Reserved.