Commit Graph
13588 Commits
Author SHA1 Message Date
Ryan Curtin 0f4e83dc9c Check for correct neighbors correctly. 2015-11-10 18:23:09 -05:00
Ryan Curtin a9dcd684f6 Serialize all search preferences, not just some. 2015-11-10 18:23:09 -05:00
Ryan Curtin 24b66d49e9 Add Serialize() for RASearch. 2015-11-10 18:23:09 -05:00
Ryan Curtin 78cc694a4f Make query set a parameter to Search().
No need to hold it internally.
2015-11-09 21:30:32 +00:00
ryan 9bd2063f96 Force settings of --single and --naive.
Minor output consistency changes.
2015-11-05 12:08:09 -05:00
ryan a9d64fcd5e Refactor range search program. Allow model saving/loading. 2015-11-05 12:07:53 -05:00
ryan c3b6a9b6cf Be more clear with the warning. 2015-11-05 09:53:26 -05:00
ryan e09d6a4869 Test RSModel. 2015-11-04 13:54:00 -05:00
ryan e248946fb2 Do unmapping correctly. 2015-11-04 13:52:44 -05:00
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