Learn R Programming

sisireg (version 1.2.1)

ssrnd2: Multi-dimensional SSR model - reworked

Description

Calculates the multi-dimensional SSR model

Usage

ssrnd2(X, Y, mdl=NULL, k=NULL, fn=NULL, n_l1=NULL, iter=1000, eps=0.0001)

Value

mdl

data list with the relevant model data.

Arguments

X

matrix with n-dimensional coordinates.

Y

array with observations.

mdl

optional: model from previous training.

k

optional: maxumum run length for the model.

fn

optional: quantile for partial sums.

n_l1

optional: subset size for L1 curvature calculation.

iter

optional: number of iterations for the numeric solver.

eps

optional: delta for ending calculation iteration.

Author

Dr. Lars Metzner

References

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

Examples

Run this code
# \donttest{
# 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)
# }

Run the code above in your browser using DataLab