model_nbr: A naive Bayes label ranking model

Description Usage Arguments Value

Description

This is an auxiliary function to build a necessary inputs to predict rankings.

Usage

1
model_nbr(x, y, n = 1)

Arguments

x

is n x p matrix of n observations and p training attributes and can have continuous or nominal values.

y

is n x j matrix of training rankings (permutations).

n

is a parameter of 'memory'; that is, how fast past gets forgotten. (see details of time_weights).

Value

a list of size two: prior and conditional label ranking probabilities.



Search within the labelrank package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.