[SciPy-user] KDE question

Stefan van der Walt stefan@sun.ac...
Thu Nov 15 07:05:15 CST 2007


On Thu, Nov 15, 2007 at 11:46:53AM +0200, Stefan van der Walt wrote:
> > > Sounds like the kind of problem that can be solved using marching
> > > squares:
> > > 
> > > http://www.polytech.unice.fr/~lingrand/MarchingCubes/algo.html
> > 
> > This solves the already-matplotlib-solved problem of drawing the contours given
> > a level. That still leaves finding the correct level. Or am I underestimating
> > the potential to reformulate marching squares to solve the
> > integration problem, too?
> 
> No, I don't think you are.  As for the line-search, since the
> different components of the mixture are available, can't we evaluate
> the integral (over each component) directly, rather than working with
> a grid?

No, since the relevant area depends on the *sum* of components, not
the value of the component itself.

Cheers
Stéfan


More information about the SciPy-user mailing list