Cody

Problem 2181. Hard limit function

Created by Ahmad Alzahrani in Community

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]

Solution Stats

69.9% Correct | 30.1% Incorrect
Last solution submitted on Jun 04, 2019

Problem Comments

Recent Solvers118

Suggested Problems

More from this Author1