verne.freenode.net changed the topic of #mlpack to: http://www.mlpack.org/ -- We don't respond instantly... but we will respond. Give it a few minutes. Or hours. -- Channel logs: http://www.mlpack.org/irc/
witness has quit [Quit: Connection closed for inactivity]
govg has joined #mlpack
< luffy1996>
@Zoq , I had one question. This will also give me more idea how to proceed for my previous PR on policy gradient methods.
< zoq>
luffy1996: Will, look at it once I get a chance.
rajiv_ has joined #mlpack
rajiv_ has quit [Client Quit]
ImQ009 has joined #mlpack
robertohueso has joined #mlpack
< robertohueso>
When I try to bound the error of an algorithm that uses a tree, I do it using MaxDistance and MinDisntance methods but when call Center methods, that point's distance exceeds the error, does this make sense?
< rcurtin>
robertohueso: can you explain what you mean a little further?
< robertohueso>
In my particular case MaxDistnace = MinDistance (I guess this means the node has just 1 point) but Center is different from that point
< robertohueso>
rcurtin: I'm particularly working on your answer to my PR #1301
< rcurtin>
right, I know the context for KDE
< rcurtin>
what is the tree type?
< robertohueso>
kd-tree
< rcurtin>
hmm, now that is interesting and unexpected, but I guess it is possible
< rcurtin>
if a kd-tree node has only one point, then the size of the bound should be only that single point
< rcurtin>
what is FurthestDescendantDistance() for that node? it should be 0.0
< rcurtin>
also, is it possible that MaxDistance == MinDistance and both those are some invalid distance like NaN or inf? (I guess in that case the == operator would not be true)
< rcurtin>
or are they both 0?
< robertohueso>
FurthestDescendantDistance = 0.0
< robertohueso>
MaxDistance = MinDistance = 3.100000000000000088817841970012523233891 so it seems to be valid
< robertohueso>
Maybe I'm dumb but I can get the point on that node by using querySet.col(queryNode.Descendant(0)) where querySet is an arma::mat that holds query points right?
< rcurtin>
yeah, that should work just fine
< rcurtin>
but to me it is strange that Center() would return something different
< rcurtin>
you could also check and see if the HRectBound has width 0 in each dimension
< rcurtin>
I guess it must not, since Center() is returning something else
< robertohueso>
HRectBound seems to have width 0
< rcurtin>
that's strange, can you check to see if the point Descendant(0) even falls within the HRectBound?
< rcurtin>
I think you can use .Contains() for this
< robertohueso>
I just checked, it's NOT contained
< rcurtin>
now that is strange, I think there may be some bug here
< rcurtin>
this is surprising to me, because the trees are pretty rigorously tested
< robertohueso>
I'm going to check again my code, it seems more likely that I made some mistake
< rcurtin>
sounds good, but remember it is always possible there is a bug in the tree code too, so don't discount that possibility in your searching :)
csoni has joined #mlpack
csoni has quit [Read error: Connection reset by peer]
govg has quit [Quit: Lost terminal]
vivekp has quit [Read error: Connection reset by peer]
vivekp has joined #mlpack
vpal has joined #mlpack
vivekp has quit [Ping timeout: 260 seconds]
vpal is now known as vivekp
robertohueso has left #mlpack []
dmatt has joined #mlpack
dmatt has quit [Remote host closed the connection]
lozhnikov_ has joined #mlpack
ImQ009 has quit [Quit: Leaving]
lozhnikov_ is now known as lozhnikov
dk97[m] has joined #mlpack
luffy1996 has quit [Quit: Connection closed for inactivity]