Hello all,

I am trying to use the mahout math sparse vector implementation (see
http://search-lucene.com/jd/mahout/math/org/apache/mahout/math/RandomAccessSparseVector.html
and 
http://svn.apache.org/viewvc/mahout/trunk/math/src/main/java/org/apache/mahout/math/RandomAccessSparseVector.java?view=markup)m
but I can't get it to work.

Here is what I did:

* I downloaded the mahout-0.6-SNAPSHOT, mahout-math-0.6-SNAPSHOT and
mahout-collections-1.0 sources and did a mvn install to a local (file)
repository.

* I added the appropriate dependencies in my project.clj and import
the RandomAccessSparseVector class in my core.cls file and ran "lein
deps".

* When I then do (RandomAccessSparseVector. 10), I get:

    "org/apache/mahout/math/map/OpenIntDoubleHashMap [Thrown class
java.lang.NoClassDefFoundError]"

* However, the missing class is part of the mahout-collections jar,
Apparently it is not found. I can not import it either. What am I
doing wrong?

Thanks, Joachim.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to