predict.SSLRDecisionTree_fitted: Predictions of the SSLRDecisionTree_fitted method

Description Usage Arguments Value

View source: R/DecisionTree.R

Description

Predicts the label of instances SSLRDecisionTree_fitted model.

Usage

1
2
## S3 method for class 'SSLRDecisionTree_fitted'
predict(object, x, type = "class", ...)

Arguments

object

model SSLRDecisionTree_fitted.

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.

type

of predict in principal model

...

This parameter is included for compatibility reasons.

Value

Vector with the labels assigned.


SSLR documentation built on July 22, 2021, 9:08 a.m.