Function to predict inputs in Decision Tree
1 2 3 4 5 6 7 8  | 
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.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.