public class OnePassRealValueDataIndexer extends OnePassDataIndexer
Constructor and Description |
---|
OnePassRealValueDataIndexer(ObjectStream<Event> eventStream,
int cutoff)
Two argument constructor for DataIndexer.
|
OnePassRealValueDataIndexer(ObjectStream<Event> eventStream,
int cutoff,
boolean sort) |
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.
|
getContexts, getNumEvents, getNumTimesEventsSeen, getOutcomeLabels, getOutcomeList, getPredCounts, getPredLabels
public OnePassRealValueDataIndexer(ObjectStream<Event> eventStream, int cutoff, boolean sort) throws java.io.IOException
java.io.IOException
public OnePassRealValueDataIndexer(ObjectStream<Event> eventStream, int cutoff) 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
public float[][] getValues()
DataIndexer
getValues
in interface DataIndexer
getValues
in class AbstractDataIndexer
Copyright © 2010 - 2020 Adobe. All Rights Reserved