This function predicts the rankings given prior and conditional probabilities obtained from model_nbr
1 |
x |
is |
y |
is |
new.x |
is a vector of new attributes |
n |
is a parameter of 'memory'; that is, how fast past gets forgotten. (see details of time_weights). |
This function predicts a ranking for test.x
attributes. It initially builds a model for naive Bayes algorithm that calculates priors and conditional label ranking probabilities and then use them to predict rankings. The attributes can be nominal or continuous data.
a numeric vector of ranking
1 2 3 |
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.