Package weka.gui

Class InstancesSummaryPanel

    • Constructor Detail

      • InstancesSummaryPanel

        public InstancesSummaryPanel()
        Creates the instances panel with no initial instances.
    • Method Detail

      • setShowZeroInstancesAsUnknown

        public void setShowZeroInstancesAsUnknown​(boolean zeroAsUnknown)
        Set whether to show zero instances as unknown (i.e. "?" rather than zero). This is useful if header information has been read and the instances themselves will be loaded incrementally.
        Parameters:
        zeroAsUnknown - true if zero instances will be displayed as "unknown", i.e. "?"
      • getShowZeroInstancesAsUnknown

        public boolean getShowZeroInstancesAsUnknown()
        Get whether to show zero instances as unknown (i.e. "?" rather than zero). This is useful if header information has been read and the instances themselves will be loaded incrementally.
        Returns:
        true if zero instances will be displayed as "unknown", i.e. "?"
      • setInstances

        public void setInstances​(Instances inst)
        Tells the panel to use a new set of instances.
        Parameters:
        inst - a set of Instances
      • main

        public static void main​(String[] args)
        Tests out the instance summary panel from the command line.
        Parameters:
        args - optional name of dataset to load