Class WekaInstancesToTimeseries

  • All Implemented Interfaces:
    AdditionalInformationHandler, CleanUpHandler, Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, ShallowCopySupporter<AbstractConversion>, SizeOfHandler, Stoppable, Conversion, Serializable

    public class WekaInstancesToTimeseries
    extends AbstractConversion
    Turns a WEKA Instances object into a Timeseries.

    Valid options are:

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -date-attribute <adams.data.weka.WekaAttributeIndex> (property: dateAttribute)
        The index of the date attribute in the dataset to use a timestamp for the 
        timeseries data points.
        default: 1
        example: An index is a number starting with 1; apart from attribute names (case-sensitive), the following placeholders can be used as well: first, second, third, last_2, last_1, last
     
    -value-attribute <adams.data.weka.WekaAttributeIndex> (property: valueAttribute)
        The index of the attribute with the timeseries values in the dataset.
        default: 2
        example: An index is a number starting with 1; apart from attribute names (case-sensitive), the following placeholders can be used as well: first, second, third, last_2, last_1, last
     
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_DateAttribute

        protected WekaAttributeIndex m_DateAttribute
        the date attribute to use.
      • m_ValueAttribute

        protected WekaAttributeIndex m_ValueAttribute
        the value attribute to use.
    • Constructor Detail

      • WekaInstancesToTimeseries

        public WekaInstancesToTimeseries()
    • Method Detail

      • setDateAttribute

        public void setDateAttribute​(WekaAttributeIndex value)
        Sets the index of the date attribute to use as timestamp for timeseries.
        Parameters:
        value - the index
      • getDateAttribute

        public WekaAttributeIndex getDateAttribute()
        Returns the index of the date attribute to use as timestamp for timeseries.
        Returns:
        the index
      • dateAttributeTipText

        public String dateAttributeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setValueAttribute

        public void setValueAttribute​(WekaAttributeIndex value)
        Sets the index of the attribute with the timeseries values.
        Parameters:
        value - the index
      • getValueAttribute

        public WekaAttributeIndex getValueAttribute()
        Returns the index of the attribute with the timeseries values.
        Returns:
        the index
      • valueAttributeTipText

        public String valueAttributeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.