1 min readMar 31, 2019
I am sorry but you can get the correct code from the github page.
labels = cancer.target
would do, instead of
labels=[‘Malignant’,’Benign’]
.
Also I think the plot would be better for representational purpose if you don’t comment out the
s=40, label=labl[l], marker=marker[l], alpha=alpha[l]
part.
Cheers !