Package org.jpmml.evaluator
Class EntityClassification<E extends org.dmg.pmml.Entity<java.lang.String>,K,V extends java.lang.Number>
- java.lang.Object
-
- org.jpmml.evaluator.AbstractComputable
-
- org.jpmml.evaluator.Classification<K,V>
-
- org.jpmml.evaluator.EntityClassification<E,K,V>
-
- All Implemented Interfaces:
Computable,HasEntityId,HasEntityRegistry<E>,HasPrediction,ResultFeature
- Direct Known Subclasses:
ClusterAffinityDistribution,NeuronProbabilityDistribution,SimpleRuleScoreDistribution
public abstract class EntityClassification<E extends org.dmg.pmml.Entity<java.lang.String>,K,V extends java.lang.Number> extends Classification<K,V> implements HasEntityId, HasEntityRegistry<E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jpmml.evaluator.Classification
Classification.Type
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEntityClassification(Classification.Type type, ValueMap<K,V> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EgetEntity()java.lang.StringgetEntityId()Gets theEntity identifier.voidput(E entity, K key, Value<V> value)protected voidsetEntity(E entity)protected org.jpmml.model.ToStringHelpertoStringHelper()-
Methods inherited from class org.jpmml.evaluator.Classification
computeResult, createOrdering, entryKeys, entrySet, entryValues, getPrediction, getPredictionReport, getResult, getType, getValue, getValueReport, getValues, getWinner, getWinner, getWinnerKeys, getWinnerList, getWinnerRanking, getWinnerValues, keySet, put, setResult
-
Methods inherited from class org.jpmml.evaluator.AbstractComputable
toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jpmml.evaluator.HasEntityRegistry
getEntityRegistry
-
-
-
-
Constructor Detail
-
EntityClassification
protected EntityClassification(Classification.Type type, ValueMap<K,V> values)
-
-
Method Detail
-
toStringHelper
protected org.jpmml.model.ToStringHelper toStringHelper()
- Overrides:
toStringHelperin classClassification<K,V extends java.lang.Number>
-
getEntityId
public java.lang.String getEntityId()
Description copied from interface:HasEntityIdGets the
Entity identifier.- Specified by:
getEntityIdin interfaceHasEntityId
-
getEntity
public E getEntity()
-
setEntity
protected void setEntity(E entity)
-
-