predict.npcs {npcs}R Documentation

Predict new labels from new data based on the fitted NPMC classifier.

Description

Predict new labels from new data based on the fitted NPMC classifier, which belongs to S3 class "npcs".

Usage

## S3 method for class 'npcs'
predict(object, newx, ...)

Arguments

object

the model object for prediction

newx

input feature data

...

arguments to pass down


[Package npcs version 0.1.1 Index]