Learn R Programming

protoclass (version 1.0)

predict.protoclass: Make predictions based on prototypes

Description

Performs nearest-prototype classification on newx.

Usage

"predict" (object, newx, z, ...)

Arguments

object
output of protoclass function
newx
features from some new data that we want to make predictions on.
z
potential prototype positions z (often taken to be x, the training data)
...
ignore this argument.

See Also

protoclass predictwithd.protoclass