Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add parameter tunning #5

Merged
merged 3 commits into from
Dec 8, 2017
Merged

add parameter tunning #5

merged 3 commits into from
Dec 8, 2017

Conversation

Victor0118
Copy link
Owner

The result will be reported in #3 tomorrow.


object LSH_kNN {

def time[R](block: => R): R = {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to Utils.scala so I can use it too.

}

def main(args: Array[String]) {
val sparkConf = new SparkConf().setAppName("LSH at Large").setMaster("local")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Call this something else since it's not LSG at large.


val threshold = 2000

val bl = 2.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add some comment explaining what this is (bucket length) for newbies like me?

@Victor0118 Victor0118 merged commit 36e1a2f into master Dec 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants