Interface IDyadRankingFeatureTransformPLGradientDescendableFunction
-
- All Superinterfaces:
ai.libs.jaicore.math.gradientdescent.IGradientDescendableFunction
- All Known Implementing Classes:
DyadRankingFeatureTransformNegativeLogLikelihood
public interface IDyadRankingFeatureTransformPLGradientDescendableFunction extends ai.libs.jaicore.math.gradientdescent.IGradientDescendableFunction
An interface for a differentiable function in the context of feature transformation Placket-Luce dyad ranking.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initialize(org.api4.java.ai.ml.ranking.dyad.dataset.IDyadRankingDataset dataset, java.util.Map<org.api4.java.ai.ml.ranking.dyad.dataset.IDyadRankingInstance,java.util.Map<org.api4.java.ai.ml.ranking.dyad.dataset.IDyad,org.api4.java.common.math.IVector>> featureTransform)
Initializes the function with the given dataset.
-
-
-
Method Detail
-
initialize
void initialize(org.api4.java.ai.ml.ranking.dyad.dataset.IDyadRankingDataset dataset, java.util.Map<org.api4.java.ai.ml.ranking.dyad.dataset.IDyadRankingInstance,java.util.Map<org.api4.java.ai.ml.ranking.dyad.dataset.IDyad,org.api4.java.common.math.IVector>> featureTransform)
Initializes the function with the given dataset.- Parameters:
dataset
- the dataset to usefeatureTransform
- the feature precomputed feature transforms
-
-