public class DyadRankingFeatureTransformNegativeLogLikelihood extends java.lang.Object implements IDyadRankingFeatureTransformPLGradientDescendableFunction
IOptimizationAlgorithm, together with the
DyadRankingFeatureTransformNegativeLogLikelihoodDerivative.
[1] Schäfer, D. & Hüllermeier, Dyad ranking using Plackett–Luce models based
on joint feature representations,
https://link.springer.com/article/10.1007%2Fs10994-017-5694-9| Constructor and Description |
|---|
DyadRankingFeatureTransformNegativeLogLikelihood() |
| Modifier and Type | Method and Description |
|---|---|
double |
apply(ai.libs.jaicore.math.linearalgebra.Vector w)
Algorithm (18) of [1].
|
void |
initialize(DyadRankingDataset dataset,
java.util.Map<IDyadRankingInstance,java.util.Map<Dyad,ai.libs.jaicore.math.linearalgebra.Vector>> featureTransforms)
Initializes the function with the given dataset.
|
public DyadRankingFeatureTransformNegativeLogLikelihood()
public void initialize(DyadRankingDataset dataset, java.util.Map<IDyadRankingInstance,java.util.Map<Dyad,ai.libs.jaicore.math.linearalgebra.Vector>> featureTransforms)
IDyadRankingFeatureTransformPLGradientDescendableFunctioninitialize in interface IDyadRankingFeatureTransformPLGradientDescendableFunctiondataset - the dataset to usefeatureTransforms - the feature precomputed feature transformspublic double apply(ai.libs.jaicore.math.linearalgebra.Vector w)
apply in interface IGradientDescendableFunctionw - the point to which to apply the function