Learn R Programming

treelet (version 0.2-0)

Calc_Energy: Calculating the energy of each level

Description

loop over each level

Usage

Calc_Energy(X, basis, K, av_norm)

Arguments

X
the input matrix
basis
basis matrix at certain level, please refer to function JTree_Scores
K
number of vectors in final representation
av_norm
normalization term

Value

  • the score at the level