You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Lance Norskog (Commented) (JIRA)" <ji...@apache.org> on 2012/01/05 07:58:39 UTC

[jira] [Commented] (MAHOUT-941) Strip quoted text from emails and add statistics to ConfusionMatrix

    [ https://issues.apache.org/jira/browse/MAHOUT-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180227#comment-13180227 ] 

Lance Norskog commented on MAHOUT-941:
--------------------------------------

Suggestion: leave out 'Success' if you commit. It is not a finished product. I was unable to cleanly remove it from the patch.

Removing the quoted text was a serious win- SGD worked much better without quoted text and subjects, oddly. See attached zipped files Bayes.zip and SGD.zip for test runs. I worked against a sample of the Apache email archives; it's on the net somewhere but I can't find the link just now.

                
> Strip quoted text from emails and add statistics to ConfusionMatrix
> -------------------------------------------------------------------
>
>                 Key: MAHOUT-941
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-941
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Classification
>            Reporter: Lance Norskog
>            Priority: Minor
>         Attachments: MAHOUT-941.patch
>
>
> This patch does 2 things:
> # Add an feature to org.apache.mahout.text.SequenceFilesFromMailArchives that removes quoted text from email bodies. This is important because it avoid spamming the term dictionary with repeated text, especially in long email threads.
> ** The feature defaults to true. Add "--quoted" to the command line to keep the quoted lines.
> # Adds some dubious overall measurements to the ConfusionMatrix. 
> ** Kappa - a standard measurement. 
> *** How different is this confidence matrix from random numbers? 0.0 is the same, 1.0 is completely different.
> *** I think this is an "unweighted" kappa. 
> ** "Success" - a homegrown formula attempting to represent the correctness of each box. Probably bogus. 
> *** The standard deviation shows the distance between the success of each producer->consumer box.

--
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