Return-Path: Delivered-To: apmail-lucene-mahout-user-archive@minotaur.apache.org Received: (qmail 9759 invoked from network); 27 Jan 2010 03:30:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2010 03:30:31 -0000 Received: (qmail 2072 invoked by uid 500); 27 Jan 2010 03:30:30 -0000 Delivered-To: apmail-lucene-mahout-user-archive@lucene.apache.org Received: (qmail 1995 invoked by uid 500); 27 Jan 2010 03:30:30 -0000 Mailing-List: contact mahout-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mahout-user@lucene.apache.org Delivered-To: mailing list mahout-user@lucene.apache.org Received: (qmail 1985 invoked by uid 99); 27 Jan 2010 03:30:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 03:30:30 +0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=HTML_MESSAGE,NO_RDNS_DOTCOM_HELO,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [69.147.107.20] (HELO mrout1-b.corp.re1.yahoo.com) (69.147.107.20) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 03:30:19 +0000 Received: from SP1-EX07CAS02.ds.corp.yahoo.com (sp1-ex07cas02.ds.corp.yahoo.com [216.252.116.138]) by mrout1-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id o0R3Tlcc096353 for ; Tue, 26 Jan 2010 19:29:47 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:from:to:date:subject:thread-topic:thread-index: message-id:accept-language:content-language:x-ms-has-attach: x-ms-tnef-correlator:acceptlanguage:content-type:mime-version; b=pK++qCmY50XT5Hn5GrvpZr1agNLvJg7RJyicEtd7Q7gw5geNq9uuvM0YqnZ9QccS Received: from SP1-EX07VS02.ds.corp.yahoo.com ([216.252.116.135]) by SP1-EX07CAS02.ds.corp.yahoo.com ([216.252.116.167]) with mapi; Tue, 26 Jan 2010 19:29:47 -0800 From: Jerry Ye To: "mahout-user@lucene.apache.org" Date: Tue, 26 Jan 2010 19:29:43 -0800 Subject: Viewing clustering results for Dirichlet Process Clustering Thread-Topic: Viewing clustering results for Dirichlet Process Clustering Thread-Index: AcqfAPc45HnBqsaffkixiSp2ukSygQ== Message-ID: Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C784F327CB87jerryyeyahooinccom_" MIME-Version: 1.0 --_000_C784F327CB87jerryyeyahooinccom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm trying to view the output of my experiment using Dirichlet Process Clus= tering. When attempting to use the ClusterDumper utility on the output dir= ectory, an exception is thrown. Upon looking closer, DirichletCluster does= not extend ClusterBase. The error is below. Is there some other way that I can view the cluster labels? Thanks! - jerry -bash-3.1$ java -cp mahout-core-0.3-SNAPSHOT.jar:mahout-utils-0.3-SNAPSHOT.= jar:$( echo dependency/*.jar . | sed 's/ /:/g') org.apache.mahout.utils.clu= stering.ClusterDumper -s mahoutout/state-0 Input Path: /homes/jerryye/mahout/mahoutout/state-0/part-0 Exception in thread "main" java.lang.ClassCastException: org.apache.mahout.= clustering.dirichlet.DirichletCluster cannot be cast to org.apache.mahout.c= lustering.ClusterBase at org.apache.mahout.utils.clustering.ClusterDumper.printClusters(Clust= erDumper.java:119) at org.apache.mahout.utils.clustering.ClusterDumper.main(ClusterDumper.= java:251) --_000_C784F327CB87jerryyeyahooinccom_--