-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from pakozm/devel
Devel, new version incomming, v0.4.0
- Loading branch information
Showing
231 changed files
with
8,765 additions
and
7,260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
38869fb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request suposes big important changes, becoming definitively the new version of APRIL-ANN. Take into account that changes in the order of computations has introduced minor differences in optimizers of ANNs. In CNNs this difference is more important.
The most important changes are:
AuxToken
when using macrosLUABIND_GET_*
orLUABIND_RETURN
.LuaTable
class has been added to allow a direct communication between C++ and Lua without replicating in C++ the data stored in Lua. It is useful for options tables, or to get dictionaries as weight matrix dictionaries of ANNs in trainable package.Unstable changes
matrix.op.repmat
function.matrix.ext.iterate
iterator.stats.dist
.matrix.ext.convolution
andmatrix.ext.real_fftwh
.Matrix<T>::convolution
method. It is in experimental stage, please,be advice to use them by your own risk.
Image
, several classes in packageimaging
hasbeen reviewed, consistent tests are necessary to merge with master branch.
API Changes
matrix
.tokens.matrix
automatically wrapsmatrix
instances, from Lua to C++.matrix
automatically unwrapstokens.matrix
instances, from C++ to Lua.AprilMath::Limits
class.metrics.roc
for ROC computation.class
behavior taken fromLua OOP-iter, in order to introduce
more modularity in APRIL-ANN.
april_doc
andapril_set_doc
API, works with values instead of strings.table.values
,table.ivalues
,table.keys
andtable.ikeys
iterators.
matrix.dict
could store sparse and dense float matrices.matrix.cholesky(...)
method.Bugs removed
matrix:max()
andmatrix:min()
methods.SelectANNComponent::doBackprop()
method.CopyANNComponent::doBackprop()
method, incorrect behavior formulti-dimensional matrices.
ZCAWhiteningANNComponent::doBackprop()
method was wrong.stats.boot()
function, it wasn't correctly updated to newclass
functions.trainable.supervised_trainer
, problem with smooth_gradientsflag.
train_holdout:execute()
method, the pocketalgorithm wasn't work with negative loss functions.
class.is_a()
.constString
extract numeric methods which returnsfalse
whenthe extraction procedure ends up to the character after the last valid number.
Matrix<T>::div
andSparseMatrix<T>::div
methods.C/C++
LuaTable
class to allow access of Lua tables from C++ code.objects in APRIL-ANN.
basics
namespace which stores almost all C/C++ code inbasics
packages.
StreamInterface
objects.StreamInterface
for input/output operations, with specializationsfor C files, C strings, Lua strings, GZIP files, ZIP files. Other
specializations are easier to implement in the future.
debug.
Image
class code has been reviewed to be more coherent with currentMatrix
class implementation.