Skip to content

Commit

Permalink
improves help
Browse files Browse the repository at this point in the history
  • Loading branch information
mstaniak committed Dec 14, 2018
1 parent 7f0d9e3 commit 6e71f5c
Show file tree
Hide file tree
Showing 9 changed files with 198 additions and 3 deletions.
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: localModel
Title: LIME-based Explanations With Interpretable Inputs Based on Ceteris Paribus Profiles
Version: 0.2.5
Version: 0.2.6
Authors@R: person("Mateusz", "Staniak", email = "m.staniak@mini.pw.edu.pl", role = c("aut", "cre"))
Description: Local explanations of machine learning models describe, how features contributed
to a single prediction. This package implements LIME-like explanation method
Expand All @@ -13,7 +13,6 @@ License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Imports: glmnet,
forestmodel,
ceterisParibus,
stringr,
ggplot2,
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# localModel 0.2.6

* Adds help for the package.

# localModel 0.2.5

* Fixes bug related to number of levels when sampling new observation.
Expand Down
14 changes: 14 additions & 0 deletions R/localModel.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#' localModel: LIME-like explanations with interpretable features based on Ceteris Paribus profiles
#'
#' This package implements LIME-like explanation method
#' (see Tulio Ribeiro, Singh, Guestrin (2016) <doi:10.1145/2939672.2939778>) in which interpretable
#' inputs are created based on local rather than global behaviour of each original feature.#'
#'
#' @section Important functions:
#' \code{\link{individual_surrogate_model}} generates an explanation for a single prediction with
#' interpretable features based on Ceteris Paribus profiles.
#' \code{\link{plot.local_surrogate_explainer}} plots the explanation.
#'
#' @docType package
#' @name localModel
NULL
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/articles/regression_example_files/figure-html/plot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion docs/reference/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

145 changes: 145 additions & 0 deletions docs/reference/localModel.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions man/localModel.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6e71f5c

Please sign in to comment.