public class FlatToRelational
extends weka.filters.SimpleStreamFilter
Constructor and Description |
---|
FlatToRelational() |
Modifier and Type | Method and Description |
---|---|
weka.core.Capabilities |
getCapabilities()
Returns the Capabilities of this filter.
|
boolean |
getDoNotKeepOtherAttributes() |
int |
getNumVariables() |
java.lang.String |
getRange() |
java.lang.String |
globalInfo() |
void |
setDoNotKeepOtherAttributes(boolean keepOtherAttributes) |
boolean |
setInputFormat(weka.core.Instances instanceInfo)
This method needs to be called before the filter is used to transform instances.
|
void |
setNumVariables(int numVariables) |
void |
setRange(java.lang.String range) |
batchFilterFile, debugTipText, doNotCheckCapabilitiesTipText, filterFile, getCapabilities, getCopyOfInputFormat, getDebug, getDoNotCheckCapabilities, getOptions, getOutputFormat, getRevision, isFirstBatchDone, isNewBatch, isOutputFormatDefined, listOptions, main, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputPeek, postExecution, preExecution, run, runFilter, setDebug, setDoNotCheckCapabilities, setOptions, toString, useFilter, wekaStaticWrapper
public java.lang.String globalInfo()
globalInfo
in class weka.filters.SimpleFilter
public boolean setInputFormat(weka.core.Instances instanceInfo) throws java.lang.Exception
setInputFormat
in class weka.filters.SimpleFilter
java.lang.Exception
public weka.core.Capabilities getCapabilities()
getCapabilities
in interface weka.core.CapabilitiesHandler
getCapabilities
in class weka.filters.Filter
@OptionMetadata(displayName="number of variables", description="The number of variables in the timeseries (default = 1, univariate time series)", commandLineParamName="N", commandLineParamSynopsis="-N <int>", displayOrder=0) public int getNumVariables()
public void setNumVariables(int numVariables)
@OptionMetadata(displayName="attribute range", description="The attributes to transform into a multivariate timeseries, skipping the class if set (default = \"first-last\")", commandLineParamName="R", commandLineParamSynopsis="-R <string>", displayOrder=1) public java.lang.String getRange()
public void setRange(java.lang.String range)
@OptionMetadata(displayName="do not keep other selected attributes", description="Whether not to keep (non-class) attributes that are outside the range.", commandLineParamName="K", commandLineParamSynopsis="-K", commandLineParamIsFlag=true, displayOrder=2) public boolean getDoNotKeepOtherAttributes()
public void setDoNotKeepOtherAttributes(boolean keepOtherAttributes)