Skip to contents

Calculates the log probability of seeing a given set of preferences

Usage

.calculateLogProb(x, p)

Arguments

x

A guess for our weight vector

p

An object of the Bayes preference class

Value

A scalar log-likelihood of the guess x