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, setRepresentationsaddLabel, duplicate, getClassificationLabels, getId, getLabels, getNumberOfClassificationLabels, getNumberOfRegressionLabels, getRegressionLabels, getRegressionValue, getRegressionValues, getTextualLabelPart, isExampleOf, setClassificationLabels, setLabels, setRegressionValuespublic Example getLeftExample()
public Example getRightExample()
public String toString()
toString in class SimpleExamplepublic 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 SimpleExamplemanipulator - the manipulatorpublic boolean isCompatible(Example example)
ExampleisCompatible in class SimpleExampleexample - the example to be compared with this oneCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.