public class ExamplePair extends Example
Constructor and Description |
---|
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
|
Vector |
getZeroVector(String representationIdentifier) |
void |
normalize()
Forces every representation of this example to be a unit vector in its
explicit feature space
|
String |
toString() |
addLabel, clone, equals, getClassificationLabels, getId, getLabels, getNumberOfClassificationLabels, getNumberOfRegressionLabels, getRegressionLabels, getRegressionValue, getRegressionValues, getTextualLabelPart, isExampleOf, setClassificationLabels, setLabels, setRegressionValues
public Example getLeftExample()
public Example getRightExample()
public void normalize()
Example
Note: some representations cannot be normalized
public Vector getZeroVector(String representationIdentifier)
getZeroVector
in class Example
Copyright © 2014 Semantic Analytics Group @ Uniroma2. All rights reserved.