public class ExamplePair extends SimpleExample
logger
Constructor and Description |
---|
ExamplePair() |
ExamplePair(Example left,
Example right) |
Modifier and Type | Method and Description |
---|---|
Example |
getLeftExample()
Returns the left example in the pair
|
Example |
getRightExample()
Returns the right example in the pair
|
boolean |
isCompatible(Example example)
Evaluates whether an example is compatible with this one, i.e., they have the
same structure in terms of Example type and representations
|
void |
manipulate(Manipulator manipulator)
Manipulates this example according to the provided
manipulator . |
String |
toString() |
addRepresentation, equals, equalsIgnoreLabels, getNumberOfRepresentations, getRepresentation, getRepresentations, printExample, setRepresentations
addLabel, duplicate, getClassificationLabels, getId, getLabels, getNumberOfClassificationLabels, getNumberOfRegressionLabels, getRegressionLabels, getRegressionValue, getRegressionValues, getTextualLabelPart, isExampleOf, setClassificationLabels, setLabels, setRegressionValues
public Example getLeftExample()
public Example getRightExample()
public String toString()
toString
in class SimpleExample
public void manipulate(Manipulator manipulator)
manipulator
. The manipulation strategy is applied
both to the representations stored directly in this ExamplePair and the ones stored in the left and right
examplesmanipulate
in class SimpleExample
manipulator
- the manipulatorpublic boolean isCompatible(Example example)
Example
isCompatible
in class SimpleExample
example
- the example to be compared with this oneCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.