ssrnd2_predict | R Documentation |
Calculates the prediction for a given multi-dimensional SSR model
ssrnd2_predict(mdl, xx)
mdl |
data list with previously calculated model. |
xx |
matrix with coordinates for prediction. |
z |
array with predictions. |
Dr. Lars Metzner
Dr. Lars Metzner (2021) Adäquates Maschinelles Lernen. Independently Published.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.