public class TimeSeriesDelta extends TimeSeriesTranslate
-R <index1,index2-index4,...> Specify list of columns to translate in time. First and last are valid indexes. (default none)
-V Invert matching sense (i.e. calculate for all non-specified columns)
-I <num> The number of instances forward to translate values between. A negative number indicates taking values from a past instance. (default -1)
-M For instances at the beginning or end of the dataset where the translated values are not known, remove those instances (default is to use missing values).
Constructor and Description |
---|
TimeSeriesDelta() |
Modifier and Type | Method and Description |
---|---|
Capabilities |
getCapabilities()
Returns the Capabilities of this filter.
|
java.lang.String |
getRevision()
Returns the revision string.
|
java.lang.String |
globalInfo()
Returns a string describing this classifier
|
static void |
main(java.lang.String[] argv)
Main method for testing this class.
|
boolean |
setInputFormat(Instances instanceInfo)
Sets the format of the input instances.
|
attributeIndicesTipText, batchFinished, fillWithMissingTipText, getAttributeIndices, getFillWithMissing, getInstanceRange, getInvertSelection, getOptions, input, instanceRangeTipText, invertSelectionTipText, listOptions, setAttributeIndices, setAttributeIndicesArray, setFillWithMissing, setInstanceRange, setInvertSelection, setOptions
batchFilterFile, filterFile, getCapabilities, getOutputFormat, isFirstBatchDone, isNewBatch, isOutputFormatDefined, makeCopies, makeCopy, numPendingOutput, output, outputPeek, toString, useFilter, wekaStaticWrapper
public java.lang.String globalInfo()
globalInfo
in class TimeSeriesTranslate
public Capabilities getCapabilities()
getCapabilities
in interface CapabilitiesHandler
getCapabilities
in class TimeSeriesTranslate
Capabilities
public boolean setInputFormat(Instances instanceInfo) throws java.lang.Exception
setInputFormat
in class TimeSeriesTranslate
instanceInfo
- an Instances object containing the input instance
structure (any instances contained in the object are ignored - only the
structure is required).UnsupportedAttributeTypeException
- if selected
attributes are not numeric.java.lang.Exception
- if the format couldn't be set successfullypublic java.lang.String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class TimeSeriesTranslate
public static void main(java.lang.String[] argv)
argv
- should contain arguments to the filter: use -h for help