-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix volume regularization in DET #231
Comments
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! 👍 |
I have an idea, but I am not sure if it is the most efficient approach. The logic is given below: template<typename MatType, typename TagType>
double DTree<MatType, TagType>::Grow(MatType& data,
arma::Col<size_t>& oldFromNew,
const bool useVolReg,
const size_t maxLeafSize,
const size_t minLeafSize,
std::List<typename MatType::elem_type>& logVolumes){...} Here, the linked list subtreeLeaves = 1;
subtreeLeavesLogNegError = logNegError;
logVolumes.push_front(logVolume); With |
Reported by rcurtin on 16 May 42589854 11:37 UTC
When switching to using log-space, I did not take the time to figure out how to have the volume regularized calculation of alpha work in logspace. Currently the code looks like:
In normal space, the expression in the denominator is the sum of all the inverse volumes of the leaves, with the inverse volume of the node subtracted from it. How to do this in logspace is slightly less clear; we want to avoid non-logspace representation of volumes.
Migrated-From: http://trac.research.cc.gatech.edu/fastlab/ticket/238
The text was updated successfully, but these errors were encountered: