public class OnePassRealValueDataIndexer extends OnePassDataIndexer
CUTOFF_DEFAULT, CUTOFF_PARAM, SORT_DEFAULT, SORT_PARAM
Constructor and Description |
---|
OnePassRealValueDataIndexer() |
OnePassRealValueDataIndexer(ObjectStream<Event> eventStream,
int cutoff)
Deprecated.
|
OnePassRealValueDataIndexer(ObjectStream<Event> eventStream,
int cutoff,
boolean sort)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
float[][] |
getValues()
Returns the values associated with each event context or null if integer values are to be used.
|
index
getContexts, getNumEvents, getNumTimesEventsSeen, getOutcomeLabels, getOutcomeList, getPredCounts, getPredLabels, init
@Deprecated public OnePassRealValueDataIndexer(ObjectStream<Event> eventStream, int cutoff, boolean sort) throws IOException
IOException
@Deprecated public OnePassRealValueDataIndexer(ObjectStream<Event> eventStream, int cutoff) 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 OnePassRealValueDataIndexer()
public float[][] getValues()
DataIndexer
getValues
in interface DataIndexer
getValues
in class AbstractDataIndexer
Copyright © 2017 The Apache Software Foundation. All rights reserved.