Class ConfusionMatrix

    • Field Detail

      • m_UseProbabilities

        protected boolean m_UseProbabilities
        whether to use the probabilities rather 0 and 1.
      • m_CellRenderingCustomizer

        protected CellRenderingCustomizer m_CellRenderingCustomizer
        for highlighting the cells in the table.
      • m_NumDecimals

        protected int m_NumDecimals
        the number of decimals to use.
    • Constructor Detail

      • ConfusionMatrix

        public ConfusionMatrix()
    • Method Detail

      • setMatrixValues

        public void setMatrixValues​(ConfusionMatrix.MatrixValues value)
        Sets the type of values to generate.
        Parameters:
        value - the type of values
      • getMatrixValues

        public ConfusionMatrix.MatrixValues getMatrixValues()
        Returns the type of values to generate.
        Returns:
        the type of values
      • matrixValuesTipText

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

        public void setUseProbabilities​(boolean value)
        Sets whether to use probabilities instead of 0 and 1 for the counts.
        Parameters:
        value - true if to use probabilities
      • getUseProbabilities

        public boolean getUseProbabilities()
        Returns whether to use probabilities instead of 0 and 1 for the counts.
        Returns:
        true if to use probabilities
      • useProbabilitiesTipText

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

        public void setCellRenderingCustomizer​(CellRenderingCustomizer value)
        Sets the cell rendering customizer.
        Parameters:
        value - the customizer
      • getCellRenderingCustomizer

        public CellRenderingCustomizer getCellRenderingCustomizer()
        Returns the cell rendering customizer.
        Returns:
        the customizer
      • cellRenderingCustomizerTipText

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

        public void setNumDecimals​(int value)
        Sets the number of decimals to display. Use -1 to display all.
        Parameters:
        value - the number of decimals
      • getNumDecimals

        public int getNumDecimals()
        Returns the currently set number of decimals. -1 if displaying all.
        Returns:
        the number of decimals
      • numDecimalsTipText

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