Learn R Programming

sisireg (version 1.1.2)

fii_prediction: Factor-wise Influence Indicator (Prediction-fii) for a given ssrmlp model regarding a given input vector

Description

The Prediction-fii depicts the overall influence of the given input factors on the resulting prediction from a trained ssrmlp model. For computation the components of the input vectors a taken separately as input for the model.

Usage

fii_prediction(W, x)

Value

fii

array of influence indicators

Arguments

W

a trained ssrmlp model

x

a matrix of input vectors

Author

Dr. Lars Metzner

Examples

Run this code
# \donttest{
# generate data
set.seed(42)
x <- rnorm(300)
y <- rnorm(300)
z <- rnorm(300) + atan2(x, y)
# coordinates
X <- matrix(cbind(x,y), ncol = 2)
Y <- as.double(z)
# Training
W <- ssrmlp_train(X, Y)
fii_prediction(W, X)
# }

Run the code above in your browser using DataLab