shape_extraction(X, cz = NULL, znorm = FALSE)
X
if cz = NULL
.X
before processing?This centroid computation is casted as an optimization problem called maximization of Rayleigh Quotient. See the cited article for more details.
SBD
, zscore
# Sample data
data(uciCT)
# Subset of interest, normalized
X <- t(sapply(CharTraj[1:5], zscore))
# Obtain centroid series
C <- shape_extraction(X, znorm = FALSE)
# Result
matplot(t(X), type = "l", col = 1:5)
points(C)
Run the code above in your browser using DataLab