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

Grant Ingersoll commented on MAHOUT-220:
----------------------------------------

Yeah, I don't think Utils should need to depend on core.  I would think it 
should be:

Most things depend on Math (i.e. Vectors) including core and utils
Utils should be standalone tools for getting things into the appropriate 
mathematical representation which can be consumed by core, et. al.

bq. Why is utils in its own module anyways, instead of just being in core?

I imagined utils to be the place where things that did useful ancillary tasks 
lived, such as converting ARFF to Mahout Vector or converting a Lucene index to 
Mahout Vector or converting a whole slew of raw text to Mahout Vector.  That 
way the core wouldn't need to be muddied by the various dependencies and could 
be as lightweight as possible.  So, overtime, Utils may grow to have a dep. on 
Tika for instance or a pipeline like OpenPipeline, but the core need not know 
anything about it.

Bleah, indeed!

> Mahout Bayes Code cleanup
> -------------------------
>
>                 Key: MAHOUT-220
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-220
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Classification
>    Affects Versions: 0.3
>            Reporter: Robin Anil
>            Assignee: Robin Anil
>             Fix For: 0.3
>
>         Attachments: MAHOUT-BAYES.patch, MAHOUT-BAYES.patch
>
>
> Following isabel's checkstyle, I am adding a whole slew of code cleanup with 
> the following exceptions
> 1.  Line length used is 120 instead of 80. 
> 2.  static final log is kept as is. not LOG. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to