Skip to content

Commit

Permalink
Closes #41
Browse files Browse the repository at this point in the history
  • Loading branch information
Goerke authored and Goerke committed Aug 2, 2019
1 parent 75d355b commit 6baffa1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/explain_dataframe.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -82,7 +81,8 @@ explain.data.frame <-
bins,
instance,
integer(0),
probKeepPerturbations
# Change change probability to
1
)
}))

Expand Down Expand Up @@ -115,7 +115,7 @@ explain.data.frame <-
bins,
instance,
anchors,
probKeepPerturbations
0.5
)
}))

Expand Down

0 comments on commit 6baffa1

Please sign in to comment.