APPLICATION OF SUPERVISED LEARNING
MACHINE LEARNINGHARD QUESTIONS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
print the accuracy
|
|
finding the accuracy
|
|
accuracy score
|
|
none of this
|
Detailed explanation-1: -To define the term, in Machine Learning, the Accuracy score (or just Accuracy) is a Classification metric featuring a fraction of the predictions that a model got right. The metric is prevalent as it is easy to calculate and interpret. Also, it measures the model’s performance with a single value.
Detailed explanation-2: -Accuracy = ( matrix[0][0] + matrix[-1][-1] ) / numpy. sum(matrix) is used to get the classification model’s accuracy score.
Detailed explanation-3: -Accuracy is used when the True Positives and True negatives are more important while F1-score is used when the False Negatives and False Positives are crucial. Accuracy can be used when the class distribution is similar while F1-score is a better metric when there are imbalanced classes as in the above case.