Commit Graph
29009 Commits
Author SHA1 Message Date
Ryan Curtin abae46cbff Remove TODO that is fixed. 2023-11-30 11:31:11 -05:00
Ryan Curtin 5de7537377 Handle sparse inputs a little better. 2023-11-30 11:17:58 -05:00
Ryan Curtin 30dd6fb3ff Add linear regression documentation (fully tested). 2023-11-30 11:17:49 -05:00
Ryan Curtin b64797a05e Fix LinearRegression for MetaInfoExtractor. 2023-11-30 10:37:28 -05:00
Ryan Curtin 20fbb6abf0 Adapt code to new LinearRegression<> template parameter. 2023-11-30 10:36:57 -05:00
Ryan Curtin d32087c046 Templatize LinearRegression. 2023-11-29 11:38:54 -05:00
Ryan Curtin 09edc48b24 Add single-point Predict() to LinearRegression and test it. 2023-11-29 11:20:29 -05:00
Ryan Curtin b741ee30b1 Remove fixed TODO. 2023-11-29 11:11:31 -05:00
Ryan Curtin 2acea2db66 Fix bug in Naive Bayes test. 2023-11-29 11:11:25 -05:00
Ryan Curtin c1b7694391 Implement new Train() overloads and tests for them. 2023-11-29 11:11:13 -05:00
Ryan Curtin 599a630656 Fix object names. 2023-11-27 17:23:24 -05:00
Ryan Curtin 4682706a99 Some additional cleanups and fixes. 2023-11-27 17:22:31 -05:00
Ryan Curtin 308be4fa95 Add a caveat about sparse model types. 2023-11-27 17:16:39 -05:00
Ryan Curtin 4878ade588 Point out Epsilon() method. 2023-11-27 17:13:24 -05:00
Ryan Curtin 48b85e8646 Make sure variances always have epsilon, regardless of training mode. 2023-11-27 17:05:55 -05:00
Ryan Curtin b9ba26b4f9 Fix example code. 2023-11-27 17:05:41 -05:00
Ryan Curtin 0947848c2d Update NaiveBayesClassifier class to match documentation, and add appropriate tests. 2023-11-27 16:51:55 -05:00
Ryan Curtin 727fb58ada Add documentation for NaiveBayesClassifier. 2023-11-27 16:51:39 -05:00
Ryan Curtin 2c8289149b Fix some compilation warnings. 2023-11-27 16:49:24 -05:00
Ryan Curtin 39e35a1f79 Fix other use of cereal macro not available in older versions. 2023-11-27 16:26:11 -05:00
Ryan Curtin 4bc1297f96 Correct handling for older cereal versions. 2023-11-27 16:26:11 -05:00
Ryan Curtin 04a970228b Include workaround for allowing templated versions for serialization. 2023-11-27 16:26:11 -05:00
Ryan Curtin e92eb6d1ff Add new block for next release to HISTORY.md. 2023-11-27 13:27:20 -05:00
Ryan Curtin c8726ff2ee Update and release version 4.3.0. 2023-11-27 13:27:20 -05:00
Ryan Curtin 751ba46521 Merge pull request #3557 from rcurtin/additional-cxx17-msvc-doc-fix
Remove other uses of /Zc:__cplusplus in the documentation.
2023-11-22 08:48:24 -05:00
Ryan Curtin 1839274ebb Merge pull request #3547 from akropp/adapt_multihead
Adapt MultiheadAttention and LayerNorm to new Layer interface
2023-11-22 08:46:15 -05:00
Adam KroppandRyan Curtin cb7c6d32e1 Update HISTORY.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2023-11-20 15:11:14 -05:00
Adam KroppandRyan Curtin 27eae7c149 Update HISTORY.md
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2023-11-20 15:11:01 -05:00
Adam KroppandRyan Curtin 0f7f472da6 Update src/mlpack/methods/ann/ffn_impl.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2023-11-20 15:10:51 -05:00
Adam KroppandRyan Curtin 7bce96af3f Update src/mlpack/methods/ann/ffn_impl.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2023-11-20 15:10:43 -05:00
Adam Kropp df248103aa Merge branch 'adapt_multihead' of https://github.com/akropp/mlpack into adapt_multihead 2023-11-16 13:46:51 -05:00
Adam Kropp 8e0039d3b3 Update HISTORY.md 2023-11-16 13:46:47 -05:00
Adam Kropp 511fe6970b Add author lines
Added to the files where I made meaningful logic changes.
2023-11-16 13:46:40 -05:00
Adam KroppandRyan Curtin 0d4eb701f9 Update src/mlpack/methods/ann/layer/multihead_attention.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2023-11-16 09:19:22 -05:00
Adam KroppandRyan Curtin 13cb8c2260 Update src/mlpack/methods/ann/layer/multihead_attention.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2023-11-16 09:19:06 -05:00
Adam KroppandRyan Curtin def2346094 Update src/mlpack/methods/ann/layer/multihead_attention.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2023-11-16 09:18:53 -05:00
Adam KroppandRyan Curtin 2328247445 Update src/mlpack/methods/ann/layer/multihead_attention_impl.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2023-11-16 09:18:42 -05:00
Adam KroppandRyan Curtin 27ad35c5ca Update src/mlpack/methods/ann/layer/layer_norm.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2023-11-16 09:18:31 -05:00
Adam KroppandRyan Curtin 130b075d2e Update src/mlpack/methods/ann/activation_functions/hard_swish_function.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2023-11-16 09:18:20 -05:00
Adam Kropp 74f42a4e1b Fix bug with old armadillo version 2023-11-16 09:04:41 -05:00
Adam Kropp 8ad2e225da Temporary debugging spew to see why this fails in azure 2023-11-15 10:17:32 -05:00
Adam Kropp 677a6d8487 input dimension size calc was wrong in Reset() 2023-11-15 10:17:02 -05:00
Adam Kropp d90282abf5 Update elish_function.hpp 2023-11-14 10:25:38 -05:00
Adam Kropp fdb29d3a73 Update elish_function.hpp 2023-11-14 10:11:50 -05:00
Adam Kropp b788e4a8f2 Perf improvement 2023-11-14 10:03:20 -05:00
Adam Kropp a389184f48 Update elish_function.hpp 2023-11-14 07:32:13 -05:00
Adam Kropp 62cedfdb4b Fix conditionals 2023-11-13 18:11:28 -05:00
Adam Kropp 1539b6e7db Remove commentary 2023-11-13 16:03:39 -05:00
Adam Kropp deb68b984c Fix deriv 2023-11-13 16:01:51 -05:00
Adam Kropp 5c7fde65a4 Fixes 2023-11-13 15:53:09 -05:00