MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

MACHINE LEARNING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is an example of overfitting?
A
Low accuracy in unseen data in job applications
B
Very long and inefficient lines of code
C
Error in compiling code
D
All of the above
Explanation: 

Detailed explanation-1: -If our model does much better on the training set than on the test set, then we’re likely overfitting. For example, it would be a big red flag if our model saw 99% accuracy on the training set but only 55% accuracy on the test set.

Detailed explanation-2: -Overfitting is a term used in statistics that refers to a modeling error that occurs when a function corresponds too closely to a particular set of data. As a result, overfitting may fail to fit additional data, and this may affect the accuracy of predicting future observations.

Detailed explanation-3: -Overfitting is not when your train accuracy is really high (or even 100%). It is when your train accuracy is high and your test accuracy is low. it is not abnormal that your train accuracy is higher than your test accuracy.

Detailed explanation-4: -Underfitting means that your model makes accurate, but initially incorrect predictions. In this case, train error is large and val/test error is large too. Overfitting means that your model makes not accurate predictions. In this case, train error is very small and val/test error is large.

There is 1 question to complete.