public interface IDyadFeatureTransform
FeatureTransformPLDyadRanker.| Modifier and Type | Method and Description |
|---|---|
default java.util.Map<IDyadRankingInstance,java.util.Map<Dyad,ai.libs.jaicore.math.linearalgebra.Vector>> |
getPreComputedFeatureTransforms(DyadRankingDataset dataset)
Precomputed the feature transforms for the dataset, this can speed up the
runtime as the feature transform will be reduced to O(1) at the cost of O(n).
|
int |
getTransformedVectorLength(int alternativeLength,
int instanceLength)
Get the length of the vector returned by the transform method.
|
ai.libs.jaicore.math.linearalgebra.Vector |
transform(Dyad dyad)
Transform the instance of the given dyad (models the skill).
|
ai.libs.jaicore.math.linearalgebra.Vector transform(Dyad dyad)
dyad - the dyad to transformint getTransformedVectorLength(int alternativeLength,
int instanceLength)
alternativeLength - the length of the alternative vector of the transformed dyadinstanceLength - the length of the instance vector of the transformed dyaddefault java.util.Map<IDyadRankingInstance,java.util.Map<Dyad,ai.libs.jaicore.math.linearalgebra.Vector>> getPreComputedFeatureTransforms(DyadRankingDataset dataset)
dataset -