predict,RandomForestSemisupervised-method {SSLR}R Documentation

Function to predict inputs in Decision Tree

Description

Function to predict inputs in Decision Tree

Usage

## 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.


[Package SSLR version 0.9.3.3 Index]