Commit Graph
13606 Commits
Author SHA1 Message Date
Ryan Curtin 9d882d9461 Remove extra space. 2015-11-16 06:58:12 -08:00
marcus 69b969be75 Fix the include guards to avoid the problem ofdouble inclusion. 2015-11-14 17:18:53 +01:00
marcus 633c18c756 Minor style and formatting changes. 2015-11-14 17:15:01 +01:00
marcus 7388de71d5 Refactor recurrent network test for new network API. 2015-11-13 18:44:53 +01:00
marcus c13f764508 Minor style and formatting changes. 2015-11-12 14:50:19 +01:00
marcus dafade6b28 Add recurrent layer. 2015-11-12 14:50:19 +01:00
marcus 9ea11b8bf9 We can't initialize a matrix with an uninitialized matrix. 2015-11-12 14:50:19 +01:00
marcus 423fc62643 Use the correct number of parameters for the LSTM LayerTraits. 2015-11-12 14:50:19 +01:00
marcus d77572e584 Refactor LSTM layer for new network API. 2015-11-12 14:50:19 +01:00
marcus a2b7c9b45d Reset the recurrent delta at the beginning of a new sequence. 2015-11-12 14:50:19 +01:00
marcus 605697fbb7 Set the sequence length if necessary. 2015-11-12 14:50:19 +01:00
marcus 263688c567 Add SFINAE pattern for the SeqLen function. 2015-11-12 14:50:18 +01:00
marcus 2e59b7d274 Add SFINAE pattern for the RecurrentParameter function. 2015-11-12 14:50:18 +01:00
marcus 0642d66096 Refactor recurrent network main class for new network API. 2015-11-12 14:50:18 +01:00
marcus 99de0b655f Use the new optimizer interface. 2015-11-12 14:50:18 +01:00
marcus a410bf56c6 Minor formatting change. 2015-11-12 14:50:18 +01:00
marcus 7e645b5760 Add tests for the current init rules. 2015-11-12 14:50:18 +01:00
marcus 9d29ede488 Add convenience typedefs (ReLULayer, TanHLayer). 2015-11-12 14:50:18 +01:00
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