Skip to content

Commit 38869fb

Browse files
committed
Merge pull request #112 from pakozm/devel
Devel, new version incomming, v0.4.0
2 parents a29b92d + 3009d37 commit 38869fb

File tree

231 files changed

+8765
-7260
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

231 files changed

+8765
-7260
lines changed

CHANGELIST.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ v0.4.0
1919

2020
### Unstable changes
2121

22+
- Added `matrix.op.repmat` function.
23+
- Added `matrix.ext.iterate` iterator.
2224
- Added statistical distributions in `stats.dist`.
2325
- Added `matrix.ext.convolution` and `matrix.ext.real_fftwh`.
2426
- Added `Matrix<T>::convolution` method. It is in experimental stage, please,
@@ -28,6 +30,9 @@ v0.4.0
2830

2931
### API Changes
3032

33+
- Removed major order differentiation in `matrix`.
34+
- `tokens.matrix` **automatically** wraps `matrix` instances, from Lua to C++.
35+
- `matrix` **automatically** unwraps `tokens.matrix` instances, from C++ to Lua.
3136
- Added new methods to `AprilMath::Limits` class.
3237
- Added `metrics.roc` for ROC computation.
3338
- Added new `class` behavior taken from
@@ -62,6 +67,7 @@ v0.4.0
6267

6368
### C/C++
6469

70+
- Added `LuaTable` class to allow access of Lua tables from C++ code.
6571
- Added TAR support in C/C++, allowing to use streams as the standard I/O
6672
objects in APRIL-ANN.
6773
- Added `basics` namespace which stores almost all C/C++ code in `basics`

EXAMPLES/xor.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ trainer:randomize_weights{
1111
sup = 0.1 }
1212

1313
trainer:set_option("learning_rate", 8.0)
14-
trainer:set_option("momentum", 0.5)
15-
trainer:set_option("weight_decay", 1e-05)
16-
trainer:set_layerwise_option("b.*", "weight_decay", 0.0)
14+
trainer:set_option("momentum", 0.8)
1715

1816
local m_xor = matrix.fromString[[
1917
4 3

0 commit comments

Comments
 (0)