public final class InputTargetPair extends Object implements Comparable<InputTargetPair>
(inputValue, targetValue)
. Used in the context of a PMML
"PairCounts" element, the inputValue
corresponds to the
"value" attribute and the targetValue
corresponds to the
"value" attribute of the "TargetStatistics" child-element.Constructor and Description |
---|
InputTargetPair(String inputValue,
String targetValue)
Create a new InputTargetPair.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(InputTargetPair o)
Compare this to another InputTargetPair.
|
boolean |
equals(Object o)
Two
InputTargetPair |
String |
getInputValue()
Returns the input value of this pair.
|
String |
getTargetValue()
Returns the target value of this pair.
|
int |
hashCode()
Returns a hashCode based on input value and target value.
|
String |
toString()
Returns a string representation of this object.
|
public boolean equals(Object o)
InputTargetPair's are equal if their input values and target values
are equal.
public int hashCode()
public String toString()
public String getInputValue()
public String getTargetValue()
public int compareTo(InputTargetPair o)
compareTo
in interface Comparable<InputTargetPair>
Copyright © 2016 Actian Corporation. All rights reserved.