predx class for binned probabilistic predictions with sequential numeric bins specified by the (inclusive) lower bound of each bin.
1 2 3 4 5 6 7 8 9 10 11 12 13
Bins are equally spaced and specified by an inclusive lower bound (
lwr). If the bin width is 0.1,
lwr could be 0, 0.1, 0.2, etc. in which case the bins are 0 <= x < 0.1, 0.1 <= x < 0.2, etc. The non-inclusive upper bound of the final bin is assumed to be the maximum value of
lwr plus the uniform bin width. Individual probabilities (
prob) must be greater than or equal to 0 and less than or equal to 1 and the vector of probabilities must sum to 1.
prob must be paired when a BinLwr object is created, but do not need to be in the order of
lwr. The BinLwr object will order them.
In JSON and CSV representations, the bins are named
lwr and the probabilities are named
A numeric matrix with two columns:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.