You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sebastian Schelter (JIRA)" <ji...@apache.org> on 2014/04/30 07:26:16 UTC

[jira] [Commented] (MAHOUT-1531) Remove ALPHA_I CLI option in NB

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

Sebastian Schelter commented on MAHOUT-1531:
--------------------------------------------

Any opposed to fixing that parameter? Any good reason to still expose it to the user?

> Remove ALPHA_I CLI option in NB
> -------------------------------
>
>                 Key: MAHOUT-1531
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1531
>             Project: Mahout
>          Issue Type: Bug
>          Components: Classification, CLI
>    Affects Versions: 0.9
>         Environment:  
>            Reporter: Andrew Palumbo
>            Priority: Trivial
>             Fix For: 1.0
>
>         Attachments: MAHOUT-1531.patch
>
>
> The APLHA_I CLI option accepts a float for what should (according to the paper) be a vector of floats (or more correctly a path to a SequenceFile containing word, alpha_i pairs for each word in the respective dictionary).   The current MapReduce NB implementation treats APLHA_I as a constant float where it should be a vector (ALPHA) of floats (smoothing parameter per word).  
> However as (Rennie et al.) sec 2.2 uses a constant ALPHA_I = 1 and the NB implementation defaults to APLHA_I = 1 and is an implementation of Rennie, there is not really a problem.
> To avoid confusion, I think its a good idea to remove the option to set ALPHA_I and to keep ALPHA_I a constant 1.0 in NB.
>    



--
This message was sent by Atlassian JIRA
(v6.2#6252)