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
Modeling LSH For Performance Tuning #749
Closed
Closed
Changes from 9 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
8381adc
Skeleton of Project
mentekid aa6a123
Almost complete LSHModel skeleton
mentekid 8d7cb38
Implements modeling of arithmetic and geometric mean of distances
mentekid 88279c7
Merge latest upstream commits into lsh-tuning
mentekid 29b6eaa
Adds code that returns trained LSH objects
mentekid dd8f5f3
attempt to fix arma::shuffle call causes travis build failure.
mentekid 009a4ac
Completes Train(), adds Predict()
mentekid 4a56ac4
Merge branch 'master' into lsh-tuning
mentekid cdcb575
Adds Perturbation Sequence Generation (needs bugfixing)
mentekid 78cab0b
Merges the LSH and LSHModel folders
mentekid 2c88406
Removes LogDebug.ignoreInput statement
mentekid f4af3dc
Separates DistanceStatisticPredictor implementation
mentekid a73b468
First working version (needs debugging)
mentekid dd2bdf7
Adds command line interface options to lshmodel
mentekid 57c9d5e
Changes way kNN samples are generated
mentekid a0626a8
Prevents log(0) which causes errors. Infinite loop still happens occa…
mentekid cc1b691
Removes parameterized objective function constructor
mentekid fb308e8
Solves NaN values issue
mentekid f47e069
(hopefully) Fix SameBucketProbability() and add some tests for it.
rcurtin 559466a
Merge branch 'master' into lsh-tuning
mentekid de4b7f3
Merge branch 'master' into SameBucketProbability
mentekid e38acc5
Merge pull request #1 from rcurtin/lsh-tuning
mentekid f05b0e0
Switches to NAIVE_MODE for kNN
mentekid 0150af3
Merge branch 'SameBucketProbability' into lsh-tuning to fix SameBucke…
mentekid 485f9e9
Merge branch 'lsh-tuning' of https://github.com/mentekid/mlpack into …
mentekid File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Define the files we need to compile. | ||
# Anything not in this list will not be compiled into mlpack. | ||
set(SOURCES | ||
# LSH-model class | ||
lshmodel.hpp | ||
lshmodel_impl.hpp | ||
) | ||
|
||
# Add directory name to sources. | ||
set(DIR_SRCS) | ||
foreach(file ${SOURCES}) | ||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file}) | ||
endforeach() | ||
# Append sources (with directory name) to list of all mlpack sources (used at | ||
# the parent scope). | ||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE) | ||
|
||
# The code that models LSH to return a set of parameters that works well. | ||
add_cli_executable(lshmodel) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we should just put the LSH modeling code in the
lsh
directory? I don't see a problem with keeping them together.