Return-Path: Delivered-To: apmail-mahout-user-archive@www.apache.org Received: (qmail 68983 invoked from network); 14 Feb 2011 20:04:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Feb 2011 20:04:02 -0000 Received: (qmail 94389 invoked by uid 500); 14 Feb 2011 20:04:02 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 94204 invoked by uid 500); 14 Feb 2011 20:04:00 -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 94196 invoked by uid 99); 14 Feb 2011 20:03:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 20:03:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.213.170] (HELO mail-yx0-f170.google.com) (209.85.213.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 20:03:52 +0000 Received: by yxt33 with SMTP id 33so2091172yxt.1 for ; Mon, 14 Feb 2011 12:03:31 -0800 (PST) Received: by 10.236.105.162 with SMTP id k22mr2121295yhg.13.1297713811440; Mon, 14 Feb 2011 12:03:31 -0800 (PST) Received: from [10.0.1.14] ([12.153.254.134]) by mx.google.com with ESMTPS id j8sm1791727yha.1.2011.02.14.12.03.30 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Feb 2011 12:03:31 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: item similarities From: Chris Schilling In-Reply-To: Date: Mon, 14 Feb 2011 12:03:28 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@mahout.apache.org X-Mailer: Apple Mail (2.1082) Thanks Sean! I was ignorantly looking in the interface ItemSimilarity :) I see it = now... On Feb 14, 2011, at 11:15 AM, Sean Owen wrote: > Yes just call ItemBasedRecommender.mostSimilarItems() >=20 > On Mon, Feb 14, 2011 at 6:38 PM, Chris Schilling = wrote: >> Hi, >>=20 >> I am sure this is very straight-foward, but I could not find what I = am looking for in MIA or in the docs. I am looking for an API to return = the top most similar items in item based CF. I see that I could use the = itemsimilarity command line option to calculate the similarities. The = thing is, I do not really need to map-reduce the calculation. At the = stage I am at, I could do it in memory sequentially. So, is there an = API for this and then how do I get the list of the top n similar items. >>=20 >> Thanks, >> Chris S. >>=20 >>=20