mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Böhmer <>
Subject Re: Data Types for Item/Element Ids
Date Fri, 09 Jul 2010 10:12:58 GMT
Very good question! Could you please point me to the support of the
library where I can find a mapper form strings to longs for item and
unser IDs? Thank you!


2010/7/9 Sean Owen <>:
> I believe you are referring to recommenders specifically. It used to
> allow string IDs but it's a lot of overhead. Most applications already
> use integer identifiers for these entities -- and those that don't can
> use the support in the library for building a mapping from strings to
> ints.
> Vectors naturally have integer dimensions of course, but can in some
> cases label the dimensions with strings.
> The answer depends on what you are referring to but think it's going
> to be integers for the most part, since the caller can map anything to
> integers without much trouble.
> On Fri, Jul 9, 2010 at 11:04 AM, Kris Jack <> wrote:
>> Hi everyone,
>> In mahout, I get the impression that most of the data structures require
>> item/element ids to be longs or ints.  As Mahout is designed to scale up to
>> huge data sets, would it be useful to also allow strings as ids, such as
>> universally unique identifiers?  Any comments?
>> Regards,
>> Kris


View raw message