Feature extraction by stochastic mds
seq2feature_mds_stochastic(seqs = NULL, K = 2,
dist_type = "oss_action", max_epoch = 100, step_size = 0.01,
pca = TRUE, tot = 1e-06, return_dist = FALSE, seed = 12345,
L_set = 1:3)a "proc" object or a square matrix. If a squared matrix is
provided, it is treated as the dissimilary matrix of a group of response processes.
the number of features to be extracted.
a character string specifies the dissimilarity measure for two response processes. See 'Details'.
the maximum number of epochs for stochastic gradient descent.
the step size of stochastic gradient descent.
a logical scalar. If TRUE, the principal components of the
extracted features are returned.
the accuracy tolerance for determining convergence.
logical. If TRUE, the dissimilarity matrix will be
returned. Default is FALSE.
random seed.
length of ngrams considered.
seq2feature_mds_stochastic returns a list containing
a numeric matrix giving the K extracted features or principal
features. Each column is a feature.
the value of the multidimensional scaling objective function.
the dissimilary matrix. This element exists only if return_dist=TRUE.