Detecting and approximating decision boundaries in low dimensional spaces