Commit Graph
12055 Commits
Author SHA1 Message Date
Ryan Curtin 4ecf78854a Minor changes to test. const-correctness and comment normalization for Doxygen. 2014-06-24 16:39:28 +00:00
andrewmw94 94f830892d bug fix. had n_rows when I needed n_cols 2014-06-24 16:07:18 +00:00
andrewmw94 d881abd25e bug fixes for memory leaks 2014-06-24 16:04:58 +00:00
Udit Saxena 501ef6b14d Perceptron Added 2014-06-24 06:58:46 +00:00
Ryan Curtin b3b1d55773 Use bool instead of int. 2014-06-24 05:23:01 +00:00
Ryan Curtin 92ad00f925 First pass: comment standardization, fix header guard names, move .cpp to .hpp
because it's all templated functions.
2014-06-24 00:03:24 +00:00
Ryan Curtin c6baea9dd8 Remove backup file from emacs or some other inferior editor that isn't vim. 2014-06-23 22:26:02 +00:00
Ryan Curtin dbe8ccb1f9 Significant refactoring of NMF tests. The sparse tests were generally invalid
because NMF is not guaranteed to produce a unique decomposition.  Instead, now
we test the Frobenius norm.  Also, the tolerances needed to be significantly
adjusted because of the new convergence criteria in the AMF class.  Lastly, the
SparseNMFRandomDiv test and SparseNMFDefaultTest have been removed because those
update rules seem to often result in NaNs when sparse matrices are used as
input.
2014-06-23 21:45:46 +00:00
Ryan Curtin 6e9ef0e95f Make a note that this set of update rules often creates lots of NaNs when sparse
matrices are used.
2014-06-23 21:39:03 +00:00
Ryan Curtin d559ce3d83 Fix for convergence, because sometimes the residue may increase (especially with
ALS update rules).
2014-06-23 21:38:42 +00:00
Ryan Curtin 452d68a70a Link against libstd++ when using Clang, and also use -Wall. 2014-06-23 21:06:24 +00:00
andrewmw94 46d0d013f2 bug fixes 2014-06-23 18:49:01 +00:00
andrewmw94 ea8ff93178 keep the root node at the same address. 2014-06-19 20:34:24 +00:00
andrewmw94 661958bab7 more bug fixes 2014-06-19 15:17:29 +00:00
Udit Saxena 5405420117 Fixed armadillo issues, along with removing uninitialized and unused variables 2014-06-13 18:47:39 +00:00
andrewmw94 44bf754ffb More bug fixes. 2014-06-13 16:40:16 +00:00
Ryan Curtin bd7aef7910 Fix #334 by ensuring vector accesses don't go out of bounds. 2014-06-12 20:57:22 +00:00
Udit Saxena 4e62dfc67b Decision Stump added 2014-06-12 20:46:35 +00:00
Ryan Curtin 65f76de712 Remove leafSize parameter from DTB constructor. 2014-06-12 20:15:48 +00:00
Ryan Curtin 304e256207 Inline the simple R tree descent heuristic. 2014-06-11 20:23:37 +00:00
andrewmw94 c380e58c35 more of the same. 2014-06-11 20:12:16 +00:00
andrewmw94 c88879aaad more fixes. Compilation still commented out. 2014-06-11 16:47:44 +00:00
sumedhghaisas 7660602835 * Added momentum to SVD batch learning
* AMF now calls Initialize on update rule before starting the optimization
* Every update rule should now implement Initialize accepting data matrix
  and rank
2014-06-11 15:17:04 +00:00
sumedhghaisas 7eaf48e4c2 * fixed include error 2014-06-10 03:58:07 +00:00
sumedhghaisas 52e55828db * Modified AMF module so that now it uses tolerance checking rather
than minResidue checking
* Added SVD batch learning
2014-06-09 23:37:53 +00:00
andrewmw94 457c523e1c fixed some mistakes. Still commented out to allow build. 2014-06-09 18:06:25 +00:00
andrewmw94 0a3a1b31bc comment out compilation. Some small changes to support R tree in all_knn 2014-06-09 15:24:51 +00:00
andrewmw94 deb9fc7948 change a comment to be more accurate. Add on --r_tree option to the knn_all program. Doesn't do anything yet. 2014-06-06 15:45:32 +00:00
andrewmw94 c7e768470a Rectangle Tree Traversal implementation. 2014-06-05 20:52:29 +00:00
andrewmw94 8766861165 require kd-trees to have leafSize of at least 1. Add an assert to ensure that the SingleTreeTraverser isn't called on a tree with only one node. 2014-06-05 17:22:25 +00:00
andrewmw94 b6f9e01c51 add the missed files. 2014-06-04 18:20:24 +00:00
andrewmw94 3c6ee3d5ca a few miscellanious small changes. Added to CMake. 2014-06-04 17:47:08 +00:00
Ryan Curtin 692569230a Oops, this actually happens in two places. 2014-06-03 23:23:30 +00:00
Ryan Curtin f2e17ed47f Typo which causes a segfault. 2014-06-03 23:16:35 +00:00
andrewmw94 69556a09eb change name of leafSize to maxLeafSize. more stuff for the R-tree. Some name changes, some more node splitting, a start on traversal. 2014-06-03 20:29:00 +00:00
andrewmw94 27e413139e Fix/update some comments, almost finish the splitting algorithm. Several miscellaneous changes. 2014-06-02 22:58:12 +00:00
Ryan Curtin 3f9d23d113 Trivial spelling fix. 2014-06-02 19:54:46 +00:00
andrewmw94 cc3671bdd4 added code for accessing immediate child nodes (need to think of a way to rename this to be less confusing). Some more quasi-code to split nodes and insert points. 2014-05-30 22:42:36 +00:00
andrewmw94 fa627db1eb R tree stuff 2014-05-30 20:36:27 +00:00
andrewmw94 245182b653 more R Tree stuff 2014-05-30 12:04:44 +00:00
sumedhghaisas 669f8f84e1 Changing LMF(Latent Matrix Factorization) to AMF(Alternating Matrix Factorization). NMF and CF modules are updted. 2014-05-27 23:49:17 +00:00
andrewmw94 588370ee94 more stuff for R Trees 2014-05-27 20:49:20 +00:00
andrewmw94 7df5091e67 more R tree stuff. 2014-05-27 12:17:52 +00:00
Ryan Curtin 7a6437e51f Remove unnecessary includes. 2014-05-27 03:44:10 +00:00
Ryan Curtin 93adc781cd Fix header guard names. This is an incredibly pedantic fix. 2014-05-27 03:40:35 +00:00
Ryan Curtin 47eec8c23b Use prereqs.hpp instead of core.hpp; however, the implementation requires core.hpp. 2014-05-27 03:38:38 +00:00
Ryan Curtin dcf0289900 Include stdint, for uint32_t support. 2014-05-27 03:37:49 +00:00
Ryan Curtin 9291a7ecb1 Use prereqs.hpp instead of core.hpp; core.hpp is required for the implementation, though. 2014-05-27 03:37:10 +00:00
Ryan Curtin 78d42b38a4 Use prereqs.hpp to avoid weird include order dependency issues. 2014-05-27 03:36:21 +00:00
Ryan Curtin a9153ab994 Refactor core.hpp into two files; one for non-mlpack includes, and one for everything else. 2014-05-27 03:35:52 +00:00