Description Usage Arguments Value References Examples
View source: R/scoringRules_wrappers.R
Wrapper around the logs_sample
function from the
scoringRules
package. Used to score continuous predictions.
While the Log Score is in theory also applicable
to integer forecasts, the problem lies in the implementation: The Log Score
needs a kernel density estimation, which is not well defined with
integer-valued Monte Carlo Samples. The Log Score can be used for specific
integer valued probabiliy distributions. See the scoringRules package for
more details.
1 | logs(true_values, predictions)
|
true_values |
A vector with the true observed values of size n |
predictions |
nxN matrix of predictive samples, n (number of rows) being the number of data points and N (number of columns) the number of Monte Carlo samples |
vector with the scoring values
Alexander Jordan, Fabian Krüger, Sebastian Lerch, Evaluating Probabilistic Forecasts withscoringRules, https://arxiv.org/pdf/1709.04743.pdf
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.