Documentation of 'smile.feature.SequenceFeature' Java class
SequenceFeature
smile.feature

Interface SequenceFeature<T>

  • Type Parameters:
    T - the type of input object.


    public interface SequenceFeature<T>
    Sequence feature generator.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      Attribute[] attributes()
      Returns the variable attributes of generated features.
      double[] f(T[] sequence, int index)
      Generates the feature set of sequence at given index.
    • Method Detail

      • attributes

        Attribute[] attributes()
        Returns the variable attributes of generated features.
        Returns:
        the variable attributes of generated features
      • f

        double[] f(T[] sequence,
                   int index)
        Generates the feature set of sequence at given index.
        Parameters:
        sequence - a sequence of interest.
        index - the index of feature to be generated.
        Returns:
        a feature value.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.