predict.protoclass: Make predictions based on prototypes

Description Usage Arguments See Also

View source: R/protoclass.r

Description

Performs nearest-prototype classification on newx.

Usage

1
2
  ## S3 method for class 'protoclass'
 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


protoclass documentation built on May 2, 2019, 3:42 a.m.