This is where navigation should be.


GSP_LEARN_TCER - Learn the Total Cumulative Energy Residual

Usage

TCER = gsp_learn_tcer(G, X);
TCER = gsp_learn_tcer(G, X, params);
[TCER, TCER_rand] = gsp_learn_tcer(...);

Input parameters

G the graph
X a data matrix

Output parameters

TCER the computed total commulative energy residual for G
TCER_rand the computed total commulative energy residual for a random basis

Description

Total Cumulative Energy Residual (TCER): This is a number from [0 to 1] describing how well a graph fits a given data matrix X, or distribution.

Optional parameters

  • params.s : s = svd(X);
  • params.verbose: 0 = nothing, 1 = plot cum energy, 2 = plot against random basis as a baseline (default 0)
  • params.sort : sort basis columns to get the minimum residual possible (default 0)