Commit Graph
16579 Commits
Author SHA1 Message Date
Ryan Curtin e4f33e20c0 Add additional overloads for PCA::Apply() and tests. 2024-04-03 13:21:50 -04:00
Ryan Curtin 41ad950d5e Templatize PCA and its dependencies to allow different matrix types. 2024-04-02 14:52:15 -04:00
Ryan Curtin e9be8af2cc Clean up MakeAlias() and put it in only one place. 2024-04-02 14:51:50 -04:00
conradsnicta 36174fee24 catch2 workaround for recent issue under macOS (#3665) 2024-03-25 03:49:46 +01:00
Omar Shrit 2f71e925d0 Remove fixing the dimension manually
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-03-21 07:11:58 +01:00
Omar Shrit 01d0bc840b Fix the missed mean in the gaussian init
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-03-20 18:42:03 +01:00
Omar Shrit 674cc9e63b Merge branch 'master' into coot_12
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-03-14 10:38:30 +01:00
Omar Shrit 9de14e597f Merge pull request #3651 from shrit/fix_Random
BUG Fix RandNormal() to take the standard deviation as a parameter instead of the variance
2024-03-13 23:11:53 +01:00
Omar Shrit 413ac7f26a Change the tolerance to 1e-4
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-03-13 18:36:16 +01:00
Omar Shrit 8b069c7408 move the comma by 0000
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-03-13 13:07:27 +01:00
Omar Shrit 0b341426d7 Change the value to one
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-03-12 17:14:09 +01:00
Omar Shrit f0f25ea0e9 Merge branch 'fix_Random' of github.com:shrit/mlpack into fix_Random 2024-03-11 15:22:19 +01:00
Omar Shrit 96743e5c2c Change 0.01 to 0.1 to see if we can pass the tests
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-03-11 15:21:47 +01:00
Omar ShritandRyan Curtin d1a5370f4f Update src/mlpack/methods/reinforcement_learning/noise/gaussian.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-03-08 16:46:22 +01:00
Omar Shrit 4868a795b9 Fix the a couple of bugs
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-03-07 18:29:48 +01:00
Omar ShritandRyan Curtin dcdd81353e Update src/mlpack/tests/ann/not_adapted/gan_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-03-07 17:46:25 +01:00
Omar ShritandRyan Curtin 550a9989cb Update src/mlpack/tests/ann/not_adapted/gan_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-03-07 17:46:19 +01:00
Omar Shrit 816f7b2575 Fix glorot variable name
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-03-07 14:00:37 +01:00
Omar Shrit 5ad51c9ea8 Adapt the values so it works with standard deviations
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-03-07 13:53:45 +01:00
Omar Shrit 03c07ac1f9 Modify varaince to stddev
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-03-07 13:07:10 +01:00
Omar Shrit a1cfc047c6 We can not have distr_param, mlpack has old version of armadillo
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-03-06 13:16:10 +01:00
Omar Shrit 359d11ddb0 Fix minor error
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-02-29 15:47:36 +01:00
Omar Shrit 5033598023 Remove useless as_scalar
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-02-29 15:37:07 +01:00
Ryan Curtin 0447b07e79 Fix edge case floating point bug. 2024-02-29 08:33:13 -05:00
Omar Shrit b9f94098a1 Remove arma::imbue and fix some errors
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-02-29 14:22:04 +01:00
Omar Shrit a62b12d4ed Change arma::min to min
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-02-29 12:33:08 +01:00
Omar Shrit c2433cb62b Merge pull request #3619 from shrit/coot_11
Coot 11 Change arma::accu to Accu, and part of arma::max
2024-02-29 12:12:30 +01:00
Omar Shrit 0577ddbfaa Fix some style issues
Signed-off-by: Omar Shrit <omar@avontech.fr>
2024-02-28 12:43:27 +01:00
Omar ShritandRyan Curtin 5102bde812 Update src/mlpack/tests/main_tests/sparse_coding_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:35:31 +01:00
Omar ShritandRyan Curtin 9927b98609 Update src/mlpack/tests/ann/loss_functions_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:35:21 +01:00
Omar ShritandRyan Curtin 93636a4500 Update src/mlpack/tests/ann/loss_functions_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:35:11 +01:00
Omar ShritandRyan Curtin ea6756c6d4 Update src/mlpack/tests/main_tests/sparse_coding_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:34:46 +01:00
Omar ShritandRyan Curtin c3658ec7a2 Update src/mlpack/tests/ann/loss_functions_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:34:33 +01:00
Omar ShritandRyan Curtin cae9597aa3 Update src/mlpack/tests/ann/loss_functions_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:34:23 +01:00
Omar ShritandRyan Curtin 647ab7f3ab Update src/mlpack/tests/ann/loss_functions_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:34:14 +01:00
Omar ShritandRyan Curtin 02c469099d Update src/mlpack/tests/ann/loss_functions_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:34:03 +01:00
Omar ShritandRyan Curtin 5f5129c689 Update src/mlpack/tests/ann/loss_functions_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:33:52 +01:00
Omar ShritandRyan Curtin cace7ad310 Update src/mlpack/tests/ann/loss_functions_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:33:41 +01:00
Omar ShritandRyan Curtin 9c9d977c08 Update src/mlpack/tests/ann/loss_functions_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:33:30 +01:00
Omar ShritandRyan Curtin 944729479a Update src/mlpack/tests/ann/loss_functions_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:33:06 +01:00
Omar ShritandRyan Curtin bb7ce91ae4 Update src/mlpack/tests/main_tests/sparse_coding_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:30:18 +01:00
Omar ShritandRyan Curtin 2edb998f0a Update src/mlpack/methods/xgboost/loss_functions/sse_loss.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:29:45 +01:00
Omar ShritandRyan Curtin a9a44cad6d Update src/mlpack/tests/ann/loss_functions_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:29:31 +01:00
Omar ShritandRyan Curtin 940f2686c3 Update src/mlpack/tests/test_function_tools.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:27:23 +01:00
Omar ShritandRyan Curtin 277e8c0181 Update src/mlpack/tests/main_tests/sparse_coding_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:27:12 +01:00
Omar ShritandRyan Curtin 12c717bde4 Update src/mlpack/tests/main_tests/sparse_coding_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:27:01 +01:00
Omar ShritandRyan Curtin 0fc74981ca Update src/mlpack/methods/sparse_autoencoder/maximal_inputs_impl.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:26:52 +01:00
Omar ShritandRyan Curtin ac77f58c3d Update src/mlpack/tests/main_tests/sparse_coding_test.cpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:25:56 +01:00
Omar ShritandRyan Curtin fdc61fde5b Update src/mlpack/methods/sparse_autoencoder/maximal_inputs_impl.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:25:35 +01:00
Omar ShritandRyan Curtin 5bed3ae51a Update src/mlpack/methods/sparse_autoencoder/maximal_inputs_impl.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2024-02-28 12:25:08 +01:00