Ryan Curtin
84a940db9d
Fix types in example code.
2016-10-17 14:58:02 -04:00
Ryan Curtin
5aa6065701
Fix failing HDF5 tests (handle old Armadillo bug that was probably my fault anyway).
2016-10-12 22:34:41 -04:00
Ryan Curtin
8e3a424890
Set leafSize correctly when calling BuildModel() to avoid memory issues.
2016-10-07 20:09:01 -04:00
Ryan Curtin
51b9a33e90
Minor change to documentation of gradient descent optimizer.
2016-10-07 15:33:39 -04:00
Ryan Curtin
5fd539549c
Merge pull request #792 from sumedhghaisas/gradient_descent
...
Implemeted gradient descent optimizer.
2016-10-07 15:36:05 -04:00
Ryan Curtin
998bb2fae4
Fix vector parameter handling and add tests. This should solve #798 .
...
For taking vectors, we need to have multitoken() when the argument is added. So
this adds some template metaprogramming to handle that case properly, and then
some tests to ensure that it works.
2016-10-06 14:09:41 -04:00
Ryan Curtin
ee0da57934
Fix CMake version check.
2016-10-05 11:28:10 -04:00
Ryan Curtin
c72f9c3224
The NewCXX11.cmake file must be included after the mlpack target is defined.
2016-10-05 11:22:55 -04:00
Ryan Curtin
316d4b002e
When creating list of libraries, filter duplicates and use -L correctly.
2016-10-05 10:59:42 -04:00
Ryan Curtin
41572bb9d3
Fix directory of include.
2016-10-05 10:59:42 -04:00
Ryan Curtin
81be55c2fe
Early CMake versions don't support line wrapping.
2016-10-05 10:50:38 -04:00
Ryan Curtin
dee2c82984
This is no longer necessary.
2016-10-05 10:25:31 -04:00
Ryan Curtin
a2d45ebc93
Add FORCE_CXX11 option to work around deficiencies in CMake.
...
This is meant to address #796 .
2016-10-05 10:19:45 -04:00
Ryan Curtin
ebdb5abeaa
Merge pull request #790 from rcurtin/octree
...
Octree
2016-10-04 14:06:41 -04:00
Ryan Curtin
9ef7339d40
Merge pull request #795 from barak/tweaks
...
spelling
2016-10-04 14:06:06 -04:00
Barak A. Pearlmutter
b9b4095c30
spelling
...
Gbp-Pq: Name 0003-spelling.patch
2016-10-04 16:10:58 +01:00
Barak A. Pearlmutter
37b5fb0b41
spelling
...
Gbp-Pq: Name 0003-spelling.patch
2016-10-04 15:22:44 +01:00
Barak A. Pearlmutter
7f75271cff
spelling
...
Gbp-Pq: Name 0003-spelling.patch
2016-10-04 14:30:38 +01:00
Ryan Curtin
571c8db336
Minor optimization: reserve full vector.
2016-10-03 16:04:21 -04:00
Ryan Curtin
f367768c4b
Remove file I did not mean to check in.
2016-10-03 15:22:53 -04:00
Ryan Curtin
e4987227d0
Fix missing name of octree for NSModel.
2016-10-03 14:41:04 -04:00
Ryan Curtin
0278a3445b
Change parameter name to 'oct'.
2016-10-03 14:40:56 -04:00
Ryan Curtin
9ffd69f75a
Fix bug caught by Mikhail.
2016-10-03 14:36:54 -04:00
sumedhghaisas
e6c39b355d
Added Gradient Descent in HISTORY file
2016-10-02 22:03:43 +05:30
sumedhghaisas
f8b2c154a3
Minor fix in gradien descent
2016-10-02 20:15:18 +05:30
sumedhghaisas
76198fe222
Minor bug fixes in Gradient Descent module
2016-09-30 02:44:52 +05:30
Ryan Curtin
d97e6516be
Convert std::pow usage to shifts.
2016-09-29 12:03:17 -04:00
Ryan Curtin
30ac07c7e5
Remove stray comment.
2016-09-29 11:55:32 -04:00
Ryan Curtin
e3c593c47c
Refactor tree-building to use PerformSplit.
...
In some cases (like the LCDM dataset) this can result in up to three orders of
magnitude speedup for tree building.
2016-09-29 11:49:53 -04:00
Ryan Curtin
e140a470c7
Move PerformSplit and fix edge case bugs.
...
Those bugs never occurred with BinarySpaceTree due to assumptions that
BinarySpaceTree can make, but they can arise in other situations.
2016-09-29 11:49:16 -04:00
Ryan Curtin
a27725526b
Stop special handling for Armadillo versions for HDF5.
...
This should hopefully fix a few more failing tests in the matrix build.
2016-09-29 10:10:43 -04:00
Ryan Curtin
0b4d556e24
Fix spacing.
2016-09-28 10:57:15 -04:00
sumedhghaisas
6de69d7289
Implemeted gradient descent optimizer.
2016-09-28 03:48:19 +05:30
Ryan Curtin
066c67040a
Merge pull request #740 from keonkim/imputer
...
improve the imputer program
2016-09-26 15:30:40 -04:00
Ryan Curtin
63c5d09ae2
Refactor for changes in #788 .
2016-09-26 11:03:12 -04:00
Ryan Curtin
4eff901842
Merge branch 'master' into octree
2016-09-26 10:05:26 -04:00
Ryan Curtin
635238ba76
Merge pull request #788 from akanuraj200/master
...
issue #787 - Replace `MinDistance(TreeType*)` with `MinDistance(TreeType&)`
2016-09-26 10:05:01 -04:00
Anuraj Kanodia
6ecd677b21
Update core.hpp
2016-09-25 11:18:22 +05:30
Anuraj Kanodia
4469c6ee19
Update core.hpp
2016-09-25 11:17:31 +05:30
KANODIA
64b058ed1d
name added to contributors list
2016-09-25 11:14:25 +05:30
Ryan Curtin
99a227c472
Merge branch 'octree' of https://github.com/rcurtin/mlpack into octree
2016-09-24 13:28:17 -04:00
Ryan Curtin
3bdd609993
Add octree to RangeSearch and RASearch.
2016-09-24 13:20:55 -04:00
Ryan Curtin
e4ca4c1e0a
Add tested support to KNN/KFN for octree.
2016-09-24 12:44:52 -04:00
Ryan Curtin
4175eadaf2
Add traversers for octree.
2016-09-24 12:44:33 -04:00
Ryan Curtin
b305938d58
Add copy, move, and serialization, plus tests for the octree.
2016-09-23 17:21:46 -04:00
Ryan Curtin
a7bf71a91d
Add traits and main include file.
2016-09-23 17:21:23 -04:00
Ryan Curtin
60bbe7e134
Add some simple octree tests.
2016-09-23 10:19:19 -04:00
Ryan Curtin
045c16afa6
At Conrad's suggestion, undo 310e72d and instead force a newer version of Armadillo.
2016-09-20 20:55:10 -04:00
KANODIA
7ce36bc35a
refactored src/mlpack/methods/*/ - updated MinDistance(), MaxDistance() and RangeDistance() calls
2016-09-20 09:42:31 +05:30
Anuraj Kanodia
3d5efcc6b2
function signature changed
...
Replaced `MinDistance(TreeType*)` with `MinDistance(TreeType&)`
2016-09-19 22:32:44 +05:30