Ryan Curtin
26a01e41b8
Add default parameters for UBTree typedef.
2024-10-21 21:24:06 -04:00
Ryan Curtin
5b0167b67e
Merge pull request #3800 from marlamb/feature/include-what-you-use
...
Include log header in all files with calls to Log::Assert
2024-10-16 10:39:36 -04:00
Ryan Curtin
5150b0ee1d
Merge pull request #3813 from marlamb/feature/fix-armadillo-deprecation-warning
...
Fix armadillo deprecation warning
2024-10-16 07:41:31 -04:00
Martin Lambertsen
ea2da569cb
Merge remote-tracking branch 'origin/master' into feature/include-what-you-use
2024-10-15 07:28:08 +02:00
Martin Lambertsen
6d5231408b
Remove includes in _impl header if main header contains include
...
Note that we consider the wider include to `core` as being sufficient.
2024-10-15 07:25:16 +02:00
Martin Lambertsen
2b6d811946
Fix armadillo deprecation warning
...
The use of `operator<<` to fill matrices is deprecated since a little
more than two years. In order to reduce the number of warnings during
compilation of `mlpack` and reduce likelyhood that something breaks as
soon as `armadillo` removes the deprecated operator, this commit uses
the initializer list form as suggested by the deprecation warning from
`armadillo`.
2024-10-15 07:08:03 +02:00
Ryan Curtin
01e404d376
Merge remote-tracking branch 'origin/master' into lstm-copy-fix
2024-10-10 11:20:09 -04:00
Ryan Curtin
96bf8e34f5
Merge pull request #3806 from rcurtin/doc-mean-split-ball-tree
...
Document `MeanSplitBallTree`
2024-10-10 09:52:36 -04:00
Ryan Curtin
6753194fee
Merge pull request #3803 from rcurtin/doc-split
...
Add documentation for `Split()` and `StratifiedSplit()`
2024-10-10 09:51:17 -04:00
Ryan Curtin
c9f295a92b
Fix initialization and copies of inSize and outSize for LSTM.
2024-10-07 13:21:27 -04:00
Ryan Curtin
7644d879fd
Merge remote-tracking branch 'origin/master' into doc-mean-split-ball-tree
2024-10-04 15:18:01 -04:00
Omar Shrit
e5d891f7fa
Merge pull request #3802 from rcurtin/doc-ball-tree
...
Add documentation for BallBound and BallTree.
2024-10-03 21:34:17 +02:00
Ryan Curtin
05895bf58d
Merge pull request #3805 from rcurtin/fix-cran
...
CRAN fixes
2024-10-02 12:51:26 -04:00
Ryan Curtin
f6268d15ad
Add default parameters to MeanSplitBallTree typedef.
2024-09-30 17:30:31 -04:00
Ryan Curtin
5587d86c63
Fix incorrect include.
2024-09-30 16:21:09 -04:00
Ryan Curtin
ebbee415e2
Merge remote-tracking branch 'origin/master' into doc-split
2024-09-30 16:11:38 -04:00
Ryan Curtin
c237bd38f6
Re-add deprecated overload.
2024-09-30 16:11:29 -04:00
Ryan Curtin
a97285080b
Rename files so they are under the absurd 100-byte filename limit.
2024-09-30 15:38:28 -04:00
Ryan Curtin
14fe038844
Merge remote-tracking branch 'origin/master' into doc-ball-tree
2024-09-30 11:50:39 -04:00
Ryan Curtin
ede4a11b6f
Fixes for CRAN.
2024-09-30 11:22:36 -04:00
Ryan Curtin
ca72547ab6
Oops, add missing overload of Split().
2024-09-26 10:29:37 -04:00
Ryan Curtin
f9f93e035d
Fix to use new API in tests.
2024-09-26 09:26:33 -04:00
Ryan Curtin
cb95340b2a
Deprecate the versions that return tuples.
2024-09-25 22:47:40 -04:00
Ryan Curtin
69fc1416f7
Fixes for documentation.
2024-09-25 16:13:29 -04:00
Ryan Curtin
c8ce7cb400
Minor fixes for compilation.
2024-09-25 14:38:29 -04:00
Ryan Curtin
9d959099c2
Add documentation for BallBound and BallTree.
2024-09-25 12:47:18 -04:00
Martin Lambertsen
9d19795bd6
Include log header for all calls to Log::Assert
...
On version 4.4.0 an include of the `kde_model.hpp` header leads to
compilation errors due to the missing symbol `Log::Assert` within
multiple transitively included headers. This commit applies "include
what you use" to all headers using `Log::Assert` in order to prevent
dependencies on inclusion order within other headers.
Note that I did not simply change the include order in `kde_model.hpp`,
such that `mlpack/core.hpp` is included first, as I would consider that
solution as unstable, it could easily be changed again without noticing.
Also would it solve the problem only in one inclusion path, whereas
"include what you use" will solve it for each and every inclusion path.
2024-09-24 23:14:44 +02:00
Ryan Curtin
499b710f08
Add default parameters for MeanSplitKDTree type.
2024-09-23 17:36:51 -04:00
Omar Shrit
8afe0fd32a
Merge pull request #3794 from rcurtin/kdtree-doc
...
Document `KDTree` and `BinarySpaceTree` and related classes
2024-09-23 18:20:49 +02:00
Martin Lambertsen
90b8d288cb
Fix compilation errors with clang 19
...
The new compiler version seems to perform more exhaustive checks on
templates, even if they are not initiated. As the code was malformed
also before, it is likely that it is dead code. However, this commit is
mainly to ensure users using clang 19 can include the header without
compilation error.
Note that this commit does not guarantee that currently other code might
not compile with clang 19, it just fixes some code which was used
transitevily and caused problems.
2024-09-22 09:09:55 +02:00
Ryan Curtin
4a1f5ac54a
Add new block for next release to HISTORY.md.
2024-09-18 09:05:53 -04:00
Ryan Curtin
97d76da9c5
Update and release version 4.5.0.
2024-09-18 09:05:53 -04:00
Ryan Curtin
bfefa90398
Add license to file.
2024-09-16 09:07:55 -04:00
Omar Shrit
3657f4268b
Merge pull request #3764 from MarkFischinger/opt/elkan-kmeans
...
Optimize Elkan K-means with OpenMP
2024-09-16 13:10:50 +02:00
Ryan Curtin
291152223b
Add a blank line to space things out a little bit.
2024-09-12 18:33:23 -04:00
Ryan Curtin
e15e79157f
Merge remote-tracking branch 'origin/master' into kdtree-doc
2024-09-11 14:18:29 -04:00
Ryan Curtin
9a43b7b500
Minor differences and changes for documentation.
2024-09-11 14:18:01 -04:00
Ryan Curtin
fe48c49c93
Fix style issues.
2024-09-10 16:16:09 -04:00
Ryan Curtin
13c0cda3f6
Merge remote-tracking branch 'origin/master' into opt/elkan-kmeans
2024-09-10 15:52:40 -04:00
Ryan Curtin
c920b167bd
Merge remote-tracking branch 'origin/master' into radical-doc
2024-09-10 15:51:11 -04:00
Ryan Curtin
8467affcc3
Merge remote-tracking branch 'origin/master' into style-fixes
2024-09-10 08:28:09 -04:00
Ryan Curtin
6a2e9cb33d
Change DoRadical2D to Apply2D.
2024-09-09 14:05:52 -04:00
Ryan Curtin
bb5864b027
Merge remote-tracking branch 'origin/master' into radical-doc
2024-09-09 14:05:02 -04:00
Ryan Curtin
76547591c2
Merge pull request #3783 from rcurtin/distribution-doc
...
Document remaining distributions and templatize
2024-09-09 13:55:33 -04:00
Ryan Curtin
4e14b78229
Move comment to more accurate place.
2024-09-09 13:53:01 -04:00
Ryan Curtin
ade86a033f
Merge branch 'core-into-multiple-pages' into kdtree-doc
2024-09-07 16:01:52 -04:00
Ryan Curtin
9cabcc33ce
Fix remaining style issues.
2024-09-06 13:11:07 -04:00
Ryan Curtin
db0a8543fe
Fix compilation error.
2024-09-06 10:13:57 -04:00
Ryan Curtin
e6215b1fc0
Revert style change that breaks builds.
2024-09-06 10:04:17 -04:00
Ryan Curtin
b1e9093a4e
Try to fix all the style issues from cpplint.
2024-09-06 09:49:45 -04:00