de.hpi.fgis.dude.algorithm.recordlinkage
Class NaiveRecordLinkage
java.lang.Object
de.hpi.fgis.dude.util.AbstractCleanable
de.hpi.fgis.dude.algorithm.AbstractAlgorithm
de.hpi.fgis.dude.algorithm.AbstractRecordLinkage
de.hpi.fgis.dude.algorithm.recordlinkage.NaiveRecordLinkage
- All Implemented Interfaces:
- Algorithm, Cleanable, AutoJsonable, Jsonable, Iterable<DuDeObjectPair>
public class NaiveRecordLinkage
- extends AbstractRecordLinkage
NaiveRecordLinkage
implements the naive approach for record-linkage. Each element of a DataSource
is combined with each
element of all other DataSources
.
Example:
The example above will generate the following result:
- (a1, b1)
- (a1, b2)
- (a1, c1)
- (a2, b1)
- (a2, b2)
- (a2, c1)
- (a3, b1)
- (a3, b2)
- (a3, c1)
- (b1, c1)
- (b2, c1)
- Author:
- Matthias Pohl
Methods inherited from class de.hpi.fgis.dude.algorithm.AbstractRecordLinkage |
addSource, dataSourceAttached, equals, fromJson, getData, getData, getDataSize, getMaximumPairCount, hashCode, iterator, preprocessData, toJson, unregisterDataSources |
Methods inherited from class de.hpi.fgis.dude.algorithm.AbstractAlgorithm |
addDataSource, addPreprocessor, addPreprocessor, analyzeDuDeObject, createStorage, dataExtracted, disableInMemoryProcessing, enableInMemoryProcessing, finishExtraction, finishPreprocessing, forceExtraction, getDataSize, getExtractedData, inMemoryProcessingEnabled |
NaiveRecordLinkage
public NaiveRecordLinkage()
createIteratorInstance
protected Iterator<DuDeObjectPair> createIteratorInstance()
- Description copied from class:
AbstractRecordLinkage
- Returns a new
Iterator
instance.
- Specified by:
createIteratorInstance
in class AbstractRecordLinkage
- Returns:
- The
Iterator
instance.
Copyright © 2011 Hasso Plattner Institute - Chair of Information Systems. All Rights Reserved.