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

Interface FeatureGenerator<T>

  • Type Parameters:
    T - the type of input object.
    All Known Implementing Classes:
    Bag, DateFeature, OneHotEncoder


    public interface FeatureGenerator<T>
    Feature generator.
    • Method Detail

      • attributes

        Attribute[] attributes()
        Returns the variable attributes of generated features. Note that these are NOT the original variable attributes of objects.
        Returns:
        the variable attributes of generated features
      • feature

        double[] feature(T object)
        Generates a feature for given object.
        Parameters:
        object - an object of interest.
        Returns:
        a feature vector.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.