Class BiliniearFeatureTransform
- java.lang.Object
-
- ai.libs.jaicore.ml.dyadranking.algorithm.featuretransform.BiliniearFeatureTransform
-
- All Implemented Interfaces:
IDyadFeatureTransform
public class BiliniearFeatureTransform extends java.lang.Object implements IDyadFeatureTransform
Implementation of the feature transformation method using the Kroenecker Product.
-
-
Constructor Summary
Constructors Constructor Description BiliniearFeatureTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetTransformedVectorLength(int alternativeLength, int instanceLength)Get the length of the vector returned by the transform method.ai.libs.jaicore.math.linearalgebra.Vectortransform(Dyad dyad)Transform the instance of the given dyad (models the skill).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ai.libs.jaicore.ml.dyadranking.algorithm.featuretransform.IDyadFeatureTransform
getPreComputedFeatureTransforms
-
-
-
-
Method Detail
-
transform
public ai.libs.jaicore.math.linearalgebra.Vector transform(Dyad dyad)
Description copied from interface:IDyadFeatureTransformTransform the instance of the given dyad (models the skill).- Specified by:
transformin interfaceIDyadFeatureTransform- Parameters:
dyad- the dyad to transform- Returns:
- the transformed instance values for the dyad
-
getTransformedVectorLength
public int getTransformedVectorLength(int alternativeLength, int instanceLength)Description copied from interface:IDyadFeatureTransformGet the length of the vector returned by the transform method.- Specified by:
getTransformedVectorLengthin interfaceIDyadFeatureTransform- Parameters:
alternativeLength- the length of the alternative vector of the transformed dyadinstanceLength- the length of the instance vector of the transformed dyad- Returns:
- the length of the transformed feature vector
-
-