printing test and train accuracy