log_reg_naive: Likelihood function

Description Usage Arguments Value

View source: R/log_reg.R

Description

Define the negative log-likelihood function to be maximised.

Usage

1
log_reg_naive(w, x, y)

Arguments

w

matrix where the (i,j) element is number of matches player i has beaten player j.

x

feature matrix for training data.

y

output for training data.

Value

The negative log-likelihood.


ss15859/tennis.wta documentation built on Jan. 24, 2021, 12:46 a.m.