What's new in Torch 3.1
Dec 12, 2011
- core:
- Bagging.cc:
- Initialize "is_selected_examples" to NULL.
- ClassFormatDataSet.cc:
- Convert all the frames of targets, and not only the
- first one.
- ClassMeasurer.cc
- Scan all the frames of inputs to compute classification
- error, and not only the first one.
- The confusion matrix computation option at the end of
- the training as been removed. The confusion matrix is still
- available at each iteration.
- CmdOption.cc:
- When calling loadXFile(), a string not always allocated
- was freed.
- DiskDataSet.cc:
- The number of examples was computed using io_inputs, even
- if it was NULL.
- KFold.cc:
- The size of the folds is more balanced for small folds.
- MemoryDataSet.cc:
- The number of examples was computed using io_inputs, even
- if it was NULL.
- MemoryXFile.cc:
- The EOF flag was not updated when reaching the end of file
- while reading with the scanf method.
- MultiClassFormat.cc:
- Serious bug when auto-detecting classes corrected.
- Random.cc:
- Using now memmove instead of memcopy (possibility of
- overlapping source and destination).
- matrix:
- Mat.cc and Mat.h
- Initializing a matrix from a "real *" now possible.
- gradients:
- SumMachine.cc
- The gradient is now well back-propagated.
- kernels:
- QCTrainer.cc
- Bug when updating alpha corrected. Note: very rare
- case in practice. Thanks to Stephen Schiller for the
- report of this tricky bug.