Suppose I have points of two classes, distributed in 1D:
What is the simplest way to calculate a threshold to distinguish them?
May be just calculate two means for two classes and put threshold between them in the middle? Can I just calculate threshold in one run summing?
What is the name of this task?