Question : Regularization is a very important technique in machine learning to prevent overfitting. Mathematically speaking, it adds a regularization term in order to prevent the coefficients to fit so perfectly to overfit. The difference between the L1 and L2 is_________ 1. L2 is the sum of the square of the weights, while L1 is just the sum of the weights 2. L1 is the sum of the square of the weights, while L2 is just the sum of the weights 3. L1 gives Non-sparse output while L2 gives sparse outputs 4. None of the above
Correct Answer : 1
Explanation:Regularization is a very important technique in machine learning to prevent overfitting. Mathematically speaking, it adds a regularization term in order to prevent the coefficients to fit so perfectly to overfit. The difference between the L1 and L2 is just that L2 is the sum of the square of the weights, while L1 is just the sum of the weights
Question :
1. 2. 3. 4.
Correct Answer : 1
Explanation: we can use Maximum A Posteriori (MAP) estimation to estimate P(y) and P(xi | y) ; the former is then the relative frequency of class y in the training set. The different naive Bayes classifiers differ mainly by the assumptions they make regarding the distribution of P(xi | y) .
Question : Select the correct option which applies to L regularization
1. Computational efficient due to having analytical solutions 2. Non-sparse outputs 3. No feature selection 4. All of the above
Correct Answer : 4
Explanation: The difference between their properties can be promptly summarized as follows:
L2 Regularization 1. Computational efficient due to having analytical solutions 2. Non-Sparse outputs 3. No feature selection
Related Questions
Question : In which of the following scenario we can use naive Bayes theorem for classification 1. Classify whether a given person is a male or a female based on the measured features. The features include height, weight, and foot size. 2. To classify whether an email is spam or not spam 3. To identify whether a fruit is an orange or not based on features like diameter, color and shape 4. All 1,2 and 3 5. None of the above