Commit Graph
13621 Commits
Author SHA1 Message Date
Ryan Curtin 325348b0d2 Tiny minor documentation changes. 2015-11-17 17:26:06 -05:00
Ryan Curtin 4e4588e5b6 Merge pull request #472 from Kirizaki/master
Add exception for starting & stopping given timer
2015-11-17 14:24:36 -08:00
Grzegorz Krajewski d0d8284c28 Change contributors list
Add: Grzegorz Krajewski <krajekg@gmail.com>
2015-11-17 23:04:52 +01:00
Grzegorz Krajewski 607a1328ff Throw a runtime_error exception for start/stop
Throwing a runtime_error exception after Timer::Start or Timer::Stop has been called twice.
2015-11-17 23:01:50 +01:00
Grzegorz Krajewski 7d4d0a7138 Add changes for runtime_error exception.
Note in class Timer has been changed and private attribute has been added.
2015-11-17 22:57:25 +01:00
Grzegorz Krajewski 03fadcf108 Add test for twice start/stop timer
Check if double called Timer::Start or Timer::Stop will throw a runtime_error exception.
2015-11-17 22:53:17 +01:00
Grzegorz Krajewski 01f5c60187 Add note about runtime_error exception 2015-11-17 22:44:12 +01:00
Ryan Curtin 589f13b5e2 Minor style changes; no functionality changes.
I made a few parameters const to indicate that they are input, and to make them more consistent with other mlpack code, despite the fact that those consts are probably superfluous and ignored.
2015-11-16 08:04:33 -08:00
Ryan Curtin 7983dc9bfe Merge pull request #466 from stereomatchingkiss/softmaxExe
implement command line programs of softmaxRegression
2015-11-16 07:08:27 -08:00
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
stereomatchingkiss ceeb19f1ef const correctness 2015-11-11 16:31:29 +08:00
stereomatchingkiss 3d1aae40bb change Predict to const function 2015-11-11 16:28:33 +08: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
stereomatchingkiss c1e25a37f1 1 : change the option name of command line
2 : allow users to reuse trained results
3 : allow users to test the predict results of test data
2015-10-30 10:15:53 +08:00