The Mahout in Action code is written against Mahout 0.5. You need to download a release of 0.5 from the Apache site.
https://cwiki.apache.org/confluence/display/MAHOUT/Downloads which will lead you to here: http://mirror.nexcess.net/apache/mahout/0.5/ On Mon, Jul 2, 2012 at 7:56 PM, Roy Guo (JIRA) <[email protected]> wrote: > Roy Guo created MAHOUT-1036: > ------------------------------- > > Summary: I can't run the code in 《Mahout In Action》 under Mahout > 0.7,what's happening ? > Key: MAHOUT-1036 > URL: https://issues.apache.org/jira/browse/MAHOUT-1036 > Project: Mahout > Issue Type: Question > Components: Clustering > Affects Versions: 0.7 > Environment: Mac OS X 10.6.8 > Eclipse 3.5 > Reporter: Roy Guo > > > I'm reading the book 《Mahout In Action》 and i'd like to try the code myself. > > But i found lots of the code can't run(Most of the issues are method can't be > found). > > 1、RandomSeedGenerator.chooseRandomPoints(pointVectors, k); chooseRandomPoints > can't be found. > > 2、new Cluster(v, clusterId++, measure); the constructor can't be found. > > there are many of these kind of issues. > > > Can anyone tell me how to find those methods ? > > -- > This message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA > administrators: > https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa > For more information on JIRA, see: http://www.atlassian.com/software/jira > > -- Lance Norskog [email protected]
