Skip to content

add transformations (cartesian product, cross-validation); no longer enforce characterization-similarity in metric - #58

Merged
mschrimpf merged 56 commits into
brain-score:masterfrom
mschrimpf:metrics.transformations
Jun 11, 2018
Merged

mschrimpf merged 56 commits into
brain-score:masterfrom
mschrimpf:metrics.transformations

Conversation

@mschrimpf

Copy link
Copy Markdown
Member

Implement transformation pipeline where CartesianProduct (split along non-primary dimensions) and CrossValidation (split to obtain error estimates) can be combined to pre-process assemblies for the final application of a metric.

Also remove the strict enforcement of a Metric having to consist of a Characterization and a Similarity.
Metrics can still choose to follow that pattern (in fact, RDMMetric still does) but can be more flexible.

some files seem to appear as changed due to line endings I guess, sorry about that.

…rity

* different implementations of score with mean and median center
* RDM correlation in compute method
* move coord/dim methods to utils

TODOs
* RDM diag tests are failing because similarities are not arranged properly (pydata/xarray#2095)
TODO:
* update TestSimilarityAdjacentProduct unit tests to pass subset dimension along
# Conflicts:
#	mkgu/benchmarks.py
#	mkgu/metrics/__init__.py
#	mkgu/metrics/neural_fit.py
#	mkgu/metrics/rdm.py
#	tests/test_benchmarks.py
#	tests/test_metrics/test_neuralfit.py
#	tests/test_metrics/test_rdm.py
# Conflicts:
#	mkgu/assemblies.py
#	setup.py
mschrimpf added 24 commits May 13, 2018 12:36
# Conflicts:
#	tests/test_metrics/__init__.py
#	tests/test_metrics/test_rdm.py
using pivots on sorted data for efficient indexing
refactor neural fit and rdm accordingly
this should be attempted in another branch
@mschrimpf
mschrimpf requested a review from jjpr-mit June 11, 2018 01:59
@mschrimpf
mschrimpf merged commit 9ea4463 into brain-score:master Jun 11, 2018
@mschrimpf
mschrimpf deleted the metrics.transformations branch June 11, 2018 16:29
Nishant-codex pushed a commit to Nishant-codex/vision that referenced this pull request Jul 2, 2026
* add transformations (alignment, cartesian product, cross-validation)

* no longer enforce characterization-similarity in metric
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant