public abstract class EntityClassification<E extends org.dmg.pmml.Entity> extends Classification implements HasEntityId, HasEntityRegistry<E>
Classification.Type| Modifier | Constructor and Description |
|---|---|
protected |
EntityClassification(Classification.Type type,
com.google.common.collect.BiMap<java.lang.String,E> entityRegistry) |
| Modifier and Type | Method and Description |
|---|---|
E |
getEntity() |
java.lang.String |
getEntityId()
Gets the
Entity identifier. |
com.google.common.collect.BiMap<java.lang.String,E> |
getEntityRegistry() |
java.lang.Double |
put(E entity,
java.lang.String key,
java.lang.Double value) |
protected void |
setEntity(E entity) |
protected com.google.common.base.Objects.ToStringHelper |
toStringHelper() |
computeResult, createOrdering, entryKeys, entrySet, entryValues, get, getResult, getType, getWinner, getWinner, getWinnerKeys, getWinnerList, getWinnerRanking, getWinnerValues, isEmpty, keySet, normalize, normalizeSoftMax, normalizeValues, put, setResult, sum, sumValues, toStringprotected EntityClassification(Classification.Type type, com.google.common.collect.BiMap<java.lang.String,E> entityRegistry)
public java.lang.String getEntityId()
HasEntityId
Gets the Entity identifier.
getEntityId in interface HasEntityIdpublic com.google.common.collect.BiMap<java.lang.String,E> getEntityRegistry()
getEntityRegistry in interface HasEntityRegistry<E extends org.dmg.pmml.Entity>Entity identifiers and Entity instances.protected com.google.common.base.Objects.ToStringHelper toStringHelper()
toStringHelper in class Classificationpublic java.lang.Double put(E entity, java.lang.String key, java.lang.Double value)
public E getEntity()
protected void setEntity(E entity)
Copyright © 2017. All Rights Reserved.