Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an N-dimensional distribution that resembles the Dirac Delta Function (there is a single narrow peak in an otherwise uniform distribution). My sampling cost is very high, so I want to minimize the number of samples required to locate the peak.

A grid search would be sufficiently thorough, but it might take a very large number of samples to locate the peak.

Joe

What I have tried:

I have tried binomial search, but this doesn't work on this distribution unless I just happen to sample very close to the peak.
Posted
Updated 27-Jan-20 11:48am
Comments
phil.o 27-Jan-20 6:39am    
What is the question?

I see no way other than random sampling. There is no smart way to locate a point on a straigh tline.
 
Share this answer
 
What I think I'm going to try a sampling method similar to that used in finite element analysis.

FEA uses a grid sampling method and starts by zeroing out everything but the diagonal. With each iteration, the diagonal is widened by one row. I think that this is going to minimize the number of samples required to locate the peak, which should be true as long as the peak is not an extreme outlier.

Joe
 
Share this answer
 
This is not a programming problem, it is about a mathematical algorithm.
Quote:
I have an N-dimensional distribution that resembles the Dirac Delta Function (there is a single narrow peak in an otherwise uniform distribution). My sampling cost is very high, so I want to minimize the number of samples required to locate the peak.

There is no magic, if you get useful information only close to the narrow peak, only systematic sampling will get the solution.
The only hope is to find an algorithm that will cover the field of possible solutions with minimum sampling.
My algorithm would probably look like:
I think I would consider the field as a grid of 1 square and sample each corner.
If nothing found, split each square in 4 and repeat until a useful sampling is found.
When on a useful sampling repeat the algorithm locally.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900