public class DocumentCategorizerEventStream extends AbstractEventStream<DocumentSample>
Constructor and Description |
---|
DocumentCategorizerEventStream(ObjectStream<DocumentSample> samples)
Initializes the current instance.
|
DocumentCategorizerEventStream(ObjectStream<DocumentSample> data,
FeatureGenerator... featureGenerators)
Initializes the current instance via samples and feature generators.
|
public DocumentCategorizerEventStream(ObjectStream<DocumentSample> data, FeatureGenerator... featureGenerators)
data
- ObjectStream
of DocumentSample
sfeatureGenerators
- the feature generatorspublic DocumentCategorizerEventStream(ObjectStream<DocumentSample> samples)
samples
- ObjectStream
of DocumentSample
sCopyright © 2020 The Apache Software Foundation. All rights reserved.