Classify x data as
if x>=0 then y=1 if x<0 then y=0
Example
x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]
Additional test cases have been added.
1594 Solvers
406 Solvers
Back to basics 18 - justification
150 Solvers
Matrix indexing with two vectors of indices
408 Solvers
135 Solvers