ssrnd2 {sisireg}R Documentation

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)

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.

Value

mdl

data list with the relevant model data.

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)


[Package sisireg version 1.2.1 Index]