genWeights: Generate weights for RF through feature bias reduction method...

View source: R/Tung_Huang_Nyugen_Khan_2014.R

genWeightsR Documentation

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,
  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
)

chancejohnstone/piRF documentation built on April 14, 2025, 3:02 a.m.