public class TwoPassDataIndexer extends AbstractDataIndexer
CUTOFF_DEFAULT, CUTOFF_PARAM, SORT_DEFAULT, SORT_PARAM
Constructor and Description |
---|
TwoPassDataIndexer() |
TwoPassDataIndexer(ObjectStream<Event> eventStream)
Deprecated.
|
TwoPassDataIndexer(ObjectStream<Event> eventStream,
int cutoff)
Deprecated.
|
TwoPassDataIndexer(ObjectStream<Event> eventStream,
int cutoff,
boolean sort)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
index(ObjectStream<Event> eventStream)
Performs the data indexing.
|
getContexts, getNumEvents, getNumTimesEventsSeen, getOutcomeLabels, getOutcomeList, getPredCounts, getPredLabels, getValues, init
@Deprecated public TwoPassDataIndexer(ObjectStream<Event> eventStream) throws IOException
eventStream
- An Event[] which contains the a list of all the Events
seen in the training data.IOException
@Deprecated public TwoPassDataIndexer(ObjectStream<Event> eventStream, int cutoff) throws IOException
IOException
@Deprecated public TwoPassDataIndexer(ObjectStream<Event> eventStream, int cutoff, boolean sort) throws IOException
eventStream
- An Event[] which contains the a list of all the Events
seen in the training data.cutoff
- The minimum number of times a predicate must have been
observed in order to be included in the model.IOException
public TwoPassDataIndexer()
public void index(ObjectStream<Event> eventStream) throws IOException
DataIndexer
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.