glcStruct: General Linear Classifier structure

Description Usage Arguments Value See Also Examples

View source: R/glc.R

Description

A named list of model parameters that specify a linear decision bound, containing noise, coeffs, and bias.

Usage

1
glcStruct(noise, coeffs, bias)

Arguments

noise

a positive non-zero numeric.

coeffs

vector. the length of the coeffs should correspond to the number of the model's dimension.

bias

numeric.

Value

object of class glcStruct, i.e., a named list containing noise, coeffs, and bias. Returned values are normalized, such that each value are divided by the euclidean norm of the coeffs vector, and the sum of coeffs^2 is 1.

See Also

glc, coef.glcStruct, logLik.glcStruct, old2new_par, new2old_par

Examples

1
params <- glcStruct(noise=10, coeffs=c(1, -1), bias=0)

matsukik/grt documentation built on May 21, 2019, 12:57 p.m.