ViCCo-Group / frrsa

Python package to conduct feature-reweighted representational similarity analysis.
https://www.sciencedirect.com/science/article/pii/S105381192200413X
GNU Affero General Public License v3.0
27 stars 3 forks source link

Correlate reweighted predicting matrix with other targets #46

Open PhilippKaniuth opened 1 year ago

PhilippKaniuth commented 1 year ago

Motivated from #43, if the aim is to generalize the predictions to a second target:

The user submits two (or several) targets. One of them will be used to fit the statistical model. The others will be simply correlated with the reweighted predicting matrix, essentially generalizing the model. This should likely be done in the func fit_and_score.

This will take the reweighted predicting matrix as it was receveived when fitting to target and generalize it to another target. Basically, the question this would answer is: if I reweight my predictor with regards to target, how well does the reweighted predicting matrix now relate to another target for the same images? Therefore, this does not allow generalizing the model to a matrix with (dis-)similarities from different images (for that see #47).