R/ApplyRandomForest.R

Defines functions ApplyRandomForest

ApplyRandomForest = function(Forest, Data){
  # Cls = ApplyRandomForest(Forest, Data)
  # INPUT
  # Forest      Pre Trained Forest. V$Forest output from RandomForestClassifier Function.
  # Data        Data to be predicted
  # OUTPUT
  # Cls
  
  return(as.numeric(predict(Forest, Data)))
}
Mthrun/Classifiers documentation built on June 28, 2023, 9:28 a.m.