Learn R Programming

protoclass (version 1.0)

predictwithd.protoclass: Make predictions based on prototypes

Description

Performs nearest-prototype classification like predict.protoclass, except only requires the ntest-by-m matrix of distances between test features and z rather than requiring these matrices themselves. (Using this saves repeated computation of the pairwise distances...)

Usage

predictwithd.protoclass(object, d.test.z)

Arguments

object
output of protoclass function
d.test.z
ntest-by-m matrix of distances between test features and z

See Also

predict.protoclass