Class AbstractMatchWekaInstanceAgainstHeader

    • Field Detail

      • m_Dataset

        protected weka.core.Instances m_Dataset
        the header to match against.
    • Constructor Detail

      • AbstractMatchWekaInstanceAgainstHeader

        public AbstractMatchWekaInstanceAgainstHeader()
    • Method Detail

      • getDatasetHeader

        protected abstract weka.core.Instances getDatasetHeader()
        Acquires the dataset header.
        Returns:
        the dataset header to match against
      • isCompatible

        protected String isCompatible​(weka.core.Instance input)
        Checks the instance against the header, whether they are compatible.
        Parameters:
        input - the input instance
        Returns:
        null if compatible, otherwise error message
      • match

        protected weka.core.Instance match​(weka.core.Instance input)
        Matches the input instance against the header.
        Parameters:
        input - the Instance to align to the header
        Returns:
        the aligned Instance