Re: SLF4J Error

2014-01-06 Thread Ranjith P
Which version of hadoop and mahout r u using? Also please check which version of slf4j-log4j12 jar is comming first in your classpath. On Tue, Jan 7, 2014 at 8:56 AM, Chameera Wijebandara < chameerawijeband...@gmail.com> wrote: > Which jars I should add to my project? > I have add some SLF4J.jar

Re: eigenvectors and eigenvalues of a matrix

2014-01-06 Thread Ted Dunning
The order of the singular values and vectors should tell you. For others who might be curious, the singular value decomposition breaks a matrix A into three factors A = U S V' Both U and V are orthonormal so that U' U = I and V' V = I. S is diagonal. An eigenvalue decomposition decomposes

eigenvectors and eigenvalues of a matrix

2014-01-06 Thread Tharindu Rusira
Hi, I am currently working with SingularValueDecomposition class and I like to clarify the following. My goal is to find eigenvalues and corresponding eigenvectors of a matrix. I know how to calculate eigenvalues and eigenvectors using svd but is there a way to keep track of which eigenvector corr

Re: SLF4J Error

2014-01-06 Thread Chameera Wijebandara
Which jars I should add to my project? I have add some SLF4J.jar files but errors still same. On Mon, Jan 6, 2014 at 3:31 PM, Mahesh Balija wrote: > if you are running it on Hadoop please check whether you are having SLF4J > jars are part of the Hadoop lib folder or else you are suppose to pass

Re: Question on OnlineLogisticRegression.iris() test case

2014-01-06 Thread Frank Scholten
Ah of course. Thanks Ted! Btw for others who are interested, the online statistical learning class at Stanford starts in a few weeks: https://class.stanford.edu/courses/HumanitiesScience/StatLearning/Winter2014/about On Mon, Jan 6, 2014 at 5:37 PM, Ted Dunning wrote: > This is an offset elemen

Re: Question on OnlineLogisticRegression.iris() test case

2014-01-06 Thread Ted Dunning
This is an offset element which allows the model to have an intercept term in addition to terms for the predictor variables. On Mon, Jan 6, 2014 at 8:31 AM, Frank Scholten wrote: > Hi, > > I am studying the LR / SGD code and I was wondering why in the iris test > case the first element of each

Question on OnlineLogisticRegression.iris() test case

2014-01-06 Thread Frank Scholten
Hi, I am studying the LR / SGD code and I was wondering why in the iris test case the first element of each vector is set to 1 in the loop parsing the CSV file via v.set(0,1) for (String line : raw.subList(1, raw.size())) { // order gets a list of indexes order.add(order.size());

Re: need help explaining difference in k means output

2014-01-06 Thread Scott C. Cote
Mahesh, I guess this is what I get for working too long and not recognizing the diff Š. Suspected it was something silly. Changing the driver parameters to EXACTLY the same as the command line does indeed work. Thank you. I now have one file. Not sure if it was the convergence or the sequent

Re: SLF4J Error

2014-01-06 Thread Mahesh Balija
if you are running it on Hadoop please check whether you are having SLF4J jars are part of the Hadoop lib folder or else you are suppose to pass them with -libjars option with the right usage of GenericOptionsParser in your source code. On Mon, Jan 6, 2014 at 12:13 PM, Chameera Wijebandara < cham

Re: need help explaining difference in k means output

2014-01-06 Thread Mahesh Balija
Hi Scott, Not very sure why you are getting many part files in code execution, the difference b/w in your command line and the code execution is your cd [Convergence Delta] is different 0.1 and 0.01, in the later case KMeans might take more iterations to converge as its convergenceDelta is very le