jdobrott
Results
1
comments of
jdobrott
I was able to get the code segment to work properly by changing [:] to 'diabetes'. rint("Training True : {0} ({1:0.2f}%)".format(len(y_train[y_train['diabetes'] == 1]), (len(y_train[y_train['diabetes'] == 1])/len(df.index) * 100.0))) etc...