The metrics used for evaluating machine learning systems are based on the task and the domain.
Classification
For a set of examples , for each , predict a category from the set . An example of classification is the object recognition, where given an image, you try to predict the object. If , the task is called binary classification task, otherwise a multi-class classification task.
Accuracy
Ratio of how many predictions the ML system got right. For binary classification, the accuracy can be defined as: