[
https://issues.apache.org/jira/browse/MAHOUT-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lance Norskog updated MAHOUT-838:
---------------------------------
Attachment: MAHOUT-838.patch
This is roughly what I uploaded last time and marked 'Patch Available' (I
thought). Weird.
Ok, I'm pretty happy with this one. Print* is folded into
ConfusionMatrixDumper. Both Dumpers are AbstractJob.
One quirk: AbstractJob does not support optional inputPath or outputPath when
you use those convenience methods.
It's a lot more streamlined as to options and features. The options to pick
what tables you want are gone: you get all four HTML outputs. The low-level
print methods for all are public static. Only MatrixDumper does CSV.
> Make the confusion matrix writable to a file when testing classifiers
> ---------------------------------------------------------------------
>
> Key: MAHOUT-838
> URL: https://issues.apache.org/jira/browse/MAHOUT-838
> Project: Mahout
> Issue Type: Improvement
> Affects Versions: 0.6
> Reporter: Grant Ingersoll
> Priority: Minor
> Attachments: ConfusionMatrix.java, MAHOUT-838.patch,
> MAHOUT-838.patch, MAHOUT-838.patch, MAHOUT-838_mini.patch,
> MatrixWritable.java, bayes-cm-10.html
>
>
> If you have a lot of labels for a classifier, the confusion matrix is hard to
> fit in terminal window. Would be nice if we could write it out to a file.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira