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

Allow ConfusionMatrix to be Writable (via MatrixWritable)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.)

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: