Class MultiThreeWayDataFeatureGenerator

  • All Implemented Interfaces:
    adams.core.CleanUpHandler, adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.ShallowCopySupporter<AbstractThreeWayDataFeatureGenerator>, adams.core.SizeOfHandler, Serializable, Comparable

    public class MultiThreeWayDataFeatureGenerator
    extends AbstractThreeWayDataFeatureGenerator
    Applies multiple generators to the same 3-way data and merges the generated a feature vectors side-by-side. If one of the generators should create fewer a feature vectors, missing values are used in that case.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -converter <adams.data.featureconverter.AbstractFeatureConverter> (property: converter)
        The feature converter to use to produce the output data.
        default: adams.data.featureconverter.SpreadSheet -data-row-type adams.data.spreadsheet.DenseDataRow -spreadsheet-type adams.data.spreadsheet.DefaultSpreadSheet
     
    -prefix <java.lang.String> (property: prefix)
        The (optional) prefix to use for the feature names.
        default:
     
    -field <adams.data.report.Field> [-field ...] (property: fields)
        The fields to add to the output.
        default:
     
    -notes <adams.core.base.BaseString> [-notes ...] (property: notes)
        The notes to add as attributes to the generated data, eg 'PROCESS INFORMATION'
        .
        default:
     
    -sub-generator <adams.data.threewayfeatures.AbstractThreeWayDataFeatureGenerator> [-sub-generator ...] (property: subGenerators)
        The generators to apply to the data.
        default:
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_SubHeaders

        protected adams.data.featureconverter.HeaderDefinition[] m_SubHeaders
        the sub-headers.
    • Constructor Detail

      • MultiThreeWayDataFeatureGenerator

        public MultiThreeWayDataFeatureGenerator()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        a description suitable for displaying in the gui
      • subGeneratorsTipText

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

        protected String createPrefix​(int index)
        Generates the prefix for the specified flattener.
        Parameters:
        index - the index of the flattener
        Returns:
        the prefix