rsatoolbox.util.pooling module

Created on Tue Oct 20 23:58:28 2020

@author: heiko

rsatoolbox.util.pooling.pool_rdm(rdms, method='cosine', sigma_k=None)[source]

pools multiple RDMs into the one with maximal performance under a given evaluation metric rdm_descriptors of the generated rdms are empty

Parameters:
  • rdms (pyrsa.rdm.RDMs) – RDMs to be pooled

  • method – String, optional Which comparison method to optimize for. The default is ‘cosine’.

Returns:

the pooled RDM, i.e. a RDM with maximal performance

under the chosen method

Return type:

pyrsa.rdm.RDMs