Description Usage Arguments Value
Evaluate predictions performance against true label
1 | evaluate.predictions(y, probs, min.prob, n = 7, check = F)
|
y |
: numeric/factor, 1 if up, -1 if down |
probs |
: numeric probability of up |
n |
number of stocks (only relevant if sr is needed) |
min.prob: |
numeric indicating minimum confidence required to make a prediction |
check: |
logical indicating if dimension checks should be performed |
Named numeric containing c(min.prob, accuracy, freq, sr), or "no predictions" if min.prob is too high
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.