calc.loss: Given a design matrix for a linear model, compute the loss

Description Usage Arguments Value

View source: R/linear.R

Description

Given a design matrix for a linear model, compute the loss

Usage

1
calc.loss(mat, epsilon = 1e-05, int = NULL)

Arguments

mat

matrix or dataframe for the design matrix

epsilon

a small real number used for regularization. If set to zero, no regularization takes place

int

set to NULL if there are no interactions, set to TRUE of there are interactions

Value

loss of the matrix


mst1g15/biasedcoin documentation built on Nov. 26, 2019, 4:01 a.m.