Learn R Programming

kernDeepStackNet (version 2.0.2)

rdcPart: Randomized dependence coefficient partial calculation

Description

Calculates the randomized dependence coefficient based on interim results. It is a generalized dependence measure based on maximum correlation of random non-linear projections.

Usage

rdcPart(subsetX, xTrans, yTrans, s=1/6, f=sin, randX)

Arguments

subsetX

Subset of the covariate matrix as indices (integer vector).

xTrans

Transformed matrix to the [0, 1] scale (numeric matrix).

yTrans

Random, non-linear projection of the response (numeric vector).

s

Variance of the random weights. Default is 1/6.

f

Non-linear transformation function. Default is sin.

randX

Random weights (numeric vector).

Value

Value of randomized dependence coefficient (numeric scalar).

Details

This function allows for more efficient calculation than the complete calculation by excluding repetitive calculations.

References

David Lopez-Paz et. al, (2013), The randomized dependence coefficient, Proceedings of Advances in Neural Information Processing Systems 26 (NIPS)

See Also

rdcVarOrder, cancorRed