Obtain a new extractor that computes its values from zero or more functions
Obtain a new extractor that computes its values from zero or more functions
Zero or more functions from domain to individual feature values.
An extractor that returns feature sequence (f0(d), f1(d), ...)
Obtain a new extractor that always returns the same constant features
Obtain a new extractor that always returns the same constant features
Zero or more values that will be returned as a constant FeatureSeq
A constant-valued extractor that always returns feature sequence (v0, v1, ...)
Obtain a new empty extractor: an extractor returning FeatureSeq of zero length
Obtain a new empty extractor: an extractor returning FeatureSeq of zero length
An extractor that returns feature sequences of zero length.
Obtain a new extractor that selects numeric values by a list of indices
Obtain a new extractor that selects numeric values by a list of indices
Zero or more indices
An extractor that returns feature sequence (d(j0), d(j1), ...)
Obtain a new extractor that loads an entire numeric sequence into a feature sequence
Obtain a new extractor that loads an entire numeric sequence into a feature sequence
The width of the extractor, and required input sequence length
an extractor that will load sequences of numeric values into a feature sequence
Generate a quadratic expansion over a set of features by their index.
Generate a quadratic expansion over a set of features by their index.
The Extractor whose output features are to be expanded.
A list of the feature indexes to expand.
If true, expand features with themselves (square them). Otherwise, only generate products with other features. Defaults to false.
An extractor whose domain is the output of this extractor, which computes the pairwise products of the given features.
Generate a quadratic expansion over a set of named features.
Generate a quadratic expansion over a set of named features.
The Extractor whose output features are to be expanded.
A list of feature names to expand.
If true, expand features with themselves (square them). Otherwise, only generate products with other features. Defaults to false.
An extractor whose domain is the output of this extractor, which computes the pairwise products of the given features.
Obtain a new extractor that selects numeric strings by a list of indices, and converts them to Double.
Obtain a new extractor that selects numeric strings by a list of indices, and converts them to Double.
Zero or more indices
An extractor that returns feature sequence (d(j0).toDouble, d(j1).toDouble, ...)
Factory methods for creating various flavors of feature Extractor.