dilyabareeva / quanda

A toolkit for quantitative evaluation of data attribution methods.
https://quanda.readthedocs.io
MIT License
33 stars 0 forks source link

fix docstrings, minor changes to trak_wrapper #150

Closed gumityolcu closed 2 months ago

gumityolcu commented 2 months ago

Fixed docstrings to always use numpy format, and to always document init functions after function definition.

For TRAK, the X^t X tensor from the paper might not be invertible. this is why they added the option of adding a constant diagonal regularization matrix before matrix inversion. i added this option to our wrapper, a very straightforward change.