From 6baffa1421635748013b25a56c2d9ed6672e925e Mon Sep 17 00:00:00 2001 From: Goerke Date: Fri, 2 Aug 2019 10:30:31 +0200 Subject: [PATCH] Closes #41 --- R/explain_dataframe.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/explain_dataframe.R b/R/explain_dataframe.R index f82c2ed..04b3b5c 100644 --- a/R/explain_dataframe.R +++ b/R/explain_dataframe.R @@ -13,7 +13,6 @@ explain.data.frame <- explainer, labels = NULL, feature_select = 'auto', - probKeepPerturbations = 0.5, ...) { checkmate::assert_true(is.data_frame_explainer(explainer)) m_type <- model_type(explainer) @@ -82,7 +81,8 @@ explain.data.frame <- bins, instance, integer(0), - probKeepPerturbations + # Change change probability to + 1 ) })) @@ -115,7 +115,7 @@ explain.data.frame <- bins, instance, anchors, - probKeepPerturbations + 0.5 ) }))