Commit Graph
14992 Commits
Author SHA1 Message Date
Ryan Curtin cc4e3aec28 Use 'Type' and typedef conventions for loss functions. 2022-04-02 17:52:48 -04:00
Ryan Curtin 232ce2a342 Adapt CustomLayer for testing to have only one template parameter. 2022-04-02 15:37:55 -04:00
Ryan Curtin 9a9b6334a6 Adapt tests for FFNs and RNNs having only one template parameter for type. 2022-04-02 15:37:41 -04:00
Ryan Curtin 9fe42a2d7b Adapt to use only one template parameter. 2022-04-02 15:37:21 -04:00
Ryan Curtin 6ff20e912b Adapt to use only one template parameter for types. 2022-04-02 15:36:52 -04:00
Ryan Curtin 48685d3483 Adapt to use only one template parameter. 2022-04-02 15:36:34 -04:00
Ryan Curtin d79df40382 Don't allow calling Parameters() on a layer with no weights. 2022-04-01 19:42:59 -04:00
Ryan Curtin 6cdd49ab88 Some early attempts to adapt some tests. 2022-04-01 18:21:50 -04:00
Ryan Curtin 0d73c5e1e2 Early attempts at refactoring Q-learning code. 2022-04-01 18:20:50 -04:00
Ryan Curtin a446c67f5a Re-enable RLComponentsTest. 2022-04-01 17:53:47 -04:00
Ryan Curtin 263d1ddd15 Allow the Rho parameter to be reset (it should also be renamed). 2022-03-30 22:07:37 -04:00
Ryan Curtin bcbeebcf27 Adapt CustomLayer. 2022-03-30 22:07:27 -04:00
Ryan Curtin 53d903d1c4 Re-add the callback tests. 2022-03-30 21:17:29 -04:00
Ryan Curtin f34513341f We don't have an arbitrary type; move() should be used here. 2022-03-30 21:15:36 -04:00
Ryan Curtin 5a2f58f559 Re-enable some of the activation function tests. 2022-03-30 20:03:55 -04:00
Ryan Curtin 0155643e72 Forward() should not worry about whether we are in single mode (that's only relevant for training). 2022-03-30 19:36:28 -04:00
Ryan Curtin ed424ae4a1 Remove other bits of boost::visitor things. 2022-03-29 21:23:37 -04:00
Ryan Curtin be9a3882ad Comment out RBMNetworkTests. 2022-03-29 21:23:28 -04:00
Ryan Curtin f1f5fc7fa2 Fix includes for moved files. 2022-03-29 21:23:22 -04:00
Ryan Curtin 112016ccf1 Remove boost usage. 2022-03-29 21:22:59 -04:00
Ryan Curtin 2da71b1f36 Move some files that aren't yet adapted or are unneeded. 2022-03-29 21:22:46 -04:00
Ryan Curtin 1998227d9c Fix header guard name. 2022-03-29 19:58:28 -04:00
Ryan Curtin f2a1b79e99 Fix incorrect step reference. 2022-03-27 14:16:58 -04:00
Ryan Curtin 7fa7eb15f0 Don't forget virtual destructor for LSTMType. 2022-03-27 12:16:33 -04:00
Ryan Curtin a501389238 Make sure to be able to serialize RecurrentLayer. 2022-03-27 12:16:14 -04:00
Ryan Curtin 4c8364c169 No need to serialize the training-time-only predictors and responses. 2022-03-27 12:15:52 -04:00
Ryan Curtin c219a57da3 Reference local results instead of class-wide responses. 2022-03-27 12:15:38 -04:00
Ryan Curtin 9b7b7f875d Add copy and move operator implementation. 2022-03-27 12:15:20 -04:00
Ryan Curtin accce42b35 Oops, add RecurrentLayer to the repository. 2022-03-27 12:14:55 -04:00
Ryan Curtin df613499f3 Adapt test to use multiple epochs. 2022-03-25 11:59:49 -04:00
Ryan Curtin aa0ce85656 Fix alias computation. 2022-03-25 11:58:43 -04:00
Ryan Curtin 20b109fe42 Set step correctly for forward pass. 2022-03-25 11:57:57 -04:00
Ryan Curtin 9ff1fb11f5 Test that the RNN and FFN give the same output for only one time step. 2022-03-23 22:40:52 -04:00
Ryan Curtin 66d929f923 Handle series with only one time step. 2022-03-23 22:40:42 -04:00
Ryan Curtin 0c97b42d80 Be sure to serialize rho and single too. 2022-03-23 17:58:28 -04:00
Ryan Curtin 76992e86d6 Add serialization for some more initializations. 2022-03-22 21:26:19 -04:00
Ryan Curtin d6e200ff37 Fix include issue (this may not be the right fix). 2022-03-22 21:26:09 -04:00
Ryan Curtin 080dcfccb4 Correct NumFunctions() implementation. 2022-03-22 21:25:59 -04:00
Ryan Curtin 4816d7ccfe Some other minor bugfixes; now the tests pass. 2022-03-19 23:48:10 -04:00
Ryan Curtin 80efe31e5b Fix a few bugs---now LSTMBatchSizeTest works!
(That doesn't mean that RNNs actually work...)
2022-03-17 22:06:01 -04:00
Ryan Curtin eab019541d Comment out tests that don't work yet. 2022-03-17 21:12:19 -04:00
Ryan Curtin 9ff8fd401d Clean up (in some places) RNN implementation. 2022-03-17 21:11:47 -04:00
Ryan Curtin bd08f9a92e Remove debugging output. 2022-02-16 22:18:54 -05:00
Marcus Edel d8b72a862b Some RNN refactoring. 2022-02-16 22:16:10 -05:00
Ryan Curtin 93fecce9c8 Significant cleanup of all layers.
The ones not in not_adapted/ (other than the LSTM) are ready for review.
2022-02-15 23:00:08 -05:00
Ryan Curtin ce12cd3e25 Remove files from CMakeLists.txt. 2022-02-09 22:44:07 -05:00
Ryan Curtin ee117f355b Remove layer_traits.hpp since it's no longer needed. 2022-02-09 22:43:38 -05:00
Ryan Curtin 7b969f3014 Move two layers that got missed. 2022-02-09 22:41:54 -05:00
Ryan Curtin e2502cbb9c Move unadapted layers into a separate directory (for organization). 2022-02-09 22:41:09 -05:00
Ryan Curtin f72340106c Add some documentation about what will happen. 2022-02-09 22:09:08 -05:00