[ top | up ]

Classify Test Set from LVQ Codebook

Usage

lvqtest(codebk, test)

Arguments

codebk codebook object returned by other LVQ software
test matrix of test examples

Description

uses 1-NN to classify each test example against the codebook.

Value

factor of classification for each row of x

See Also

lvqinit, olvq1

Examples

# The function is currently defined as
function(codebk, test) knn1(codebk$x, test, codebk$cl)