[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-07-07 Thread M. Arshad Khan (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728466#action_12728466 ] M. Arshad Khan commented on MAHOUT-65: -- The patch seems to work for me. However, I get

Re: [jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-07-06 Thread Sean Owen
OK makes sense, I see. Will put it back -- and that I am sure will make the test pass. On Mon, Jul 6, 2009 at 4:49 PM, Jeff Eastman wrote: > See previous note. For space considerations we agreed Vector label bindings > should not be serialized but that Matrix bindings should. Gson serialization >

Re: [jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-07-06 Thread Jeff Eastman
See previous note. For space considerations we agreed Vector label bindings should not be serialized but that Matrix bindings should. Gson serialization uses the transient indicator. Sean Owen (JIRA) wrote: [ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.s

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-07-06 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727440#action_12727440 ] Sean Owen commented on MAHOUT-65: - OK ready to submit, after I fixed a bone-headed NPE in th

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-07-06 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727430#action_12727430 ] Sean Owen commented on MAHOUT-65: - You are right. I think these two changes kind of collided

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-07-05 Thread M. Arshad Khan (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727378#action_12727378 ] M. Arshad Khan commented on MAHOUT-65: -- Hi All Looking at the implementation of clone

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Jeff Eastman (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720886#action_12720886 ] Jeff Eastman commented on MAHOUT-65: I changed the code to substitute 10 random double v

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720885#action_12720885 ] Grant Ingersoll commented on MAHOUT-65: --- JSON is fine for In and Out of Mahout, IMO, b

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Ted Dunning (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720883#action_12720883 ] Ted Dunning commented on MAHOUT-65: --- {noformat} public void testFour() throws IOException

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Benson Margulies (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720881#action_12720881 ] Benson Margulies commented on MAHOUT-65: XML FastInfoSet? > Add Element Labels to V

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Jeff Eastman (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720871#action_12720871 ] Jeff Eastman commented on MAHOUT-65: I implemented a little test using a TestVector that

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720850#action_12720850 ] Sean Owen commented on MAHOUT-65: - I am neutral on JSON, if only because its headline featur

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720838#action_12720838 ] Grant Ingersoll commented on MAHOUT-65: --- bq. The canopy clustering example has been br

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Robert Burrell Donkin (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720817#action_12720817 ] Robert Burrell Donkin commented on MAHOUT-65: - The canopy clustering example has

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720797#action_12720797 ] Sean Owen commented on MAHOUT-65: - For strictly internal representations, the default Java s

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Ted Dunning (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720784#action_12720784 ] Ted Dunning commented on MAHOUT-65: --- bq. I've seen this happen a lot with Solr and other X

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Jeff Eastman (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720768#action_12720768 ] Jeff Eastman commented on MAHOUT-65: Perhaps, though the Json representation of Sean's n

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720752#action_12720752 ] Grant Ingersoll commented on MAHOUT-65: --- bq. For really big vectors I'd expect seriali

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Jeff Eastman (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720732#action_12720732 ] Jeff Eastman commented on MAHOUT-65: This particular operation is just extracting the Ve

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-17 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720671#action_12720671 ] Grant Ingersoll commented on MAHOUT-65: --- So, with Sean's patch to MAHOUT-121, it seems

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-16 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720345#action_12720345 ] Grant Ingersoll commented on MAHOUT-65: --- Committed the name stuff: Committed revision

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-16 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720302#action_12720302 ] Grant Ingersoll commented on MAHOUT-65: --- Jeff, One comment on the GSON serialization

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-16 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720218#action_12720218 ] Grant Ingersoll commented on MAHOUT-65: --- Yep, I have a patch for that, will upload sho

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-16 Thread Jeff Eastman (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720216#action_12720216 ] Jeff Eastman commented on MAHOUT-65: How about we just add a name attribute to AbstractV

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-16 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720199#action_12720199 ] Grant Ingersoll commented on MAHOUT-65: --- That works for Matrix. For Vector, I was thi

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-16 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720161#action_12720161 ] Grant Ingersoll commented on MAHOUT-65: --- OK, I will work up a patch for the name thing

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-16 Thread Jeff Eastman (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720128#action_12720128 ] Jeff Eastman commented on MAHOUT-65: I committed MAHOUT-65c and another patch to make bi

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-16 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720045#action_12720045 ] Grant Ingersoll commented on MAHOUT-65: --- Is the only way to add bindings by setting th

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-16 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720037#action_12720037 ] Grant Ingersoll commented on MAHOUT-65: --- Hey Jeff, Minor request, it seems like you h

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-15 Thread Ted Dunning (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719884#action_12719884 ] Ted Dunning commented on MAHOUT-65: --- bq. For text analysis, we are seeing sparse term vect

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-15 Thread Jeff Eastman (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719863#action_12719863 ] Jeff Eastman commented on MAHOUT-65: Here's an issue that needs some further discussion:

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-13 Thread Jeff Eastman (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719181#action_12719181 ] Jeff Eastman commented on MAHOUT-65: Will do, Jeff > Add Element Labels to Vectors a

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2009-06-13 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719119#action_12719119 ] Grant Ingersoll commented on MAHOUT-65: --- Jeff, Could you bring this up to date with

Re: [jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-10-21 Thread Grant Ingersoll
On Oct 21, 2008, at 8:18 AM, Sean Owen wrote: I don't think JSON is quite appropriate, er, optimal. We're not encoding data to be sent to an AJAX app. XML is a thought, but pretty verbose. -1 on XML, although it is possibly reasonable to think about being able to import/export whatever we c

Re: [jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-10-21 Thread Sean Owen
I don't think JSON is quite appropriate, er, optimal. We're not encoding data to be sent to an AJAX app. XML is a thought, but pretty verbose. Thrift is good. Protocol Buffers from Google (obviously, this is something I know about and prefer) are also an option -- about the same thing really. I wo

Re: [jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-10-20 Thread Ted Dunning
I would love to hear from Karl. Whatever we choose to do has implications on what kinds of attributes are reasonable to serialize. He was the driving force behind having something fancier than simple strings as attribute values. On Mon, Oct 20, 2008 at 10:03 PM, Jeff Eastman <[EMAIL PROTECTED]>w

Re: [jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-10-20 Thread Jeff Eastman
Ted Dunning wrote: I see what you mean. To repeat in other words, the problems that need to be solved are: a) there are many uses already so adding attributes should be transparent to those who don't use them b) the encoding should not be ad hoc because this would be our second ad hoc encoding

Re: [jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-10-19 Thread Ted Dunning
I see what you mean. To repeat in other words, the problems that need to be solved are: a) there are many uses already so adding attributes should be transparent to those who don't use them b) the encoding should not be ad hoc because this would be our second ad hoc encoding and only one should

Re: [jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-10-19 Thread Jeff Eastman
Hi Ted, Sure, consider the following, somewhat simplified implementation. What the various TODOs indicate is the places where encoding/decoding decisions need to be made. Some of these are non-trivial, such as in Attributes where the nameIndex and attributes need to refer to common values. I

Re: [jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-10-17 Thread Ted Dunning
Jeff, Can you say just a bit more about what richness and what awkwardness that you ran into? On Fri, Oct 17, 2008 at 11:33 AM, Jeff Eastman (JIRA) <[EMAIL PROTECTED]>wrote: > >[ > https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-ta

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-10-17 Thread Jeff Eastman (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640616#action_12640616 ] Jeff Eastman commented on MAHOUT-65: I did a test implementation of element labeling bas

Re: [jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-07-23 Thread Jeff Eastman
QED. +1 Thanks, Ted, that rocks. Jeff Ted Dunning (JIRA) wrote: [ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615897#action_12615897 ] Ted Dunning commented on MAHOUT-65: --

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-07-23 Thread Ted Dunning (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615897#action_12615897 ] Ted Dunning commented on MAHOUT-65: --- The user story I have in mind is one I encounter at

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-07-22 Thread Jeff Eastman (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615869#action_12615869 ] Jeff Eastman commented on MAHOUT-65: Whether or not we decide to split this issue or jus

Re: [jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-07-22 Thread Grant Ingersoll
On Jul 22, 2008, at 1:09 PM, Ted Dunning (JIRA) wrote: [ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615675 #action_12615675 ] Ted Dunning commented on MAHOUT-65:

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-07-22 Thread Ted Dunning (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615675#action_12615675 ] Ted Dunning commented on MAHOUT-65: --- Karl, That makes sense. Of course, you tend to make

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-07-22 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615636#action_12615636 ] Karl Wettin commented on MAHOUT-65: --- bq. could you please state the problem you are trying

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-07-22 Thread Ted Dunning (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615612#action_12615612 ] Ted Dunning commented on MAHOUT-65: --- Adding attributes to elements of vectors or columns o

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-07-22 Thread Jeff Eastman (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615560#action_12615560 ] Jeff Eastman commented on MAHOUT-65: This thread is beginning to diverge significantly f

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-07-21 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615292#action_12615292 ] Karl Wettin commented on MAHOUT-65: --- bq. That seems like shoe-horning two functions into o

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-07-14 Thread Ted Dunning (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613352#action_12613352 ] Ted Dunning commented on MAHOUT-65: --- Ahhh... So this would be the type of the element of

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-07-14 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613330#action_12613330 ] Karl Wettin commented on MAHOUT-65: --- With "real" I just mean "plain old double weight feat

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-07-14 Thread Ted Dunning (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613262#action_12613262 ] Ted Dunning commented on MAHOUT-65: --- It is a fair preference to prefer that the labels be

[jira] Commented: (MAHOUT-65) Add Element Labels to Vectors and Matrices

2008-07-14 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613255#action_12613255 ] Karl Wettin commented on MAHOUT-65: --- Late submission, but I think I'd prefer if the labels