public class DyadRankingFeatureTransformNegativeLogLikelihoodDerivative extends java.lang.Object implements IDyadRankingFeatureTransformPLGradientFunction
w w.r.t. the negative log-likelihood that should be
minimized.
[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 |
|---|
DyadRankingFeatureTransformNegativeLogLikelihoodDerivative() |
| Modifier and Type | Method and Description |
|---|---|
ai.libs.jaicore.math.linearalgebra.Vector |
apply(ai.libs.jaicore.math.linearalgebra.Vector vector)
Returns the result of applying the gradient to the point represented by the
given vector.
|
void |
initialize(DyadRankingDataset dataset,
java.util.Map<IDyadRankingInstance,java.util.Map<Dyad,ai.libs.jaicore.math.linearalgebra.Vector>> featureTransforms)
Initialize the function with the given data set and feature transformation
method.
|
public DyadRankingFeatureTransformNegativeLogLikelihoodDerivative()
public void initialize(DyadRankingDataset dataset, java.util.Map<IDyadRankingInstance,java.util.Map<Dyad,ai.libs.jaicore.math.linearalgebra.Vector>> featureTransforms)
IDyadRankingFeatureTransformPLGradientFunctioninitialize in interface IDyadRankingFeatureTransformPLGradientFunctiondataset - the dataset to usefeatureTransforms - the pre computed feature transformationspublic ai.libs.jaicore.math.linearalgebra.Vector apply(ai.libs.jaicore.math.linearalgebra.Vector vector)
IGradientFunctionapply in interface IGradientFunctionvector - the vector the gradient is applied to