MarcosPividori
7f4dfd005a
Use absolute value when considering relative error.
2016-06-22 15:09:07 -03:00
MarcosPividori
7f68a278d9
Add epsilon for kfn (both epsilon and percentage).
2016-06-22 15:09:07 -03:00
MarcosPividori
74648fa7f1
Replace epsilon by percentage in kfn.
2016-06-22 15:09:07 -03:00
MarcosPividori
7a5f668579
Replace Naive by Dual Tree in approximate tests.
...
Also, Improve code details.
2016-06-22 15:09:07 -03:00
MarcosPividori
af12e76655
Fix style in test comments.
2016-06-22 15:09:07 -03:00
MarcosPividori
d4a0f71f12
Change file name for test tools.
2016-06-22 15:09:07 -03:00
MarcosPividori
44b90f2c25
Update some comments/info.
2016-06-22 15:09:07 -03:00
MarcosPividori
5b99eda786
Properly check relative error.
...
BOOST_REQUIRE_CLOSE_FRACTION(VAL, REF, ERR) requires:
abs(VAL - REF) <= ERR * REF && abs(VAL - REF) <= ERR * VAL
REQUIRE_RELATIVE_ERR(VAL, REF, ERR) only requires:
abs(VAL - REF) <= ERR * REF
2016-06-22 15:09:07 -03:00
MarcosPividori
c64bdba5ca
Add tests for approximate Furthest Neighbor Search.
2016-06-22 15:09:07 -03:00
MarcosPividori
0f65abf878
Add tests for approximate Nearest Neighbor Search.
2016-06-22 15:09:07 -03:00
MarcosPividori
6db6de5983
Modify KNN/KFN to include Approximate Neighbor Search.
2016-06-22 15:09:07 -03:00
Ryan Curtin
a9f5622c8a
Minor style changes.
2016-06-21 17:31:13 -07:00
Ryan Curtin
bee9567e5c
Mark ComputeRecall() as static.
2016-06-21 17:27:32 -07:00
Ryan Curtin
4129a7c1d7
Merge pull request #690 from mentekid/lsh-computeRecall
...
Adds ComputeRecall function to LSHSearch for easier tuning
2016-06-21 20:01:45 -04:00
Ryan Curtin
2bd1227d0f
Fix typo. I think being "cafeful" would mean that you go to lots of cafes, but probably Andrew meant "careful" here.
2016-06-21 09:59:47 -04:00
Ryan Curtin
ebf0dfcf06
Update license information to note other licenses.
2016-06-20 09:25:18 -04:00
Ryan Curtin
20b4b2736c
Update license information for Boost backported code.
2016-06-20 09:03:36 -04:00
Ryan Curtin
efca3c46af
Remove backported Armadillo code that we don't need.
2016-06-20 09:03:36 -04:00
Ryan Curtin
77834972a9
Update license information for backported Armadillo code.
...
Also remove backports that we no longer need.
2016-06-20 09:03:36 -04:00
Ryan Curtin
afaef852b9
Don't do infinite iterations.
...
(Fix non-terminating test.)
2016-06-20 09:03:36 -04:00
sumedhghaisas
779556fed7
Merge pull request #693 from MarcosPividori/variants-for-ns-model
...
Modify NSModel to use boost variant.
2016-06-20 14:02:54 +05:30
Ryan Curtin
a7e8d3bac6
Merge pull request #701 from keonkim/binarize
...
delete include omp statement
2016-06-19 12:41:45 -04:00
Keon Kim
4c28ae3ca9
delete include omp statement
2016-06-20 01:04:38 +09:00
Tham
2da9c5bac1
Merge pull request #666 from keonkim/binarize
...
Binarize Function + Test
2016-06-19 12:30:00 +08:00
Keon Kim
3f70a3d723
fix typo
2016-06-19 11:29:28 +09:00
Keon Kim
b54902e75b
write binarize docs
2016-06-18 17:16:25 +09:00
Keon Kim
251c110cae
resolve conflict
2016-06-18 16:37:29 +09:00
Keon Kim
0977c1dbca
resolve conflict
2016-06-18 16:32:20 +09:00
Keon Kim
3deff62bd4
Merge pull request #6 from mlpack/master
...
update
2016-06-18 16:30:47 +09:00
Keon Kim
326dea077d
Merge branch 'master' of github.com:keonkim/mlpack into binarize
2016-06-18 16:29:24 +09:00
MarcosPividori
b34dac8e4b
Fix NSModel serialization. Use boost serialize function for variants.
2016-06-17 04:23:33 -03:00
MarcosPividori
6c2c3ca83d
Improve documentation.
2016-06-16 23:55:08 -03:00
Ryan Curtin
a0b31abe5f
Move mlpack_allkrann to mlpack_krann, preserving backwards compatibility.
2016-06-16 10:58:00 -04:00
Ryan Curtin
95d18fc435
Mention KMeans changes in history.
2016-06-16 10:57:38 -04:00
Ryan Curtin
db5284c46f
Fix indentation.
2016-06-16 10:57:33 -04:00
Ryan Curtin
e8d8264668
Fix duplicate options.
2016-06-16 10:57:25 -04:00
MarcosPividori
83f1925bb2
Details to improve code and documentation.
2016-06-15 23:13:35 -03:00
MarcosPividori
ddb252ce03
Set SortPolicy as template parameter of classes BiSearchVisitor and TrainVisitor.
...
Also, add a more specific definition of NSTypeT, to avoid vc compiler errors.
2016-06-15 11:44:16 -03:00
Ryan Curtin
a8b5be966f
Prune down .gitignore: remove editor-specific ignores.
...
Instead you should use the global gitignore to ignore your editor-specific
files:
git config --global core.excludesfile '~/.gitignore'
(or whatever else you want to name the file)
2016-06-15 06:14:22 -07:00
Ryan Curtin
c6477da799
Fix minor style issues.
2016-06-15 06:12:34 -07:00
Ryan Curtin
97402b9098
Merge pull request #680 from keonkim/cli
...
fix default output problem and some styles
2016-06-15 09:08:50 -04:00
Keon Kim
55567aaf49
changed size_t to int int binarize to support openmp
2016-06-15 18:46:14 +09:00
Keon Kim
e3fc85edb5
fix bug in binarize
2016-06-15 13:09:39 +09:00
Keon Kim
f7acc869cf
Merge branch 'master' of github.com:keonkim/mlpack into binarize
2016-06-15 10:24:54 +09:00
Keon Kim
e99c282cf5
fix typo
2016-06-15 10:17:41 +09:00
Keon Kim
f8448424cb
Merge branch 'master' of github.com:keonkim/mlpack into cli
2016-06-15 10:14:53 +09:00
Keon Kim
8a1be452cc
Merge pull request #5 from mlpack/master
...
update
2016-06-15 10:14:16 +09:00
Keon Kim
9e3c882d93
fix styles
2016-06-15 10:13:05 +09:00
Ryan Curtin
4fa39b6ab0
Move back to port 80.
2016-06-14 19:44:12 -04:00
Ryan Curtin
ae6c9e63b5
Merge branch 'rcurtin-lshopt'
2016-06-14 19:22:53 -04:00