Commit Graph
13579 Commits
Author SHA1 Message Date
ryan aa19d06fcf Fix collision of variable names. 2015-11-04 13:18:58 -05:00
ryan 1eb721c663 Add Serialization() to NaiveBayesClassifier. 2015-11-03 10:25:05 -05:00
Ryan Curtin bd3fd9b461 Add tests for Train() and move constructors. 2015-11-03 14:28:57 +00:00
Ryan Curtin 3e9b914b0d Fix casting issues. 2015-11-03 14:28:57 +00:00
Ryan Curtin 04ff4365eb Fix formatting. 2015-11-02 14:29:22 -05:00
Ryan Curtin 156787dd4f Add RSModel (not yet tested). 2015-11-02 17:18:06 +00:00
Ryan Curtin 752b783acd Add Serialize(). 2015-11-02 17:18:05 +00:00
Ryan Curtin 06b2e58486 Add move constructors and Train() functions. 2015-11-02 17:18:05 +00:00
Ryan Curtin c7023423d4 Fix documentation. 2015-11-02 17:18:05 +00:00
Ryan Curtin b959363b53 Add a function to create a random basis. 2015-11-02 17:18:05 +00:00
Ryan Curtin 742e8f23d7 Update documentation. 2015-11-02 17:18:05 +00:00
Ryan Curtin f86acf8be2 Fix #464: the assert was not valid. 2015-10-28 13:02:16 -07:00
ryan 4db02b1aac Use a pointer to the dataset.
This is in preparation for serialization support.
2015-10-27 11:58:17 -04:00
Ryan Curtin 22cf1a3511 Minor style fixes. 2015-10-23 09:38:18 -04:00
ryan 29b89eb8ae Don't issue a warning for one-column CSVs. 2015-10-22 13:46:58 -04:00
Ryan Curtin d1dfaa8e09 Add Serialize(). 2015-10-22 15:11:07 +00:00
Ryan Curtin 9ae893ee70 Allow ownership of data matrix. 2015-10-22 15:11:07 +00:00
Ryan Curtin 757971aedb Initialize baseCases and scores correctly. 2015-10-22 15:11:07 +00:00
Ryan Curtin 5584483a1a Allow access to number of base cases and scores. 2015-10-22 15:11:07 +00:00
ryan c81893381e Add a test to ensure that doing monochromatic dual-tree search resets bounds. 2015-10-20 11:08:36 -04:00
ryan d02f7c456b For monochromatic dual-tree search, the bounds may need to be reset.
This only happens when monochromatic dual-tree search is performed twice.
2015-10-20 11:08:10 -04:00
Ryan Curtin 00eccfdb0d Refactor allkfn program. 2015-10-20 13:47:48 +00:00
Ryan Curtin b25508fea0 Fix function signature. 2015-10-20 13:47:48 +00:00
Ryan Curtin eadb92a8d2 Fix grammar issue. 2015-10-20 13:47:48 +00:00
Ryan Curtin 9c5b690c28 Fix definition. 2015-10-20 13:47:48 +00:00
Ryan Curtin 609fddb1ee Add 'ball' option for -t. 2015-10-20 13:47:48 +00:00
Ryan Curtin c75abf248c Fix -Wunused. 2015-10-20 13:47:47 +00:00
Ryan Curtin abce06073c Add ball tree support to NSModel. 2015-10-20 13:47:47 +00:00
Ryan Curtin c7f92a5f62 Give name of tree in output. 2015-10-20 13:47:47 +00:00
marcus 67e0a132c7 Widen tolerance slightly and disable non-deterministic behavior by setting the shuffle parameter to false. 2015-10-20 11:41:27 +02:00
marcus a8215ba479 Add a test for ADAM. 2015-10-20 11:34:45 +02:00
marcus 612affdea6 Add a test for AdaDelta. 2015-10-20 11:34:45 +02:00
Ryan Curtin fecf1194c1 Complete refactoring of allknn program.
Allows saving models and selection of different tree types.

My plan is to deploy this idea to all of mlpack's dual-tree algorithms; I'll
also add ball trees.
2015-10-19 16:02:56 -04:00
Ryan Curtin 3f4e6a84e9 Handle zero-size cover trees... sort of. 2015-10-19 16:02:56 -04:00
Ryan Curtin fffc24d3fa Fix initialization. 2015-10-19 16:02:56 -04:00
Ryan Curtin 2e50e0306d Update test API. 2015-10-19 16:02:56 -04:00
Ryan Curtin 95d1357f44 Use rvalue references to prevent copies. 2015-10-19 16:02:56 -04:00
Ryan Curtin 89e4f430f6 Add std::move constructor for datasets. 2015-10-19 16:02:56 -04:00
Ryan Curtin 1b1a3fa0e3 Fix mappings for rvalue reference constructors. 2015-10-19 16:02:56 -04:00
Ryan Curtin d9d69fcc7f Make some test sets smaller for speed. 2015-10-19 16:02:56 -04:00
Ryan Curtin 852571af23 Fix casting error. 2015-10-19 16:02:55 -04:00
Ryan Curtin 7ec97d059f Add rvalue reference constructor. 2015-10-19 16:02:55 -04:00
Ryan Curtin 10d7140ef0 Add rvalue reference constructors. 2015-10-19 16:02:55 -04:00
Ryan Curtin 4956dca501 The minimum Armadillo requirement is now 3.6.0.
So the ifdefs aren't necessary.
2015-10-19 16:02:55 -04:00
Ryan Curtin 9f51ae1730 Test move constructors. 2015-10-19 16:02:55 -04:00
Ryan Curtin 55ea6aafd1 Add move constructors. 2015-10-19 16:02:55 -04:00
Ryan Curtin 25fde1e048 Fix extraneous template parameter list. 2015-10-19 16:02:55 -04:00
Ryan Curtin 9ed5c236ed Add a helper class for knn model saving. 2015-10-19 16:02:55 -04:00
Ryan Curtin b44979b736 Add access to the reference set. 2015-10-19 16:02:55 -04:00
ryan 09cd0d67f2 Check isinf() too. 2015-10-19 07:56:54 -04:00