public class MatchDataTeacher extends StringDistanceTeacher
| Constructor and Description |
|---|
MatchDataTeacher(MatchData data,
Blocker blocker) |
| Modifier and Type | Method and Description |
|---|---|
DistanceInstanceIterator |
distanceExamplePool()
A pool of unlabeled pairs of strings over which distances will be computed,
to be used for supervised learning.
|
DistanceInstanceIterator |
distanceInstancePool()
A pool of unlabeled pairs of strings over which distances will be computed,
to be used for active or semi-supervised learning.
|
boolean |
hasAnswers()
Return true if this teacher can answer more queries.
|
DistanceInstance |
labelInstance(DistanceInstance distanceInstance)
Label an instance queried by the learner.
|
StringWrapperIterator |
stringWrapperIterator()
Strings over which distances will be computed.
|
trainpublic StringWrapperIterator stringWrapperIterator()
StringDistanceTeacherstringWrapperIterator in class StringDistanceTeacherpublic DistanceInstanceIterator distanceInstancePool()
StringDistanceTeacherdistanceInstancePool in class StringDistanceTeacherpublic DistanceInstanceIterator distanceExamplePool()
StringDistanceTeacherdistanceExamplePool in class StringDistanceTeacherpublic DistanceInstance labelInstance(DistanceInstance distanceInstance)
StringDistanceTeacherlabelInstance in class StringDistanceTeacherpublic boolean hasAnswers()
StringDistanceTeacherhasAnswers in class StringDistanceTeacherCopyright © 2016. All rights reserved.