gqcStruct {grt}R Documentation

General Quadratic Classifier structure.

Description

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

Usage

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

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

[Package grt version 0.2.1 Index]