Description Usage Arguments Details Value Author(s) References See Also
View source: R/scm_transform.R
This function allows to transform the given sample covariance matrices in a matrix usable in a SVM with linear kernel. This is a different way to implement a Riemannian kernel SVM for SCMs classification.
1 | scm_transform(scm_list, centroid)
|
scm_list |
a list of numeric sample covariance matrices. |
centroid |
a numeric matrix used as reference for the tangent space mapping. See Details below. |
The SCMs transformation is achieved with a logaritmic mapping of the matrices, that's to say the matrices are projected from the Riemannian manifold in the tangent euclidean space. The tangent space is computed in a reference point: the centroid
. For the formulation details see the References below.
It returns a numeric matrix conatining all the upper triangular parts of the SCM in input, vectorized with the vect
operator.
Laura Masiero, email: laura.masiero.10@gmail.com
Barachant, Alexandre, Stéphane Bonnet, Marco Congedo e Christian Jutten, (2013). "Classification of covariance matrices using a Riemannian-based kernel for BCI applications". In: Neurocomputing. issn: 09252312. doi: 10.1016/j.neucom.2012.12.039.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.