public abstract class EntityClassification<E extends org.dmg.pmml.Entity,V extends Number> extends Classification<V> implements HasEntityId, HasEntityRegistry<E>
Classification.Type| Modifier | Constructor and Description |
|---|---|
protected |
EntityClassification(Classification.Type type,
ValueMap<String,V> values) |
| Modifier and Type | Method and Description |
|---|---|
E |
getEntity() |
String |
getEntityId()
Gets the
Entity identifier. |
void |
put(E entity,
String key,
Value<V> value) |
void |
put(E entity,
Value<V> value) |
protected void |
setEntity(E entity) |
protected org.jpmml.model.ToStringHelper |
toStringHelper() |
computeResult, createOrdering, entryKeys, entrySet, entryValues, getPrediction, getPredictionReport, getResult, getType, getValue, getValueReport, getValues, getWinner, getWinner, getWinnerKeys, getWinnerList, getWinnerRanking, getWinnerValues, keySet, put, setResulttoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntityRegistryprotected EntityClassification(Classification.Type type, ValueMap<String,V> values)
protected org.jpmml.model.ToStringHelper toStringHelper()
toStringHelper in class Classification<V extends Number>public String getEntityId()
HasEntityId
Gets the Entity identifier.
getEntityId in interface HasEntityIdpublic E getEntity()
protected void setEntity(E entity)
Copyright © 2018. All rights reserved.