Return-Path: X-Original-To: apmail-mahout-user-archive@www.apache.org Delivered-To: apmail-mahout-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F4B7C8E3 for ; Mon, 1 Jul 2013 00:47:42 +0000 (UTC) Received: (qmail 83873 invoked by uid 500); 1 Jul 2013 00:47:40 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 83840 invoked by uid 500); 1 Jul 2013 00:47:40 -0000 Mailing-List: contact user-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@mahout.apache.org Delivered-To: mailing list user@mahout.apache.org Received: (qmail 83832 invoked by uid 99); 1 Jul 2013 00:47:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 00:47:40 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of recsysuser@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vb0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 00:47:34 +0000 Received: by mail-vb0-f52.google.com with SMTP id f12so3118614vbg.39 for ; Sun, 30 Jun 2013 17:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jSZs/aUzMWMJLVNT3xcjC4hqZXy5N3gPpSSQrSJ89X4=; b=fi3/yP+a+pleITwQvhDcwCaUDahwQu9kNgLKZG4St6cT65sHamY5APAgXoH6jd4hHq Id0AZo4qOSWIVsaTiqs4k7AbirctYBRuyPwluQ8Hp1S3UI/fWHgknz/SFWJGPIgNm2qr kQ9T6RWLWFgB5eZkfTb8Pe6/a9JoqjPZGUTaxWmtjLHBpJjj3Hxz0b/aBL5t/zv3rHX9 P7EGyjfoJzFc1O1oDlC5ZQweJgaRPXYvzmCuSXQxE7zKubl6AFvkCJ5IX/L4K65ZmA3N yCUPA4zN5aDjDGEoG2WTWB7ZIZHUZiZuMtez8jhkyeF+iwPWRZmABgQ31Rjoal0Bx4YB AaUQ== MIME-Version: 1.0 X-Received: by 10.52.21.232 with SMTP id y8mr7160155vde.6.1372639634151; Sun, 30 Jun 2013 17:47:14 -0700 (PDT) Received: by 10.220.36.74 with HTTP; Sun, 30 Jun 2013 17:47:14 -0700 (PDT) In-Reply-To: <51D0CFAA.9020804@googlemail.com> References: <51D0CFAA.9020804@googlemail.com> Date: Sun, 30 Jun 2013 20:47:14 -0400 Message-ID: Subject: Re: Vectorize the movielens 100K dataset for Mahout k-means clustering From: Carlos Seminario To: user@mahout.apache.org Content-Type: multipart/alternative; boundary=20cf3079babacc605304e06891b6 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3079babacc605304e06891b6 Content-Type: text/plain; charset=ISO-8859-1 Ok. Has anyone already done this (per user) and are willing to share either the vectors or the code? Thanks .. Carlos On Sun, Jun 30, 2013 at 8:39 PM, Sebastian Schelter wrote: > Simply write a Java program, create the vectors per user or item (don't > know how you want to cluster) and write them out via SequenceFileWriter. > > On 01.07.2013 02:29, Carlos Seminario wrote: > > Hi: I want to vectorize the movielens 100K dataset as a > > RandomAccessSparseVector and use it to run Mahout k-means clustering. Has > > anyone done this before? If not, any ideas on a how this can be done? > (BTW, > > movielens dataset contains ~100K records/lines with this format: userid, > > itemid, rating, unix time.) > > > > Thanks .. Carlos > > > > --20cf3079babacc605304e06891b6--