Need help defining a ML discrimination function for specific application in Python
Budget: $30 – $250 USD
I need to classify some high-dimensional data between two categories (labels), but in what may be a slightly unusual way: the errors can be asymmetrical, meaning that the discrimination function should correctly identify 100% of sample data for category 1, while trying to maximize the number of category 2 samples that definitely fall OUTSIDE of category 1. In other words, I'm trying to classify new data points into two sets: those that are definitely NOT category 1, vs. those that may be either category 1 or 2.
The goal here is to find an SVM, Convex Hull, or other classification technique that will maximize the size of the EXCLUDED set.
Stated another way, I need a function that minimally circumscribes all data from one sample set, so that the largest remainder (points belonging to the second sample set) fall outside the circumscribed area.
As a one dimensional example, imagine two data sets (A and B) with a single variable in the range 0 to 10: A = [0,1,3,5,7] and B= [1,3,5,7,8,9]. The discrimination function would be x > 7.5 where x is a new data point, since B contains two points (8, 9) that lie outside the range of A, while A contains only one data point (0) that lies outside the range of B. The value 7.5 lies midway between the highest value of A (7) and the lowest excluded value of B (8). Of course, with high dimensionality (hundreds of dimensions), and tens of thousands of points in the training set, this may be computationally complex.
I'm working in Python in a Jupyterlab notebook, and can provide sample data on request. I expect that the solution will use some of the libraries available in sklearn or other places.
Sample Python code that efficiently implements the requirements.
The goal here is to find an SVM, Convex Hull, or other classification technique that will maximize the size of the EXCLUDED set.
Stated another way, I need a function that minimally circumscribes all data from one sample set, so that the largest remainder (points belonging to the second sample set) fall outside the circumscribed area.
As a one dimensional example, imagine two data sets (A and B) with a single variable in the range 0 to 10: A = [0,1,3,5,7] and B= [1,3,5,7,8,9]. The discrimination function would be x > 7.5 where x is a new data point, since B contains two points (8, 9) that lie outside the range of A, while A contains only one data point (0) that lies outside the range of B. The value 7.5 lies midway between the highest value of A (7) and the lowest excluded value of B (8). Of course, with high dimensionality (hundreds of dimensions), and tens of thousands of points in the training set, this may be computationally complex.
I'm working in Python in a Jupyterlab notebook, and can provide sample data on request. I expect that the solution will use some of the libraries available in sklearn or other places.
Sample Python code that efficiently implements the requirements.