spark-python-knn (homepage)

Function for computing K-NN in Apache Spark

@jakac / (0)

Simple but memory efficient function for computation of K nearest neighbors. See details on GitHub.


Tags (No tags yet, login to add one. )


How to

Include this package in your Spark Applications using:

spark-shell, pyspark, or spark-submit

> $SPARK_HOME/bin/spark-shell --packages jakac:spark-python-knn:0.0.3

sbt

If you use the sbt-spark-package plugin, in your sbt build file, add:

spDependencies += "jakac/spark-python-knn:0.0.3"

Otherwise,

resolvers += "Spark Packages Repo" at "http://dl.bintray.com/spark-packages/maven"

libraryDependencies += "jakac" % "spark-python-knn" % "0.0.3"

Maven

In your pom.xml, add:
<dependencies>
  <!-- list of dependencies -->
  <dependency>
    <groupId>jakac</groupId>
    <artifactId>spark-python-knn</artifactId>
    <version>0.0.3</version>
  </dependency>
</dependencies>
<repositories>
  <!-- list of other repositories -->
  <repository>
    <id>SparkPackagesRepo</id>
    <url>http://dl.bintray.com/spark-packages/maven</url>
  </repository>
</repositories>

Releases

Version: 0.0.3 ( ebfadb | zip | jar ) / Date: 2015-10-06 / License: Apache-2.0

Version: 0.0.2 ( d6a9b1 | zip | jar ) / Date: 2015-10-06 / License: Apache-2.0

Version: 0.0.1 ( aecb11 | zip ) / Date: 2015-10-06 / License: Apache-2.0