Skip to content

Commit c89abd0

Browse files
change default to GradientShap, with zeros
1 parent 0965531 commit c89abd0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/netmap/grn/inferrence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def attribution_one_target(
213213
return attributions_list
214214

215215

216-
def inferrence(models, data_train_full_tensor, gene_names, xai_method='GuidedBackprop'):
216+
def inferrence(models, data_train_full_tensor, gene_names, xai_method='GradientShap'):
217217

218218
"""
219219
The main inferrence function to compute the entire GRN. Computes all
@@ -344,7 +344,7 @@ def attribution_one_model(
344344
return attributions
345345

346346

347-
def inferrence_model_wise(models, data_train_full_tensor, gene_names, xai_method = 'GuidedBackprop', n_models = [10, 25, 50], background_type = 'zeros'):
347+
def inferrence_model_wise(models, data_train_full_tensor, gene_names, xai_method = 'GradientShap', n_models = [10, 25, 50], background_type = 'zeros'):
348348

349349
"""
350350
The main inferrence function to compute the entire GRN model wise. Computes all

0 commit comments

Comments
 (0)