Closed rafi-kamal closed 5 years ago
Now I've replaced vectors and vectors of vectors with their corresponding references wherever possible. In my machine now it takes less time and 30-40% less memory during a classify.shared
command's run (I suggest more testing and profiling to be sure).
bootstrappedTrainingSamples
is now passed by reference in the constructor ofRFTreeNode
.As
RFTreeNode::bootstrappedFeatureVectors
andRFTreeNode::bootstrappedTrainingSamples
are just the transpose of each other, I think one can be eliminated altogether, it will save a lot of memory.