gqcStruct: General Quadratic Classifier structure.

Description Usage Arguments Value See Also Examples

View source: R/gqc.R

Description

A named list of model parameters that specify a quadratic decision bound, containing pnoise, cnoise, coeffs, and bias.

Usage

1
gqcStruct(pnoise, cnoise, coeffs, bias)

Arguments

pnoise

a positive non-zero numeric.

cnoise

a positive non-zero numeric.

coeffs

a vector. The length(coeffs) should be equal to sum(1:(dim+1)) - 1 where dim is the number of the model's dimension

bias

numeric.

Value

object of class gqcStruct, i.e., a named list containing pnoise, cnoise, coeffs, and bias.

See Also

gqc, logLik.gqcStruct

Examples

1
params <- gqcStruct(pnoise=10, cnoise=100, coeffs=c(1,2,3,4,5), bias=6)

grt documentation built on July 15, 2017, 1:02 a.m.