Commit Graph
16675 Commits
Author SHA1 Message Date
Ryan Curtin 02adc2e338 Merge remote-tracking branch 'origin/master' into sparse-coding-doc 2024-05-16 10:37:42 -04:00
Ryan Curtin d7b3a4a942 Merge pull request #3705 from rcurtin/remove-deprecated-adaboost-argument
Remove deprecated functionality
2024-05-16 10:20:05 -04:00
Omar Shrit c219641ef8 Merge pull request #3693 from shrit/coot_17
coot 17: Refactor MakeAlias to make it compatible with bandicoot
2024-05-16 12:14:07 +02:00
Ryan Curtin 4bfa5de93d Refactor SparseCoding to allow different element types. 2024-05-15 23:34:31 -04:00
Ryan Curtin 832a3e4e7a Fix name of output parameter in documentation. 2024-05-15 18:29:17 -04:00
Ryan Curtin e851d0367e Fix sometimes-failing LARS tests (#3701) 2024-05-15 15:13:38 +02:00
Ryan Curtin c4ac51fd7f Remove deprecated functionality. 2024-05-14 20:13:20 -04:00
Omar Shrit eef5b684a8 Fix the comments as requested
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-05-14 20:36:46 +02:00
Luca Parisi d859eb4af2 add reference for hyper-sinh function 2024-05-06 13:33:58 +02:00
Omar Shrit 5960f23237 Merge branch 'coot_17' of github.com:shrit/mlpack into coot_17 2024-05-03 18:15:02 +02:00
Omar Shrit 64a3900f5d Fix the function call
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-05-03 18:13:14 +02:00
Ryan Curtin 8af7aae490 Merge pull request #3694 from rcurtin/r-verbose-test
Test "verbose" option for R.
2024-04-29 14:44:42 -04:00
Omar ShritandRyan Curtin f229e4b2d1 Update src/mlpack/methods/ann/rnn_impl.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-04-26 17:22:25 +02:00
Ryan Curtin ed77e91af3 Make sure that the test binding actually makes any output at all! 2024-04-24 12:32:13 -04:00
James J Balamuta 7d54cfbccf Update src/mlpack/bindings/R/mlpack/tests/testthat/test-R_binding.R 2024-04-23 12:38:25 -07:00
James J Balamuta 7275f7d150 Update src/mlpack/bindings/R/mlpack/tests/testthat/test-R_binding.R 2024-04-23 12:38:19 -07:00
James J Balamuta 4dc080f0ca Update src/mlpack/bindings/R/mlpack/tests/testthat/test-R_binding.R 2024-04-23 12:38:11 -07:00
Omar Shrit 3164cf68b2 Add tests are passing with no problem
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-23 16:53:16 +02:00
Omar Shrit 30c88bcec6 Use the Output type with SFINAE
The input in some cases can be a matrix and the output should b a cube,
if we are selecting the overload based on the input type then the offset
will point to the wrong memeory location

Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-23 16:02:15 +02:00
Omar ShritandRyan Curtin 5e98e3f0d2 Update src/mlpack/core/math/make_alias.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-04-23 11:06:32 +02:00
Omar ShritandRyan Curtin b14a872162 Update src/mlpack/core/math/make_alias.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-04-23 11:06:26 +02:00
Omar ShritandRyan Curtin d164b281d6 Update src/mlpack/core/math/make_alias.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-04-23 11:06:20 +02:00
Ryan Curtin b3ddc0257f Merge pull request #3688 from rcurtin/nmf-doc
Documentation for `NMF` plus some bugfixes
2024-04-22 17:06:02 -04:00
Ryan Curtin aeac9cd9b0 Just one more sanity check test. 2024-04-22 16:03:11 -04:00
Ryan Curtin 734c834ed1 Test "verbose" option for R. 2024-04-22 16:00:20 -04:00
Ryan Curtin 3607ac8cf1 Merge pull request #3635 from rcurtin/fix-windows-build-the-usual
Attempt to fix Windows build
2024-04-22 15:25:36 -04:00
Omar Shrit 7a363cb210 Fix the slices MakeAlias, this is compiling on my end, tests are not passing yet
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-21 12:51:30 +02:00
Omar Shrit 09b332219b Adding some forgetten refactoring around
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-20 18:58:40 +02:00
Omar Shrit 04a3ed4f28 Fix the missing parts inside method
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-20 18:23:21 +02:00
Omar Shrit de747c38e3 Regexp weights1.memptr() to wieghts1
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-20 18:12:10 +02:00
Omar Shrit 226acf5b55 Remove memptr from tests
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-20 18:11:20 +02:00
Omar Shrit 4af7f4847d Fix const and SFINAE signature for all of these functions
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-20 18:05:53 +02:00
Omar Shrit f9e3eba6c2 Fix the SetWeights function globally
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-20 16:11:32 +02:00
Omar Shrit e303c5a9f7 Fix SetWeight, and variable name
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-20 16:05:56 +02:00
Omar Shrit ffb9c5f65c Initial refactoring for a set of MakeAlias, not finished yet
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-19 21:36:29 +02:00
Omar Shrit 0415de38d6 Just a prototype for the new function signature
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-19 20:32:04 +02:00
Omar Shrit f32567fdbf Merge pull request #3690 from shrit/coot_16
Move to `MatType` in bias svd
2024-04-19 13:02:57 +02:00
Ryan Curtin ec9a6ce2d4 Merge branch 'master' into fix-windows-build-the-usual 2024-04-18 09:52:06 -04:00
Ryan Curtin bce98510e1 Remove now-unneeded macro since we are not using Boost anymore. 2024-04-17 16:40:49 -04:00
Ryan Curtin 86ccccc1f9 Handle verbose directly inside the binding function so we access the correct Log::Info. 2024-04-17 16:40:22 -04:00
Omar Shrit ef7779f27f Adding the missing template parameter
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-16 18:51:35 +02:00
Omar Shrit abda56982e move to MatType in bias svd
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-04-16 18:45:33 +02:00
Ryan Curtin c01faefdd9 Merge branch 'master' into fix-windows-build-the-usual 2024-04-16 09:01:58 -04:00
Omar Shrit e5a385acc9 Merge pull request #3680 from shrit/coot_14
Coot 14, Remove `arma` from `arma::zeros` and `arma::ones`
2024-04-14 12:24:49 +02:00
Omar Shrit 4ccdde3747 Merge pull request #3683 from shrit/coot_15
Coot15, Do not use the transform function if we are using bandicoot in softmax layer
2024-04-14 12:14:59 +02:00
Ryan Curtin aa771da167 Merge pull request #3679 from rcurtin/add-batch-size
Fix batch handling for `Add::Gradient()`
2024-04-12 11:37:11 -04:00
Ryan Curtin a8757bc54b Speed up NMF mult-div rules by about a factor of 10. 2024-04-11 20:22:18 -04:00
Ryan Curtin a393673259 Update phrasing slightly. 2024-04-11 17:12:03 -04:00
Ryan Curtin 09b5119d1c Add RMSE() function, which is user-friendly (I mean I think). 2024-04-11 16:41:55 -04:00
Ryan Curtin 97e56df202 Template AMF::Apply() and add convenience NMF class. 2024-04-11 16:41:40 -04:00