Projects each beat onto the subspace spanned by the first k columns
of a basis and returns the relative squared error.
Usage
reconstruction_error(X, T, k = ncol(T), center = TRUE, per_beat = FALSE)Projects each beat onto the subspace spanned by the first k columns
of a basis and returns the relative squared error.
reconstruction_error(X, T, k = ncol(T), center = TRUE, per_beat = FALSE)