This function calculate the negative log likelihood of an entire data set.
1 | nll_logit(dataNumeric, betaDotX, xIndices, yIndex)
|
dataNumeric |
The numeric format of the given data set. Variable values start from 0. Obtained by using the function factor2numeric(). |
betaDotX |
Inner product of logit parameters beta and a data point X. |
xIndices |
Indices of the input variables. |
yIndex |
Input of the output/target variable. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.