Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-812

Allow ConfusionMatrix to be Writable (via MatrixWritable)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.6
    • None
    • None

    Description

      ConfusionMatrix does not support Writable. This patch adds that feature. ConfusionMatrix is a subclass of MatrixWritable.

      Since ConfusionMatrix is somewhat less than useful without the row/column labels, and MatrixWritable does not support writing bindings (it only saves numbers), this patch fixes both.

      Includes unit test for ConfusionMatrix (previously missing) which includes exercise of MatrixWritable support for numbers and labels. (There is no independent unit test for MatrixWritable.)

      Attachments

        1. MAHOUT-812.patch
          14 kB
          Sean R. Owen
        2. MAHOUT-812.patch
          16 kB
          Lance Norskog
        3. MAHOUT-812.patch
          13 kB
          Lance Norskog

        Issue Links

          Activity

            People

              srowen Sean R. Owen
              lancenorskog Lance Norskog
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: