Mahout
  1. Mahout
  2. MAHOUT-812

Allow ConfusionMatrix to be Writable (via MatrixWritable)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6
    • Component/s: None
    • Labels:
      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.)

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

        Issue Links

          Activity

            People

            • Assignee:
              Sean Owen
              Reporter:
              Lance Norskog
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development