canonical_correlation_tree: Computes a canonical correlation tree

Description Usage Arguments Value

Description

This function computes a single canonical correlation tree given its input values.

Usage

1
2
3
canonical_correlation_tree(X, Y, depth = 0, minPointsForSplit = 2,
  maxDepthSplit = Inf, xVariationTolerance = 1e-10,
  projectionBootstrap = FALSE, ancestralProbs = NULL)

Arguments

X

Predictor matrix of size n \times p with n observations and p variables.

Y

Predicted values as a matrix of size n \times p with n observations and p variables.

depth

Depth of subtree.

minPointsForSplit

Optional parameter setting the threshold when to construct a leaf (default: 2). If the number of data points is smaller than this value, a leaf is constructed.

maxDepthSplit

Optional parameter controlling the construction of leaves after a certain depth (default: Inf). If the current depth is greater than this value, a leaf is constructed.

xVariationTolerance

Features with variance less than this value are not considered for splitting at tree nodes. (default 1e-10)

projectionBootstrap

Use projection bootstrapping. (default FALSE)

ancestralProbs

Probabilities of ancestors. Default is NULL as these are then calculated automatically.

Value

Function returns an object of class canonical_correlation_tree, where the object is a list containing at the following components:


jandob/ccf documentation built on May 18, 2019, 12:23 p.m.