Class RemoveDuplicates

    • Constructor Detail

      • RemoveDuplicates

        public RemoveDuplicates()
    • Method Detail

      • globalInfo

        public java.lang.String globalInfo()
        Returns a string describing this filter.
        Specified by:
        globalInfo in class SimpleFilter
        Returns:
        a description of the filter suitable for displaying in the explorer/experimenter gui
      • input

        public boolean input​(Instance instance)
                      throws java.lang.Exception
        Input an instance for filtering. Filter requires all training instances be read before producing output (calling the method batchFinished() makes the data available). If this instance is part of a new batch, m_NewBatch is set to false.
        Overrides:
        input in class SimpleBatchFilter
        Parameters:
        instance - the input instance
        Returns:
        true if the filtered instance may now be collected with output().
        Throws:
        java.lang.IllegalStateException - if no input structure has been defined
        java.lang.Exception - if something goes wrong
        See Also:
        SimpleBatchFilter.batchFinished()
      • main

        public static void main​(java.lang.String[] args)
        Main method for running this filter.
        Parameters:
        args - arguments for the filter: use -h for help