logLossElasticnet: Title

Description Usage Arguments Value Examples

View source: R/logLoss.R

Description

Title

Usage

1
logLossElasticnet(theta, X, y, rho, C)

Arguments

theta

is a vector containing the parameters or coefficient of the logistic to be estimated

X

is the matrix of our predictor variables with the bias column

y

is a target variable to predict

rho

hyper parameter which allows arbitration between RDIGE and LASSO

C

parameter allowing to arbitrate between the penalty and the likelihood in the guidance of the modeling

Value

a scalar of the penalized cost function

Examples

1
2
3
4
## Not run: 
  logLossElasticnet(theta, X, y,l1,l2)

## End(Not run)

Beuleup93/dgrGlm documentation built on Dec. 17, 2021, 10:50 a.m.