public class Values extends StageProvider
Modifier and Type | Field and Description |
---|---|
static String |
ARGS_KEY
The index location config option
|
static String |
MATLAB_OUT |
Constructor and Description |
---|
Values(String outputPath,
int valueReduceSplit,
boolean sortValueByTime,
boolean matlabOutput)
Assign the output path for the stage
|
Modifier and Type | Method and Description |
---|---|
static LinkedHashMap<String,WordDFIDFTimeSeries> |
readWordDFIDF(String path,
LinkedHashMap<Long,IndependentPair<Long,Long>> timeIndex,
LinkedHashMap<String,IndependentPair<Long,Long>> wordIndex)
Construct a time series per word
|
SequenceFileTextStage<?,?,?,?,?,?> |
stage() |
public static final String ARGS_KEY
public static final String MATLAB_OUT
public SequenceFileTextStage<?,?,?,?,?,?> stage()
stage
in class StageProvider
public static LinkedHashMap<String,WordDFIDFTimeSeries> readWordDFIDF(String path, LinkedHashMap<Long,IndependentPair<Long,Long>> timeIndex, LinkedHashMap<String,IndependentPair<Long,Long>> wordIndex) throws IOException
path
- timeIndex
- wordIndex
- WordDFIDFTimeSeries
instance per
wordIOException