Learn R Programming

NeuralSens (version 1.1.3)

AlphaSensCurve: Sensitivity alpha-curve associated to MLP function of an input variable

Description

Obtain sensitivity alpha-curve associated to MLP function obtained from the sensitivities returned by SensAnalysisMLP of an input variable.

Usage

AlphaSensCurve(sens, tol = NULL, max_alpha = 100)

Value

alpha-curve of the MLP function

Arguments

sens

raw sensitivities of the MLP output with respect to input variable.

tol

difference between M_alpha and maximum sensitivity of the sensitivity of each input variable

max_alpha

maximum alpha value to analyze

Examples

Run this code
# \donttest{
mod <- RSNNS::mlp(simdata[, c("X1", "X2", "X3")], simdata[, "Y"],
                 maxit = 1000, size = 15, linOut = TRUE)

sens <- SensAnalysisMLP(mod, trData = simdata,
                        output_name = "Y", plot = FALSE)

AlphaSensCurve(sens$raw_sens[[1]][,1])
# }

Run the code above in your browser using DataLab