initialize_veb_boost_tree: Initialize VEB-Boost Tree structure

Description Usage Arguments

View source: R/initialize_veb_boost_tree.R

Description

Initializes a VEB-Boost tree object as the sum of products of nodes, where you can specify how many learners to add, and the multiplicative depth of each learner.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
initialize_veb_boost_tree(
  Xs,
  Y,
  k = 1,
  d = 1,
  fitFunctions = list(fitFnSusieStumps),
  predFunctions = list(predFnSusieStumps),
  constCheckFunctions = list(constCheckFnSusieStumps),
  family = c("gaussian", "binomial")
)

Arguments

Xs

is a list of the prediction objects to be used (usually of length 1, i.e. all nodes use the same prediction object). Otherwise, it must be of length k (i.e. each term in the addition uses its own predictor object)

Y

is a numeric vector response

k

is an intetger for how many terms are in the sum of nodes

d

is either an integer, or an integer vector of length 'k' for the multiplicative depth of each of the k terms

fitFunctions

is a list of length 1 or 'k' of fitting functions to be used in each term on the sum of nodes

predFunctions

is a list of length 1 or 'k' of prediction functions to be used in each term of the sum of nodes

constCheckFunctions

is a list of length 1 or 'k' of constant check functions to be used in each term of the sum of nodes

family

is what family the response is


andrewg3311/VEB.Boost documentation built on March 21, 2020, 12:16 a.m.