Join the discussion
Question 48/51
Regularization is a very important technique in machine learning to prevent over fitting. And Optimizing with a L1 regularization term is harder than with an L2 regularization term because
Correct Answer: A
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.
Much of optimization theory has historically focused on convex loss functions because they're much easier to optimize than non-convex functions: a convex function over a bounded domain is guaranteed to have a minimum, and it's easy to find that minimum by following the gradient of the function at each point no matter where you start. For non-convex functions, on the other hand, where you start matters a great deal; if you start in a bad position and follow the gradient, you're likely to end up in a local minimum that is not necessarily equal to the global minimum.
You can think of convex functions as cereal bowls: anywhere you start in the cereal bowl, you're likely to roll down to the bottom. A non-convex function is more like a skate park: lots of ramps, dips, ups and downs. It's a lot harder to find the lowest point in a skate park than it is a cereal bowl.
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.
Much of optimization theory has historically focused on convex loss functions because they're much easier to optimize than non-convex functions: a convex function over a bounded domain is guaranteed to have a minimum, and it's easy to find that minimum by following the gradient of the function at each point no matter where you start. For non-convex functions, on the other hand, where you start matters a great deal; if you start in a bad position and follow the gradient, you're likely to end up in a local minimum that is not necessarily equal to the global minimum.
You can think of convex functions as cereal bowls: anywhere you start in the cereal bowl, you're likely to roll down to the bottom. A non-convex function is more like a skate park: lots of ramps, dips, ups and downs. It's a lot harder to find the lowest point in a skate park than it is a cereal bowl.
Add Comments
- Other Question (51q)
- Q1. Select the sequence of the developing machine learning applications A) Analyze the input d...
- Q2. Which of the following statement true with regards to Linear Regression Model?...
- Q3. Refer to the Exhibit. (Exhibit) In the Exhibit, the table shows the values for the input B...
- Q4. Which is an example of supervised learning?
- Q5. You are working on a problem where you have to predict whether the claim is done valid or ...
- Q6. Question-26. There are 5000 different color balls, out of which 1200 are pink color. What ...
- Q7. Which of the following could be features?
- Q8. A website is opened 3 times by a user. What is the probability of he clicks 2 times the ad...
- Q9. Suppose a man told you he had a nice conversation with someone on the train. Not knowing a...
- Q10. Scenario: Suppose that Bob can decide to go to work by one of three modes of transportatio...
- Q11. You are analyzing data in order to build a classifier model. You discover non-linear data ...
- Q12. Question-3: In machine learning, feature hashing, also known as the hashing trick (by anal...
- Q13. Regularization is a very important technique in machine learning to prevent overfitting. M...
- Q14. (Exhibit) The figure below shows a plot of the data of a data matrix M that is 1000 x 2. W...
- Q15. Which of the following are point estimation methods?...
- Q16. Digit recognition, is an example of.....
- Q17. In which phase of the data analytics lifecycle do Data Scientists spend the most time in a...
- Q18. Select the choice where Regression algorithms are not best fit...
- Q19. You are creating a model for the recommending the book at Amazon.com, so which of the foll...
- Q20. The method based on principal component analysis (PCA) evaluates the features according to...
- Q21. Reducing the data from many features to a small number so that we can properly visualize i...
- Q22. What describes a true property of Logistic Regression method?...
- Q23. Logistic regression is a model used for prediction of the probability of occurrence of an ...
- Q24. A data scientist wants to predict the probability of death from heart disease based on thr...
- Q25. What are the advantages of the Hashing Features?...
- Q26. A problem statement is given as below Hospital records show that of patients suffering fro...
- Q27. Suppose that we are interested in the factors that influence whether a political candidate...
- Q28. You are creating a regression model with the input income, education and current debt of a...
- Q29. Marie is getting married tomorrow, at an outdoor ceremony in the desert. In recent years, ...
- Q30. A data scientist is asked to implement an article recommendation feature for an on-line ma...
- Q31. You are working in a classification model for a book, written by HadoopExam Learning Resou...
- Q32. Which of the following true with regards to the K-Means clustering algorithm?...
- Q33. Support vector machines (SVMs) are a set of supervised learning methods used for...
- Q34. Which of the following problem you can solve using binomial distribution...
- Q35. Suppose you have been given a relatively high-dimension set of independent variables and y...
- Q36. Consider the following confusion matrix for a data set with 600 out of 11,100 instances po...
- Q37. You are working in a data analytics company as a data scientist, you have been given a set...
- Q38. Which of the following is a correct example of the target variable in regression (supervis...
- Q39. Select the statement which applies correctly to the Naive Bayes...
- Q40. A fruit may be considered to be an apple if it is red, round, and about 3" in diameter. A ...
- Q41. RMSE is a good measure of accuracy, but only to compare forecasting errors of different mo...
- Q42. What is the best way to evaluate the quality of the model found by an unsupervised algorit...
- Q43. You are building a classifier off of a very high-dimensiona data set similar to shown in t...
- Q44. In which of the scenario you can use the linear regression model?...
- Q45. Which of the following metrics are useful in measuring the accuracy and quality of a recom...
- Q46. Spam filtering of the emails is an example of
- Q47. RMSE measures error of a predicted
- Q48. Regularization is a very important technique in machine learning to prevent over fitting. ...
- Q49. A denote the event 'student is female' and let B denote the event 'student is French'. In ...
- Q50. Find out the classifier which assumes independence among all its features?...
- Q51. Suppose that the probability that a pedestrian will be tul by a car while crossing the toa...
[×]
Download PDF File
Enter your email address to download Databricks.Databricks-Certified-Professional-Data-Scientist.v2022-04-10.q51.pdf
