Learn R Programming

piRF (version 0.1.0)

genWeights: Generate weights for RF through feature bias reduction method outlined in Tung 2014.

Description

This function is primarily meant to be used within the TungUbRF() function. All parameters are same as in TungUbRF().

Usage

genWeights(
  formula = NULL,
  train_data = NULL,
  pred_data = NULL,
  feature_num_trees = feature_num_trees,
  min_node_size = NULL,
  m_try = NULL,
  keep_inbag = TRUE,
  intervals = TRUE,
  alpha = alpha,
  forest_type = "RF",
  importance = "permutation",
  R = R,
  num_threads = num_threads
)

Arguments