Given the four binary vectors that represent the "classes":
[1,0,0,0,0,0,0,0,0,0] [0,0,0,0,0,0,0,0,0,1] [0,1,1,1,1,1,1,1,1,0] [0,1,0,0,0,0,0,0,0,0]
What methods are available for classifying a vector of floating point values ββin one of these "classes"?
The main rounding works in most cases:
round([0.8,0,0,0,0.3,0,0.1,0,0,0]) = [1 0 0 0 0 0 0 0 0 0]
But how can I handle some interference?
round([0.8,0,0,0,0.6,0,0.1,0,0,0]) != [1 0 0 0 0 1 0 0 0 0]
This second case should be the best match for 1,000,000,000, but instead I completely lost the solution as there is no clear match.
I want to use MATLAB for this task.