R/build_single_tree.R

Defines functions build_single_tree

Documented in build_single_tree

build_single_tree <- function(X, Y, m_feature, min_leaf,Inv_Cov_Y,Command){
  NN=round(nrow(X)/min_leaf)*100
  model=rep( list(NULL), NN )
  i=1
  Index=1:nrow(X)

  model=split_node(X,Y,m_feature,Index,i,model,min_leaf,Inv_Cov_Y,Command)
  return(model)
}

Try the MultivariateRandomForest package in your browser

Any scripts or data that you put into this service are public.

MultivariateRandomForest documentation built on May 2, 2019, 1:05 p.m.