[ https://issues.apache.org/jira/browse/MAHOUT-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12831678#action_12831678 ]
Jeff Eastman edited comment on MAHOUT-270 at 2/9/10 9:39 PM: ------------------------------------------------------------- r908235 commits the Printable interface and implements it in ClusterBase, DirichletCluster and Model. It does not modify ClusterDumper so current dump formats are unchanged, but that is the remaining task to complete this issue. Here is what was done versus the above requirements: 1. We need an efficient, binary encoding for serialization and deserialization: No changes to Writable utilization 2. We need a Json encoding encoding for serialization and deserialization: asJsonString in Printable interface supports this 3. We need a complete, human-readable encoding for output only: recommend using asJsonString if completeness is needed 4. We need a human-readable encoding for output only: asFormatString(bindings) implements simplified, more readable notations with optional bindings 5. We need a human-readable toString() encoding for debugging only: toString generally calls asFormatString(null) was (Author: jeastman): r908235 commits the Printable interface and implements it in ClusterBase, DirichletCluster and Model. It does not modify ClusterDumper so current dump formats are unchanged, but that is the remaining task to complete this issue > Make ClusterDumper dump Dirichlet clusters too > ---------------------------------------------- > > Key: MAHOUT-270 > URL: https://issues.apache.org/jira/browse/MAHOUT-270 > Project: Mahout > Issue Type: Improvement > Components: Clustering > Affects Versions: 0.2 > Reporter: Jeff Eastman > Assignee: Jeff Eastman > > Given the binary representation of models/clusters in Dirichlet, extend the > ClusterDumper utility to dump out a printable representation of them too. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.