Not sure if I did something wrong but it seems like the code should instead be
Scholar.Metrics.Classification.accuracy(test_targets, test_preds)
Not sure if I did something wrong but it seems like the code should instead be
Scholar.Metrics.Classification.accuracy(test_targets, test_preds)
Thanks! It was recently moved. Fixed in the book