## Finding Decision Boundary from empirical distribution

### Remember to vote up questions/answers you find interesting or helpful (requires 15 reputation points)

Based on measuring a certain characteristic, we want to classify measurements as coming from either of two populations. The true population distributions are unknown (and we don't want to take any strong assumptions on this), but we have a number of measurements from each population providing us with two empirical distributions. Thus, we are looking for a method to determine a good (i.e., approximating the optimal) decision boundary based on the empirical distributions. Do any of you happen to know a general and accurate way to determine optimal decision boundaries given two arbitrary empirical distributions ?

-

## 1 Answer

There's always going to be a prior. Even a method that doesn't explicitly use one will be hiding one. The fact of the matter is, you expect your distributions to be simple in some respect, somewhat smooth, maybe belonging to a parametric family, etc. The more data you have, the less this assumption will matter, but it always will. You also need a prior on whether you think observations tend to come from $A$ or from $B$.

What you will prefer hearing:

Pick a gaussian kernel with variance $s$ and compare

$$f_a(x) = \sum_{\mathbf{x_i} \in A} g(\mathbf{x}-\mathbf{x_i})$$ $$f_b(x) = \sum_{\mathbf{x_i} \in B} g(\mathbf{x}-\mathbf{x_i})$$

if $f_a < f_b$, assign to bin $A$, otherwise assign to bin $B$

(note, this assumes that the cardinal of $A$ and $B$ are indicative of the prior probability of an element to be drawn from either)

Adjust $s$ according to the variance of your empirical distributions.

-
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 9, "mathjax_display_tex": 2, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.913538932800293, "perplexity_flag": "head"}