ssrnd2_predict {sisireg}R Documentation

Prediction function for the multi-dimensional SSR model - reworked

Description

Calculates the prediction for a given multi-dimensional SSR model

Usage

ssrnd2_predict(mdl, xx)

Arguments

mdl

data list with previously calculated model.

xx

matrix with coordinates for prediction.

Value

z

array with predictions.

Author(s)

Dr. Lars Metzner

References

Dr. Lars Metzner (2021) Adäquates Maschinelles Lernen. Independently Published.

Examples


# generate data
set.seed(1234)
x <- rnorm(400)
y <- rnorm(400)
z <- rnorm(400) + atan2(x, y)
X <- matrix(cbind(x, y), ncol = 2)
Y <- as.double(z)

# Training
mdl <- ssrnd2(X, Y)
yy <- ssrnd2_predict(mdl, X)


[Package sisireg version 1.2.1 Index]