Class DistributionFormatter


  • public class DistributionFormatter
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DistributionFormatter​(int numDecimals, weka.classifiers.evaluation.output.prediction.Format format, java.lang.String lineSeparator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String formatDistribution​(AMResults results, double[] distribution)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DistributionFormatter

        public DistributionFormatter​(int numDecimals,
                                     weka.classifiers.evaluation.output.prediction.Format format,
                                     java.lang.String lineSeparator)
        Parameters:
        numDecimals - the number of digits to output after the decimal point
        format -
    • Method Detail

      • formatDistribution

        public java.lang.String formatDistribution​(AMResults results,
                                                   double[] distribution)