ukoethe/vigra — pull request #90 by cbecker (2011-10-24 09:57:20+00:00)
Title: Fix in RF matlab interface

I have noticed that there is a hardcoded value that seems to be incorrectly computed. Because of this, the RF model saved to matlab is incorrect and has a missing value. This commit fixes this, which is a bug that would also apply to any other code calling the serialize() function of the RF options.

I have also changed the MATLAB structure type of the RF options to double, since class labels as well as class weights are typically double, plus the fact that serialze() is using std::copy, so the same type (double) is needed for this to be meaningful.

Maybe this means that the RF matlab interface + options serialization needs to be double-checked.