Representational Similarity Analysis (RSA) is a method used to compare patterns of responses (e.g., neural activity, computational models, or time series data) by analyzing the similarity of representational structures. It involves the following steps:
https://gist.github.com/viadean/772221b870788b7fdc7c9901b74bb34e
Here are the Representational Dissimilarity Matrices (RDMs) for the two synthetic sequences. The Spearman correlation between the two RDMs is displayed in the title, indicating how similar the two representations are.