jmschrei/tfmodisco-lite

Attribution scores vs importance scores

due23 opened this issue · 2 comments

due23 commented

Hi!

I'm trying to run either TF-MoDISco or this newer tfmodisco-lite for interpretation of a CNN model I have trained on enhancer sequences. I've managed to calculate the importance scores and hypothetical importance scores of my one-hot encoded enhancer sequences following the code from this notebook using DeepExplainer.

For tfmodisco-lite I'm slightly confused as to what I'm meant to be inputting for the attributions. Are the attributions the same as the importance scores or some combination of the importance scores and hypothetical importance scores? If not, how do you obtain these attributions?

Howdy. Importance scores and attribution scores are synonyms. You should be inputting the one-hot encoded sequence and the hypothetical importance scores.

Hi,
I'm trying to generate the hypothetical importance scores using both DeepExplainer and GradientExplainer following this notebook, but I got an error saying:

TypeError: init() got an unexpected keyword argument 'combine_mult_and_diffref'

should downgrade all my packages to work the examples?or there is a way to do that with the current versions?

Thank you in advance