Description Usage Arguments Value
Calculate "log scores" for the purpose of the competition – log[sum_i(p_i)] where p_i is the model's probability of bin i and i runs over some bins adjacent to the bin where the observed quantity was.
1 | compute_competition_log_score(bin_log_probs, observed_bin, prediction_target)
|
bin_log_probs |
named numeric vector with log probability of each bin; names identify the bins |
observed_bin |
character vector with name(s) of the observed bin(s) (Note that peak can occur in multiple bins) |
prediction_target |
log score for the given observation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.