Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Merge branch 'master' of https://github.com/marufaytekin/lsh-spark # Conflicts: # .gitignore # .travis.yml # README.md # build.sbt # src/main/resources/log4j.properties # src/main/scala/com/lendap/lsh/Hasher.scala # src/main/scala/com/lendap/lsh/LSHModel.scala # src/main/scala/com/lendap/lsh/Main.scala * added travis scala cross builds * initial commit * initial commit * initial commit * rndRDD changes * rndRDD changes * initial commit * initial commit * prediction added. * added data * initial commit * intellij files removed. * License added. * initial commit * rndRDD changes * added data * load and save added * intellij files removed. * - updated readme. - license file added.. * cosine similarity calculation added. * Cosine similarity usage added to readme.md. * - Package structure changed. - band term replaced with hash table. * added properties * Delete unnecessary files * groupId changed to "lendapp" Signed-off-by: Ramazan Ayyildiz <ramazan.ayyildiz@symanto.net> * removed recomndation package.
- Loading branch information
1 parent
89d1a1f
commit 5723fd5
Showing
9 changed files
with
57 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,7 @@ project/plugins/project/ | |
|
||
# Scala-IDE specific | ||
.scala_dependencies | ||
/data/ml-1m.data | ||
.worksheet | ||
.idea/* | ||
*.iml | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
name := "lsh-scala" | ||
|
||
version := "0.0.1-SNAPSHOT" | ||
|
||
scalaVersion := "2.10.4" | ||
|
||
libraryDependencies += "org.apache.spark" % "spark-core_2.10" % "1.4.1" | ||
|
||
libraryDependencies += "org.apache.spark" % "spark-mllib_2.10" % "1.4.1" | ||
|
||
libraryDependencies += "org.scalatest" % "scalatest_2.10" % "2.1.3" % "test" | ||
lazy val lsh = (project in file(".")). | ||
settings(Settings.settings: _*). | ||
settings(Settings.lshSettings: _*). | ||
settings(libraryDependencies ++=Dependencies.lshDependencies ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import sbt._ | ||
|
||
object Dependencies { | ||
|
||
lazy val version = new { | ||
val scalaTest = "2.2.2" | ||
val spark = "1.4.1" | ||
} | ||
|
||
lazy val library = new { | ||
val sparkCore ="org.apache.spark" %% "spark-core" % version.spark | ||
val sparkMLib ="org.apache.spark" %% "spark-mllib" % version.spark | ||
val test = "org.scalatest" %% "scalatest" % version.scalaTest % Test | ||
} | ||
|
||
val lshDependencies: Seq[ModuleID] = Seq( | ||
library.sparkCore, | ||
library.sparkMLib, | ||
library.test | ||
) | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import sbt._ | ||
import Keys._ | ||
|
||
object Settings { | ||
lazy val settings = Seq( | ||
organization := "com.lendap", | ||
version := "0.1." + sys.props.getOrElse("buildNumber", default="0-SNAPSHOT"), | ||
scalaVersion := "2.10.4", | ||
publishMavenStyle := true, | ||
publishArtifact in Test := false | ||
) | ||
|
||
lazy val testSettings = Seq( | ||
fork in Test := false, | ||
parallelExecution in Test := false | ||
) | ||
|
||
lazy val lshSettings = Seq( | ||
name := "lsh-scala" | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=0.13.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters