Class 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 Detail

      • BiliniearFeatureTransform

        public BiliniearFeatureTransform()
    • Method Detail

      • transform

        public ai.libs.jaicore.math.linearalgebra.Vector transform​(Dyad dyad)
        Description copied from interface: IDyadFeatureTransform
        Transform the instance of the given dyad (models the skill).
        Specified by:
        transform in interface IDyadFeatureTransform
        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: IDyadFeatureTransform
        Get the length of the vector returned by the transform method.
        Specified by:
        getTransformedVectorLength in interface IDyadFeatureTransform
        Parameters:
        alternativeLength - the length of the alternative vector of the transformed dyad
        instanceLength - the length of the instance vector of the transformed dyad
        Returns:
        the length of the transformed feature vector