Utils functions


source

get_optimal_heat

 get_optimal_heat (emb_op, tau_max:float=50, n_tau:int=20)

*Select the optimal tau for the heat kernel.

Optimal tau is found using Checbyshev approximation.*

Type Default Details
emb_op
tau_max float 50
n_tau int 20
Returns H: np.array (n_nodes, n_nodes) Heat kernel with optimal tau.

source

time_entropy

 time_entropy (H)

source

interpolate

 interpolate (x0, x1, n_steps)