traitFeaturizer[I, O] extends (I) ⇒ Seq[FeatureObservation[O]] with Serializable
A function that converts objects of some input class into a sequence
of FeatureObservations for an output class O.
For text classification, I and O will typically be String. E.g. we
convert an entire document into the counts of all the words that
occur in it (see BowFeaturizer).
Linear Supertypes
Serializable, Serializable, (I) ⇒ Seq[FeatureObservation[O]], AnyRef, Any
A function that converts objects of some input class into a sequence of FeatureObservations for an output class O.
For text classification, I and O will typically be String. E.g. we convert an entire document into the counts of all the words that occur in it (see BowFeaturizer).