Learn R Programming

RecordLinkage (version 0.2-0)

classifyUnsup: Unsupervised Classification

Description

Classify records with unsupervised clustering methods.

Usage

classifyUnsup(rpairs, method, ...)

Arguments

rpairs
Object of type RecLinkData. The data to classify.
method
The classification method to use. One of "kmeans", "bclust".
...
Further arguments for the classification method

Value

  • An object of class RecLinkResult with the classification result stored in the prediction component, otherwise a copy of rpairs.

Details

A clustering algorithm is applied to find two clusters in the record pairs. The cluster further from the origin (i.e. representing higher similarity values) is interpreted as the set of links, the other as the set of non-links. Supported methods are: [object Object],[object Object]

See Also

trainSupv and classifySupv for supervised classification.

Examples

Run this code
# Classification with bclust
data(RLdata500)
pairs=compare.dedup(RLdata500, identity=identity.RLdata500,
                    blockfld=list(1,3,5,6,7))
result=classifyUnsup(pairs,method="bclust")
summary(result)

Run the code above in your browser using DataLab