predict-RandomForestSemisupervised-method: Function to predict inputs in Decision Tree

Description Usage Arguments

Description

Function to predict inputs in Decision Tree

Usage

1
2
3
4
5
6
7
8
## S4 method for signature 'RandomForestSemisupervised'
predict(
  object,
  inputs,
  type = "class",
  confident = "max_prob",
  allowParallel = TRUE
)

Arguments

object

The Decision Tree object

inputs

data to be predicted

type

class raw

confident

Is param to define the type of predict. It can be "max_prob", to get class with sum of probability is the maximum Or "vote" to get the most frequented class in all trees. Default is "max_prob"

allowParallel

Execute Random Forest in parallel if doParallel is loaded.


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