Microsoft_DAT210x icon indicating copy to clipboard operation
Microsoft_DAT210x copied to clipboard

0.871428571429 is correct accuracy for Module 5 Lab 5

Open dzk9528 opened this issue 7 years ago • 0 comments

Actually I am currently taking this lesson and I believe maybe how you deal with y is different with what the assignment required. Mine is simple but seems 'stupid'.

n=len(y.index) y1=np.zeros((n,1)) for i,ordinal in enumerate(y.unique()): y1[y==ordinal,0]=i y=y1

dzk9528 avatar Jan 25 '18 21:01 dzk9528