predict,DecisionTreeClassifier-method {SSLR}R Documentation

Function to predict inputs in Decision Tree

Description

Function to predict inputs in Decision Tree

Usage

## S4 method for signature 'DecisionTreeClassifier'
predict(object, inputs, type = "class")

Arguments

object

The Decision Tree object

inputs

data to be predicted

type

Is param to define the type of predict. It can be "class", to get class labels Or "prob" to get probabilites for class in each input. Default is "class"


[Package SSLR version 0.9.3.3 Index]