ModelOriented / DALEX
Showing 9 of 20 files from the diff.
Newly tracked file
R/predict_diagnostics.R changed.
Newly tracked file
R/model_profile.R changed.
Newly tracked file
R/model_performance.R changed.
Newly tracked file
R/model_parts.R changed.
Newly tracked file
R/explain.R changed.
Newly tracked file
R/predict_profile.R changed.
Newly tracked file
R/model_diagnostics.R changed.
Newly tracked file
R/predict_parts.R changed.
Other files ignored by Codecov

@@ -3,7 +3,7 @@
Loading
3 3
#' This function performs local diagnostic of residuals.
4 4
#' For a single instance its neighbors are identified in the validation data.
5 5
#' Residuals are calculated for neighbors and plotted against residuals for all data.
6 -
#' Find information how to use this function here: \url{http://ema.drwhy.ai/localDiagnostics.html}.
6 +
#' Find information how to use this function here: \url{https://ema.drwhy.ai/localDiagnostics.html}.
7 7
#'
8 8
#' @param explainer a model to be explained, preprocessed by the 'explain' function
9 9
#' @param new_observation a new observation for which predictions need to be explained
@@ -16,7 +16,7 @@
Loading
16 16
#' @return An object of the class 'predict_diagnostics'.
17 17
#' It's a data frame with calculated distribution of residuals.
18 18
#'
19 -
#' @references Explanatory Model Analysis. Explore, Explain, and Examine Predictive Models. \url{http://ema.drwhy.ai/}
19 +
#' @references Explanatory Model Analysis. Explore, Explain, and Examine Predictive Models. \url{https://ema.drwhy.ai/}
20 20
#' @export
21 21
#' @importFrom stats ks.test
22 22
#' @importFrom graphics plot

@@ -2,7 +2,7 @@
Loading
2 2
#'
3 3
#' This function calculates explanations on a dataset level set that explore model response as a function of selected variables.
4 4
#' The explanations can be calulated as Partial Dependence Profile or  Accumulated Local Dependence Profile.
5 -
#' Find information how to use this function here: \url{http://ema.drwhy.ai/partialDependenceProfiles.html}.
5 +
#' Find information how to use this function here: \url{https://ema.drwhy.ai/partialDependenceProfiles.html}.
6 6
#' The \code{variable_profile} function is a copy of \code{model_profile}.
7 7
#'
8 8
#' Underneath this function calls the \code{\link[ingredients]{partial_dependence}} or
@@ -22,7 +22,7 @@
Loading
22 22
#' @return An object of the class \code{model_profile}.
23 23
#' It's a data frame with calculated average model responses.
24 24
#'
25 -
#' @references Explanatory Model Analysis. Explore, Explain, and Examine Predictive Models. \url{http://ema.drwhy.ai/}
25 +
#' @references Explanatory Model Analysis. Explore, Explain, and Examine Predictive Models. \url{https://ema.drwhy.ai/}
26 26
#'
27 27
#' @name model_profile
28 28
#' @examples

@@ -18,7 +18,7 @@
Loading
18 18
#' \item \code{type} - character that specifies type of the task.
19 19
#' }
20 20
#'
21 -
#' @references Explanatory Model Analysis. Explore, Explain, and Examine Predictive Models. \url{http://ema.drwhy.ai/}
21 +
#' @references Explanatory Model Analysis. Explore, Explain, and Examine Predictive Models. \url{https://ema.drwhy.ai/}
22 22
#' @importFrom stats median weighted.mean
23 23
#' @export
24 24
#' @examples

@@ -1,7 +1,7 @@
Loading
1 1
#' Dataset Level Variable Importance as Change in Loss Function after Variable Permutations
2 2
#'
3 3
#' From DALEX version 1.0 this function calls the \code{\link[ingredients]{feature_importance}}
4 -
#' Find information how to use this function here: \url{http://ema.drwhy.ai/featureImportance.html}.
4 +
#' Find information how to use this function here: \url{https://ema.drwhy.ai/featureImportance.html}.
5 5
#'
6 6
#' @param explainer a model to be explained, preprocessed by the \code{explain} function
7 7
#' @param loss_function a function that will be used to assess variable importance. By default it is 1-AUC for classification, cross entropy for multilabel classification and RMSE for regression. Custom, user-made loss function should accept two obligatory parameters (observed, predicted), where \code{observed} states for actual values of the target, while \code{predicted} for predicted values. If attribute "loss_accuracy" is associated with function object, then it will be plotted as name of the loss function.
@@ -10,7 +10,7 @@
Loading
10 10
#' @param N number of observations that should be sampled for calculation of variable importance. If \code{NULL} then variable importance will be calculated on whole dataset (no sampling).
11 11
#' @param n_sample alias for \code{N} held for backwards compatibility. number of observations that should be sampled for calculation of variable importance.
12 12
#'
13 -
#' @references Explanatory Model Analysis. Explore, Explain and Examine Predictive Models. \url{http://ema.drwhy.ai/}
13 +
#' @references Explanatory Model Analysis. Explore, Explain and Examine Predictive Models. \url{https://ema.drwhy.ai/}
14 14
#' @return An object of the class \code{feature_importance}.
15 15
#' It's a data frame with calculated average response.
16 16
#'

@@ -2,7 +2,7 @@
Loading
2 2
#'
3 3
#' From DALEX version 1.0 this function calls the \code{\link[ingredients]{accumulated_dependence}} or
4 4
#' \code{\link[ingredients]{partial_dependence}} from the \code{ingredients} package.
5 -
#' Find information how to use this function here: \url{http://ema.drwhy.ai/partialDependenceProfiles.html}.
5 +
#' Find information how to use this function here: \url{https://ema.drwhy.ai/partialDependenceProfiles.html}.
6 6
#'
7 7
#' @param explainer a model to be explained, preprocessed by the 'explain' function
8 8
#' @param variables character - names of variables to be explained
@@ -13,7 +13,7 @@
Loading
13 13
#' @return An object of the class 'aggregated_profiles_explainer'.
14 14
#' It's a data frame with calculated average response.
15 15
#'
16 -
#' @references Explanatory Model Analysis. Explore, Explain, and Examine Predictive Models. \url{http://ema.drwhy.ai/}
16 +
#' @references Explanatory Model Analysis. Explore, Explain, and Examine Predictive Models. \url{https://ema.drwhy.ai/}
17 17
#' @export
18 18
#'
19 19
#' @examples

@@ -40,7 +40,7 @@
Loading
40 40
#' \item \code{model_info} named list contating basic information about model, like package, version of package and type.
41 41
#' }
42 42
#'
43 -
#' @references Explanatory Model Analysis. Explore, Explain and Examine Predictive Models. \url{http://ema.drwhy.ai/}
43 +
#' @references Explanatory Model Analysis. Explore, Explain and Examine Predictive Models. \url{https://ema.drwhy.ai/}
44 44
#' @rdname explain
45 45
#' @export
46 46
#' @importFrom stats predict

@@ -2,7 +2,7 @@
Loading
2 2
#'
3 3
#' This function calculated individual profiles aka Ceteris Paribus Profiles.
4 4
#' From DALEX version 1.0 this function calls the \code{\link[ingredients]{ceteris_paribus}} from the \code{ingredients} package.
5 -
#' Find information how to use this function here: \url{http://ema.drwhy.ai/ceterisParibus.html}.
5 +
#' Find information how to use this function here: \url{https://ema.drwhy.ai/ceterisParibus.html}.
6 6
#'
7 7
#' @param explainer a model to be explained, preprocessed by the \code{explain} function
8 8
#' @param new_observation a new observation for which predictions need to be explained
@@ -14,7 +14,7 @@
Loading
14 14
#' @return An object of the class \code{ceteris_paribus_explainer}.
15 15
#' It's a data frame with calculated average response.
16 16
#'
17 -
#' @references Explanatory Model Analysis. Explore, Explain, and Examine Predictive Models. \url{http://ema.drwhy.ai/}
17 +
#' @references Explanatory Model Analysis. Explore, Explain, and Examine Predictive Models. \url{https://ema.drwhy.ai/}
18 18
#' @export
19 19
#'
20 20
#' @examples

@@ -2,7 +2,7 @@
Loading
2 2
#'
3 3
#' This function performs model diagnostic of residuals.
4 4
#' Residuals are calculated and plotted against predictions, true y values or selected variables.
5 -
#' Find information how to use this function here: \url{http://ema.drwhy.ai/residualDiagnostic.html}.
5 +
#' Find information how to use this function here: \url{https://ema.drwhy.ai/residualDiagnostic.html}.
6 6
#'
7 7
#' @param explainer a model to be explained, preprocessed by the \code{explain} function
8 8
#' @param variables character - name of variables to be explained. Default \code{NULL} stands for all variables
@@ -11,7 +11,7 @@
Loading
11 11
#' @return An object of the class \code{model_diagnostics}.
12 12
#' It's a data frame with residuals and selected variables.
13 13
#'
14 -
#' @references Explanatory Model Analysis. Explore, Explain and Examine Predictive Models. \url{http://ema.drwhy.ai/}
14 +
#' @references Explanatory Model Analysis. Explore, Explain and Examine Predictive Models. \url{https://ema.drwhy.ai/}
15 15
#' @export
16 16
#' @examples
17 17
#' library(DALEX)

@@ -5,9 +5,9 @@
Loading
5 5
#' From DALEX version 1.0 this function calls the \code{\link[iBreakDown]{break_down}} or
6 6
#' \code{\link[iBreakDown:break_down_uncertainty]{shap}} functions from the \code{iBreakDown} package or
7 7
#' \code{\link[ingredients:ceteris_paribus]{ceteris_paribus}} from the \code{ingredients} package.
8 -
#' Find information how to use the \code{break_down} method here: \url{http://ema.drwhy.ai/breakDown.html}.
9 -
#' Find information how to use the \code{shap} method here: \url{http://ema.drwhy.ai/shapley.html}.
10 -
#' Find information how to use the \code{oscillations} method here: \url{http://ema.drwhy.ai/ceterisParibusOscillations.html}.
8 +
#' Find information how to use the \code{break_down} method here: \url{https://ema.drwhy.ai/breakDown.html}.
9 +
#' Find information how to use the \code{shap} method here: \url{https://ema.drwhy.ai/shapley.html}.
10 +
#' Find information how to use the \code{oscillations} method here: \url{https://ema.drwhy.ai/ceterisParibusOscillations.html}.
11 11
#'
12 12
#' @param explainer a model to be explained, preprocessed by the \code{explain} function
13 13
#' @param new_observation a new observation for which predictions need to be explained
@@ -25,7 +25,7 @@
Loading
25 25
#'
26 26
#'
27 27
#' @aliases predict_parts_break_down predict_parts predict_parts_ibreak_down predict_parts_shap
28 -
#' @references Explanatory Model Analysis. Explore, Explain, and Examine Predictive Models. \url{http://ema.drwhy.ai/}
28 +
#' @references Explanatory Model Analysis. Explore, Explain, and Examine Predictive Models. \url{https://ema.drwhy.ai/}
29 29
#'
30 30
#' @examples
31 31
#' library(DALEX)
Files Coverage
R 86.81%
Project Totals (31 files) 86.81%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
        informational: true
10
    patch:
11
      default:
12
        target: auto
13
        threshold: 1%
14
        informational: true
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading