TU-Berlin-DIMA / IMPRO-3.SS14

KMEans
2 stars 0 forks source link

Add KMeans++ implementation on stratosphere #30

Closed qmlmoon closed 10 years ago

aalexandrov commented 10 years ago

The Scala version still does not extend the Algorithm base class. Please fix this using a strategy similar to the Java implementation. Java interfaces and classes can be used in Scala code without a problem.

qmlmoon commented 10 years ago

Oh..I almost forgot we still have a scala version implementation. Actually the scala version only works with the 2-dimensional point, we switched to java when applying the "Bag Of Words" model. I will extend it with the Algorithm base class.

qmlmoon commented 10 years ago

I tried to run the scala program, but all the scala programs keep throwing classnotfound... it was fine before the pom file was changed. Do I have to configure something in intellij for the current version? And I want to say that the scala version implementation is actually a draft and simple version, I would like to leave it out.

aalexandrov commented 10 years ago

Manually merged the Java version in the master with 493dd9b7.

aalexandrov commented 10 years ago

I changed the scope of all Stratosphere dependencies to provided, so now you can only execute the programs from the test scope.

I added your (incomplete) Scala implementation for Stratosphere to a new dev branch.