ProbKMA | R Documentation |
The 'ProbKMA' class is an R wrapper for the C++ implementation of the Probabilistic K-means Algorithm (ProbKMA) with local alignment. This class facilitates local clustering of functional data and functional motif discovery, as proposed in the paper 'Probabilistic K-means with local alignment for clustering and motif discovery in functional data', authored by Marzia A. Cremona and Francesca Chiaromonte.
A 'ProbKMA' object from the C++ ProbKMA class.
Create a 'ProbKMA' object using the following constructor:
prok <- new(ProbKMA, data$Y, data$V, params, data$P0, data$S0, "H1")
A list containing functional data and possibly derivatives.
An instance of the Parameters class, containing algorithm settings.
A matrix representing the initial membership probabilities.
A matrix representing the initial shift warping parameters.
A character string specifying the dissimilarity measure. Possible choices are:
''d0_L2''
''d1_L2''
''d0_d1_L2''
You can access and modify the 'ProbKMA' object with the following methods:
Returns a list of parameters.
Returns a list containing the motifs found.
Sets the membership matrix.
Sets the shift warping matrix.
Sets parameters field by passing a list of parameters.
Reinitializes (empty) K motifs with dimension c_k x d.
Runs the algorithm.
Niccolò Feresini and Riccardo Lazzarini
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.