Thank you so much, I reconstruct the code as you recommended. now I have this issue. any suggestions.
ValueError: y contains previously unseen labels: [0.5        0.50008935]
Screen Shot 2020-11-19 at 3.31.35 PM2432×1536 547 KB
need to have the return as the label indices like this