add accuracy check for different machine learnings