Description Usage Arguments Details Value
This function calculates the diminishing weights for label ranking probabilities in case of timing nature of rankings.
1 | time_weights(x, n)
|
x |
a scalar of timing periods. |
n |
is a parameter of 'memory' of how fast the past gets forgotten. |
Sometimes rankings have a 'timing' component (for example, weekly sport teams standing) and a recent event can be more important than the past. The model can take advantage of this difference in importance by weighting the ranking probabilities. The weights are calculated using an exponential function . In case of n=1
, weights are a unitary vector of length n
; thus, no time nature in rankings.
a vector of values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.