public class SegmentResult extends com.google.common.collect.ForwardingMap<org.dmg.pmml.FieldName,java.lang.Object> implements HasEntityId
| Constructor and Description |
|---|
SegmentResult(org.dmg.pmml.mining.Segment segment,
java.lang.String segmentId,
java.util.Map<org.dmg.pmml.FieldName,?> result,
org.dmg.pmml.FieldName targetFieldName) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<org.dmg.pmml.FieldName,java.lang.Object> |
delegate() |
java.lang.String |
getEntityId()
Gets the
Entity identifier. |
java.util.Map<org.dmg.pmml.FieldName,?> |
getResult() |
org.dmg.pmml.mining.Segment |
getSegment() |
java.lang.String |
getSegmentId() |
org.dmg.pmml.FieldName |
getTargetFieldName() |
java.lang.Object |
getTargetValue() |
<V> V |
getTargetValue(java.lang.Class<V> clazz) |
java.lang.Object |
getTargetValue(org.dmg.pmml.DataType dataType) |
double |
getWeight() |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, valuespublic SegmentResult(org.dmg.pmml.mining.Segment segment,
java.lang.String segmentId,
java.util.Map<org.dmg.pmml.FieldName,?> result,
org.dmg.pmml.FieldName targetFieldName)
public java.lang.String getEntityId()
HasEntityId
Gets the Entity identifier.
getEntityId in interface HasEntityIdpublic java.util.Map<org.dmg.pmml.FieldName,java.lang.Object> delegate()
delegate in class com.google.common.collect.ForwardingMap<org.dmg.pmml.FieldName,java.lang.Object>public double getWeight()
public java.lang.Object getTargetValue()
public java.lang.Object getTargetValue(org.dmg.pmml.DataType dataType)
public <V> V getTargetValue(java.lang.Class<V> clazz)
public org.dmg.pmml.mining.Segment getSegment()
public java.lang.String getSegmentId()
public java.util.Map<org.dmg.pmml.FieldName,?> getResult()
public org.dmg.pmml.FieldName getTargetFieldName()
Copyright © 2017. All Rights Reserved.