JTree_Scores {treelet}R Documentation

Calculates scores for the "best K-basis" at each level of the tree

Description

calls two function flip and Calc_Energy

Usage

JTree_Scores(X, K, Zpos, T, PCidx, maxlev, all_nodes)

Arguments

X data matrix
K number of vectors in final representation
Zpos Zpos[J,2] is the nodes to be merged
T a list containing T nodes.Element in the cell array contains a 2-by-2 matrix that decorrelates inputs X(:,Z (k,1)) and X(:,Z(k,2));output from LKLB_Decorrelate.
PCidx PCidx[J,2] id of principal components (1st or 2nd)
maxlev default:dim-1
all_nodes node labels, output of Build_JTree

Value

~Discribe the output value

levels at each level
scores what the score is at the corresponding level

Author(s)

Ann Lee, Di Liu


[Package treelet version 0.1-0 Index]