Commit Graph
13538 Commits
Author SHA1 Message Date
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
ryan ecf36c506a Use easier-to-understand isnan(). 2015-10-19 07:53:59 -04:00
Marcus Edel 6e86d1070e Merge pull request #462 from stereomatchingkiss/FixOIVSInitBug
fix constructor bug(oivs_init.hpp)
2015-10-18 23:31:54 +02:00
stereomatchingkiss badba6568a remove data member epsilon since it only needed by constructor 2015-10-19 03:14:24 +08:00
stereomatchingkiss 069911fdf8 fix constructor bug 2015-10-18 09:34:44 +08:00
Marcus Edel 1190791f07 Use the correct number of feature maps in the network description (thanks Ngap wei Tham for pointing it out). 2015-10-17 15:19:07 +02:00
Marcus Edel 54f77d383d Add a test for RMSProp. 2015-10-16 14:17:57 +02:00
Marcus Edel 68157b9f81 Add ADAM optimizer. 2015-10-15 12:21:17 +02:00
Marcus Edel 90f9f8f270 Minor documentation updates and formatting changes. 2015-10-14 16:31:16 +02:00
Ryan Curtin ce49a4b5f0 Fix uninitialized values. 2015-10-14 05:02:35 -04:00
Ryan Curtin e6491c3d86 Don't check localDataset because sometimes it is NULL.
I don't know the exact rules that lead to it being NULL or not...
2015-10-14 04:40:27 -04:00
Ryan Curtin c50f6a935a Refactor to avoid duplication of root during serialization. 2015-10-14 04:40:09 -04:00
Ryan Curtin f60f59c693 Remove unused field. 2015-10-14 04:24:20 -04:00
Ryan Curtin 35e8c77875 Clean up memory afterwards. 2015-10-14 04:22:38 -04:00
Ryan Curtin edf35a00c4 Remove debugging output. 2015-10-14 04:19:01 -04:00
Ryan Curtin c60e53128b Refactor Serialize(); don't duplicate the parent.
This is a better approach and it should probably be applied to BinarySpaceTree
too.
2015-10-14 04:15:35 -04:00
Ryan Curtin 168a49a378 Serialization for RectangleTree. Not working---committed in order to work on another system. Also has debugging output. 2015-10-13 18:00:08 -04:00
Marcus Edel 81e72d4410 Minor syntax and formatting changes. 2015-10-13 12:42:10 +02:00
Marcus Edel c700949f98 Merge pull request #459 from stereomatchingkiss/ann_workaround
fix vc2015 compile issue
2015-10-13 11:10:47 +02:00
Ryan Curtin 6e9a7465d7 Refactor to hold dataset internally (for serialization). 2015-10-11 16:26:00 -04:00
Ryan Curtin f499e5ce6d Minor style fix/change. 2015-10-11 16:26:00 -04:00
Ryan Curtin b4b7e8ab01 Remove using declaration. 2015-10-11 16:26:00 -04:00
Ryan Curtin 95088aa9f1 Add Serialize() to CoverTree and tests too. 2015-10-11 16:26:00 -04:00
Ryan Curtin 997d03baf1 Refactor so holding a dataset internally is possible. 2015-10-11 16:26:00 -04:00
Ryan Curtin 405bf73826 This appears to be a failed merge; fix it. 2015-10-11 16:26:00 -04:00
stereomatchingkiss 0672de49a8 fix vc2015 compile issue 2015-10-07 09:56:34 +08:00
Ryan Curtin 7e6fe3f1c2 Fix failed merge. 2015-10-03 00:54:15 +00:00
Ryan Curtin de88672879 Merge branch 'master' of https://github.com/mlpack/mlpack 2015-10-02 23:20:25 +00:00
Ryan Curtin 0e910b151b Add serialization to DTree. 2015-10-02 21:39:01 +00:00
Ryan Curtin 5be6093c2e Don't set MLPACK_USE_64BIT_WORD when on a 32-bit system. 2015-10-02 21:08:53 +00:00
Ryan Curtin c8cdc77478 Refactor main executable. 2015-09-30 17:25:43 +00:00
Ryan Curtin 7a8b0e1292 Minor syntax and formatting changes. 2015-09-30 09:35:05 -04:00
Ryan Curtin dc2c5c68dc Merge pull request #457 from stereomatchingkiss/softmax_enhance
Enhance SoftmaxRegression
2015-09-30 09:27:15 -04:00
stereomatchingkiss 8692a76c49 fix bug--return wrong feature size 2015-09-30 12:24:10 +08:00
stereomatchingkiss e5c2e71d69 1 : add read only function FeatureSize
2 : add function InitializeWeights to avoid the case when RVO fail
2015-09-30 11:47:19 +08:00
ryan 8a8b708650 Set initial parameters correctly; restore tolerances. 2015-09-29 09:54:31 -04:00
stereomatchingkiss a4d925c500 refine test cases 2015-09-29 13:03:56 +08:00
stereomatchingkiss 7a8b85c49d 1 : remove inputSize from the constructors and data member
2 : provide static function initializeWeight to simplify constructor task
3 : change labels from arma::vec to arma::Row<size_t>
4 : update test cases
2015-09-29 12:34:38 +08:00
Ryan Curtin ec1f8d7fbe Add separate Train() method. 2015-09-28 22:04:24 +00:00
Ryan Curtin f85a9b22f3 Add new contributor. 2015-09-28 17:25:37 -04:00
Ryan Curtin 754bf1596d Add serialization test for SoftmaxRegression. 2015-09-28 17:25:31 -04:00
Ryan Curtin 58666745b8 Add tests for new Train() functions. 2015-09-28 17:22:43 -04:00