public class TwoPassDataIndexer extends AbstractDataIndexer
Constructor and Description |
---|
TwoPassDataIndexer(ObjectStream<Event> eventStream)
One argument constructor for DataIndexer which calls the two argument
constructor assuming no cutoff.
|
TwoPassDataIndexer(ObjectStream<Event> eventStream,
int cutoff) |
TwoPassDataIndexer(ObjectStream<Event> eventStream,
int cutoff,
boolean sort)
Two argument constructor for DataIndexer.
|
getContexts, getNumEvents, getNumTimesEventsSeen, getOutcomeLabels, getOutcomeList, getPredCounts, getPredLabels, getValues
public TwoPassDataIndexer(ObjectStream<Event> eventStream) throws java.io.IOException
eventStream
- An Event[] which contains the a list of all the Events
seen in the training data.java.io.IOException
public TwoPassDataIndexer(ObjectStream<Event> eventStream, int cutoff) throws java.io.IOException
java.io.IOException
public TwoPassDataIndexer(ObjectStream<Event> eventStream, int cutoff, boolean sort) throws java.io.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.java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved