Same function whatever directed or undirected case
tauInitial(data, n, Q, d_part, n_perturb, perc_perturb, n_random, directed)
List of matrixes of initial values for \(\tau\)
Data : only needs the \(N_{ijk}\) field of data
Total number of nodes
Total number of groups
Maximal level for finest partitions of time interval [0,T], used for kmeans initializations.
Algorithm takes partition up to depth \(2^d\) with \(d=1,...,d_{part}\)
Explore partitions \([0,T], [0,T/2], [T/2,T], ... [0,T/2^d], ...[(2^d-1)T/2^d,T]\)
Total number of partitions \(npart= 2^{(d_part +1)} - 1\)
Number of different perturbations on k-means result
Percentage of labels that are to be perturbed (= randomly switched)
Number of completely random initial points. If not zero there will be n_random taus uniformly sampled in the initialization.
Boolean for directed (TRUE) or undirected (FALSE) case
The (maximal) total number of initializations is \(d_{part}*(1+n_{perturb}) + n_{random}\)