Question: Q5) Consider the tables below which show a training data set and a validation data set for a two class classification problem. The estimated class

Q5) Consider the tables below which show a training data set and a validation data set for a two class classification problem. The estimated class label for each sample in the training set is found as a result of three-fold cross validation. Calculate the: Accuracy for the 3rd fold (i.e. when the first 2 folds are used for training and the 3rd fold is used for testing) F-score using three-fold cross validation. Precision, Recall and F-score using the training set given above. Training set: Validation set: Count PREDICTED CLASS Training True Class Sample Label Estimated Class Label Class=Yes Class=NO Training Sample True Class Label Estimated Class Label Class=Yes a b 1 2 3 ACTUAL CLASS Class=NO 1 2 3 4 5 6 7 8 9 C + 4 5 a Precision (p) = a+ 10 11 12 a+d Accuracy= a+b+c+d a Recall (r) = a + b 2rp F-measure (F) = r+ P 2a 2a + b + c
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
