compute_cost: Cost Function Logistic Regression

Description Usage Arguments Value Author(s)

View source: R/compute_cost.R

Description

Compute the Cost Function for Logistic Regression.

Usage

1
2
compute_cost(x, y, theta, epsilon = 1e-05, regu_factor = NULL,
  regu_method = "ridge", ...)

Arguments

x

Matrix with the predictor variables

y

Matrix with the target variable

theta

Matrix with the theta's values for sigmoid function

epsilon

Numeric value

regu_factor

Regularization Factor for Ridge Regularization Regression

regu_method

Regularization Method. At this moment, only "ridge" available

...

Other possible arguments

Value

Returns the cost function

Author(s)

Alberto Almuiña


AlbertoAlmuinha/LogisticRegression documentation built on Jan. 5, 2020, 9:18 a.m.