gradient_xy: Gradient Function

Description Usage Arguments Value Examples

View source: R/Gradient_xy.R

Description

The gradient of a function f for the parallelisation, denoted as ∇f, is the collection of all its partial derivatives into a vector

Usage

1
gradient_xy(data, theta)

Arguments

data

dataframe required to perform the gradient descent

theta

Coefficient matrix for logistic regression

Value

Returns a gradient vector

Examples

1
gradient_xy(data_ex, coef_ex)

FD155/ProjetR documentation built on Dec. 17, 2021, 7:31 p.m.