Re: Naive Bayes classification

2014-03-18 Thread Tharindu Rusira
csv with numeric values > into a proper SequenceFile, if you want you can take the source and update > if to suit your need : https://github.com/kmoulart/hadoop_mahout_utils > > Good luck. > > Kévin Moulart > > > > 2014-03-18 20:13 GMT+01:00 Frank Scholten : > > &

Naive Bayes classification

2014-03-18 Thread Tharindu Rusira
n(ToolRunner.java:65) at org.apache.mahout.classifier.naivebayes.test.TestNaiveBayesDriver.main(TestNaiveBayesDriver.java:66) So how can I achieve what I'm trying to do here? Thanks, -- M.P. Tharindu Rusira Kumara Department of Computer Science and Engineering, University of Moratuwa

Mahout class responsible for testnb

2014-03-14 Thread Tharindu Rusira
a new set of vectors, a model and a labelindex to determine the label of the new document. So what is the class responsible for executing 'testnb' ? Thanks in advance, -- M.P. Tharindu Rusira Kumara Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka. +94757033733 www.tharindu-rusira.blogspot.com

Re: mahout command seq2sparse

2014-02-02 Thread Tharindu Rusira
;` > > > if expr "$link" : '.*/.*' > /dev/null; then > > > THIS="$link" > > > else > > > THIS=`dirname "$THIS"`/"$link" > > > fi > > > done > > > > > > IS_CORE=0 > &

Re: Mahout 0.9 Release

2014-01-31 Thread Tharindu Rusira
OSx 10.8.5, java version "1.7.0_51" a) b) c) verified Ran all the examples with all different options. d) verified. and we have 3 PMC +1s and Mahout 0.9 is all set to go. Congratulations !!! :) > > Need a minimum of 3 '+1' votes from PMC for the release to be finalized. --

Re: Classify Handwritten Digits

2014-01-23 Thread Tharindu Rusira
handwritten digits using mahout classification. > Any > > suggestion to come up with good solution? > > > > -- > > Thanks, > > Chameera > > > -- M.P. Tharindu Rusira Kumara Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka. +94757033733 www.tharindu-rusira.blogspot.com

Re: Mahout 0.9 Release Candidate - VOTE

2014-01-14 Thread Tharindu Rusira
ed the Mahout 0.9 Release candidate. > > See > > https://repository.apache.org/content/repositories/orgapachemahout-1000/ > > > > This is a call for Vote. > > > > > > -- > http://spawgi.wordpress.com > We can do it and do it better. > -- M.P. Tharindu Rusira Kumara Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka. +94757033733 www.tharindu-rusira.blogspot.com

Re: Integrating browser with apache mahout !

2014-01-10 Thread Tharindu Rusira
also if you have any suggestions it > will be helpful. > > > Aks > Regards, -- M.P. Tharindu Rusira Kumara Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka. +94757033733 www.tharindu-rusira.blogspot.com

Re: eigenvectors and eigenvalues of a matrix

2014-01-08 Thread Tharindu Rusira
DenseVector) eigenVectors.viewRow(i)); is correct. Thanks, HashMap don't have an ordering and you will > get problems if you have to eigenvalues of the same magnitude. > > > On 08.01.2014 12:13, Tharindu Rusira wrote: > > Hi Ted, Thank a lot for your comprehensive reply. > > >

Re: eigenvectors and eigenvalues of a matrix

2014-01-08 Thread Tharindu Rusira
S^2 V' > > a nice convenience is that S^2 is also diagonal and contains the elements > of S, just squared. > > So the answer for Tharindu is that the elements of V are not changed or > re-ordered and neither are the elements of S. > > > On Mon, Jan 6, 2014 at 10:22

eigenvectors and eigenvalues of a matrix

2014-01-06 Thread Tharindu Rusira
corresponds to which eigenvalue? Thanks, -- M.P. Tharindu Rusira Kumara Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka. +94757033733 www.tharindu-rusira.blogspot.com

Re: Equality of two DenseMatrix objects

2013-12-29 Thread Tharindu Rusira
gt; On Sun, Dec 29, 2013 at 9:17 AM, Tharindu Rusira > wrote: > > > Thanks Chameera and Sebestian for sharing your expertise :) > > Just wanted to know the reason behind the absence of an equality check > for > > Matrices. > > > > > For what

Re: Equality of two DenseMatrix objects

2013-12-29 Thread Tharindu Rusira
wo dimensional double array. > >> You have to check for the equality of these arrays. > >> > >> --sebastian > >> > >> On 29.12.2013 17:14, Chameera Wijebandara wrote: > >>> Hi Tharindu > >>> > >>> In the DenseMatri

Equality of two DenseMatrix objects

2013-12-28 Thread Tharindu Rusira
} However, *m1.asFormatString().equals(m2.asFormatString())* returns true. Is there a more rigorous way of checking this equality (of values and dimensions) without converting the matrices to Strings? Thanks, -- M.P. Tharindu Rusira Kumara Department of Computer Science and Engine

Re: SVM in Mahout

2013-12-24 Thread Tharindu Rusira
> > > You might try logistic regression with regularization for a very > similar > > > result. > > > > > > > > > On Mon, Dec 23, 2013 at 11:57 PM, Sebastian Schelter < > > > ssc.o...@googlemail.com> wrote: > > > > > > > Hi Thar

SVM in Mahout

2013-12-23 Thread Tharindu Rusira
=project%20%3D%20MAHOUT%20AND%20text%20~%20%22svm%22 Thanks, -- M.P. Tharindu Rusira Kumara Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka. +94757033733 www.tharindu-rusira.blogspot.com

Re: Text classification using Mahout API

2013-12-16 Thread Tharindu Rusira
ou didn't do than what > you did." > "If you want to go fast, go alone. If you want to go far, go with others." > "Remember, happiness is a way of travel not a destination" > "A good traveller has no fixed plans, and is not intent on arriving." > &g

Text classification using Mahout API

2013-12-12 Thread Tharindu Rusira
orial/book for this task? Thanks, -- M.P. Tharindu Rusira Kumara Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka. +94757033733 www.tharindu-rusira.blogspot.com

Mahout for text classification

2013-12-10 Thread Tharindu Rusira
ail.com%3e -- M.P. Tharindu Rusira Kumara Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka. +94757033733 www.tharindu-rusira.blogspot.com

Re: Build Failure in Eclipse

2013-12-03 Thread Tharindu Rusira
aven build run configuration. > > Kind regards, > Stevo Slavic. > > > On Tue, Dec 3, 2013 at 5:56 PM, Stevo Slavić wrote: > > > copy-dependencies use seems to be no longer necessary. I've just removed > > it from POMs. Please pull changes and try again. &

Build Failure in Eclipse

2013-12-02 Thread Tharindu Rusira
I recently updated my Mahout-0.9 snapshot version code and rebuilt from the terminal. The process was successful with no build errors. But when I try to build mahout from Eclipse (run as --> Maven build) I get the following build error while Mahout-Integration is being built. Failed to execute goa

Re: java.lang.NoClassDefFoundError: com/google/common/base/Preconditions

2013-11-27 Thread Tharindu Rusira
-Tharindu On Thu, Nov 28, 2013 at 12:29 PM, Suneel Marthi wrote: > you r missing Google Guava library which has these classes. R u running a > mvn build on Mahout snapshot? > > > > > > On Thursday, November 28, 2013 1:56 AM, Tharindu Rusira < > tharindurus...@gmail.

java.lang.NoClassDefFoundError: com/google/common/base/Preconditions

2013-11-27 Thread Tharindu Rusira
Hi all, I'm working on Mahout 0.9-SNAPSHOT version checked out from the svn trunk. The following code generates java.lang.NoClassDefFoundError: com/google/common/base/Preconditions where b is supposed to be true (because both cardinality and the values are same in the two vectors dv and sv) // ---

Condition for equality of vectors

2013-11-27 Thread Tharindu Rusira
Hello, What are the necessary conditions for two vectors(any vector that extends DenseVector) to be equal? I know both values and cardinality should be equal. Is there something else? Thanks, Tharindu.