mlpack 4.7.0
Released Jan. 31st, 2026.
-
Allow batching when training RNN with ragged lengths (#4042).
-
Fixed generated artifiacts in resized float images by using clamping (#4030).
-
Optimize convolution (#3988).
-
Added
GELUExactANN activation layer (#3994). -
Adapt
GRUANN layer to the new interface (#3955). -
Fix warning on CRAN for bundled STB (#3950).
-
Fix potential MSVC constructor shadowing (#3958).
-
Use a looser check for auto-detection of categorical file types (#3961).
-
Accelerate
CELUlayer (#3975). -
Fix dependency detection bugs in
mlpack.cmake(#3981). -
Add a
SumReducelayer (#3991). -
Update header used by R packages compiling directly against C++ API (#3990).
-
Add
FFN::Add()andRNN::Add()with copy and move semantics; use these instead of passing layers toAdd()as pointers (#3974). -
Mark long-running tests with the
[long]tag (#3983). -
Added
DAGNetworkclass to represent complex neural network structures (#3944). -
Fix mask handling in
MultiHeadAttentionlayer (#3998) -
Added
data::GroupChannels()anddata::InterleaveChannels()for preprocessing images before usingConvolutionlayers. (#4006) -
Fix infinite recursion in
Octreewhen the number of identical points exceedsmaxLeafSize(#4020). -
Add
Embeddinglayer (#3999). -
Add YOLOv3Tiny for object detection (#4023).
-
Fix thread-specific random seed initialization (#4027).
-
R bindings now return class attributes as vector with the given model, mlpack model bindings and list as fallback (#4045).
-
Added
BoundingBoxImage()for drawing bounding boxes onto images when doing tasks such as object detection (#4039).