Learn R Programming

ssc (version 2.1-0)

predict.triTraining: Predictions of the Tri-training method

Description

Predicts the label of instances according to the triTraining model.

Usage

# S3 method for triTraining
predict(object, x, ...)

Arguments

object

Tri-training model built with the triTraining function.

x

A object that can be coerced as matrix. Depending on how was the model built, x is interpreted as a matrix with the distances between the unseen instances and the selected training instances, or a matrix of instances.

...

This parameter is included for compatibility reasons.

Value

Vector with the labels assigned.

Details

For additional help see triTraining examples.