I am trying to learn more about classification using support vector machines. Accordingly, I have been following the MATLAB examples.
Now, with my own data, I have two groups, and one predictor variable (let's call it heart rate). My goal is to find the optimval value for heart rate that best distinguishes the two groups. I want to come up with a single value for heart rate for which I can say if they are above, they likely belong to group A, and if below, they likely belong to group B.
I have followed the fitcsvm and perfcurve examples, but am still confused as to how to come up with such an optimal value.
Any guidance with this would be greatly appreciated.