FeatureExtractor
Encapsulate features extracted from a FeatureSpec.
- Type Params
- M
-
input collection type, e.g.
Array
, List - T
-
input record type to extract features from
trait Serializable
class Object
trait Matchable
class Any
Value members
Methods
Values of the extracted features, in the same order as names in featureNames.
- Type Params
- F
-
output data type, e.g.
Array[Float]
,Array[Double]
,DenseVector[Float]
,DenseVector[Double]
def featureResults[F](evidence$6: FeatureBuilder[F], evidence$7: ClassTag[F]): M[FeatureResult[F, T]]
Values of the extracted features, in the same order as names in featureNames with
rejections keyed on feature name and the original input record.
rejections keyed on feature name and the original input record.
- Type Params
- F
-
output data type, e.g.
Array[Float]
,Array[Double]
,DenseVector[Float]
,DenseVector[Double]
Fields
@transient
JSON settings of the FeatureSpec and aggregated feature summary.
This can be used with FeatureSpec.extractWithSettings to bypass the
extracting new records of the same type.
reduce
step whenextracting new records of the same type.