July 2018
Intermediate to advanced
474 pages
13h 37m
English
We can simply calculate the accuracy score, accuracy_rate, by executing the following script:
score = model.evaluate(xtest_array, ytest_OHE, batch_size=128)accuracy_rate = score[1]*100print('accuracy is {}%'.format(round(accuracy_rate,2)))
Read now
Unlock full access