How can I convert numpy array y_red to neg and pos

y_pred is a numpy array like [0,0,0,1,1]. How do I convert it into neg and pos