cost_d: Derivative of cost function

Description Usage Arguments

Description

Derivative of cost function

Usage

1
cost_d(params, data, lambda = 0)

Arguments

params

A numeric vector of parameters for the log likelihood function. (alpha, beta, gamma, delta)

data

An integer matrix where each row consists of the recency/frequency statistics for a single user, in the order (x, n, m)

lambda

The regularization factor


johnchower/gloobtyd documentation built on May 19, 2019, 3:03 p.m.