Modifier and Type | Method and Description |
---|---|
static <A> ObjectFloatPair<A> |
MajorityVoting.calculateBasicMajorityVote(List<A> data)
Returns the basic majority vote or null if there is no majority within
the given list of annotations.
|
Modifier and Type | Method and Description |
---|---|
static <A> Map<String,ObjectFloatPair<A>> |
MajorityVoting.calculateBasicMajorityVote(Map<String,List<A>> data)
Calculated the majority vote for a set of subjects, where each subject
has a set of answers.
|
Modifier and Type | Method and Description |
---|---|
ObjectFloatPair<Point2d> |
FNormalLandmarkModel.updatePosition(FImage image,
Point2d initial,
PointList pointList) |
ObjectFloatPair<Point2d> |
FPatchLandmarkModel.updatePosition(FImage image,
Point2d initial,
PointList pointList) |
ObjectFloatPair<Point2d> |
LandmarkModel.updatePosition(I image,
Point2d initial,
PointList pointList)
Estimate an improved fit based on a local neighbourhood search.
|
Modifier and Type | Method and Description |
---|---|
ObjectFloatPair<StumpClassifier> |
StumpClassifier.WeightedLearner.learn(LabelledDataProvider trainingSet,
float[] _weights) |
Modifier and Type | Method and Description |
---|---|
List<ObjectFloatPair<StumpClassifier>> |
AdaBoost.learn(LabelledDataProvider trainingSet,
int numberOfRounds) |
Modifier and Type | Method and Description |
---|---|
static boolean |
AdaBoost.classify(float[] data,
List<ObjectFloatPair<StumpClassifier>> ensemble) |
static boolean |
AdaBoost.classify(float[] data,
List<ObjectFloatPair<StumpClassifier>> ensemble,
float threshold) |
void |
AdaBoost.printClassificationQuality(LabelledDataProvider data,
List<ObjectFloatPair<StumpClassifier>> ensemble,
float threshold) |
Modifier and Type | Field and Description |
---|---|
static Comparator<ObjectFloatPair<?>> |
ObjectFloatPair.SECOND_ITEM_ASCENDING_COMPARATOR
Comparator for comparing the second element of a
ObjectFloatPair in ascending order. |
static Comparator<ObjectFloatPair<?>> |
ObjectFloatPair.SECOND_ITEM_DESCENDING_COMPARATOR
Comparator for comparing the second element of a
ObjectFloatPair in descending order. |
Modifier and Type | Method and Description |
---|---|
static <Q> ObjectFloatPair<Q> |
ObjectFloatPair.pair(Q q,
float t)
Create a pair from the given objects.
|
Modifier and Type | Method and Description |
---|---|
static <Q> List<Q> |
ObjectFloatPair.getFirst(Iterable<ObjectFloatPair<Q>> data)
Extract the first objects from a list of pairs.
|
static <Q> gnu.trove.list.array.TFloatArrayList |
ObjectFloatPair.getSecond(Iterable<ObjectFloatPair<Q>> data)
Extract the second objects from a list of pairs.
|