keedi / rf-ace

Automatically exported from code.google.com/p/rf-ace
0 stars 0 forks source link

assert()ion hit during training #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
While training a QRF model, rf-ace dies with this assertion:

rf-ace: src/node.cpp:483: bool Node::regularSplitterSeek(TreeData*, size_t, 
const ForestOptions*, distributions::Random*, const std::vector<long unsigned 
int, std::allocator<long unsigned int> >&, size_t&, std::vector<Node, 
std::allocator<Node> >&, Node::SplitCac
he&): Assertion `splitCache.newSplitFeatureIdx != targetIdx' failed.

This happens with version rf-ace 1.2.5. The previous version (1.1.0) worked 
fine with the same configuration and the same training set.

This is on Debian Lenny / amd64, using the command-line tool.

Original issue reported on code.google.com by fr...@opendns.com on 30 Mar 2013 at 6:38

GoogleCodeExporter commented 8 years ago
I have solved this issue! You have to change somethings in the DenseTree files.

Original comment by tun...@wru.vn on 26 Sep 2013 at 3:11

GoogleCodeExporter commented 8 years ago
Great!

Mind to post a diff?

Original comment by chrysa...@gmail.com on 26 Sep 2013 at 5:35