You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Matt Mitchell <go...@gmail.com> on 2012/09/05 16:14:30 UTC

custom IDs for distributed jobs

Is it possible to customize the ID type (I'd like strings) when
running the similarity/recommendations distributed jobs?

Thanks,

- Matt

Re: custom IDs for distributed jobs

Posted by Matt Mitchell <go...@gmail.com>.
Cool, mapping is fine. Thanks!

- Matt

On Wed, Sep 5, 2012 at 10:18 AM, Sebastian Schelter <ss...@apache.org> wrote:
> Hi Matt,
>
> Unfortunately not, these jobs undertake a lot of mathematical operations
> inside which use vectors keyed on ints. You can map your string ids to
> ints before the job and remap them afterwards however.
>
> Best,
> Sebastian
>
> On 05.09.2012 16:14, Matt Mitchell wrote:
>> Is it possible to customize the ID type (I'd like strings) when
>> running the similarity/recommendations distributed jobs?
>>
>> Thanks,
>>
>> - Matt
>>
>

Re: custom IDs for distributed jobs

Posted by Sebastian Schelter <ss...@apache.org>.
Hi Matt,

Unfortunately not, these jobs undertake a lot of mathematical operations
inside which use vectors keyed on ints. You can map your string ids to
ints before the job and remap them afterwards however.

Best,
Sebastian

On 05.09.2012 16:14, Matt Mitchell wrote:
> Is it possible to customize the ID type (I'd like strings) when
> running the similarity/recommendations distributed jobs?
> 
> Thanks,
> 
> - Matt
>