print accuracy when predict