What do you understand by l1 and l2 regularization methods?



What do you understand by l1 and l2 regularization methods?..

Answer / Kanchan Kumar

L1 and L2 regularization are techniques used to prevent overfitting in machine learning models. L1 regularization (also known as Lasso regression) adds a penalty term to the loss function that encourages sparse solutions, where many coefficients become zero, effectively removing redundant features from the model. L2 regularization (also known as Ridge regression) adds a quadratic penalty term to the loss function, which discourages large values in the coefficients, helping to improve the generalization performance of the model.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Science Interview Questions

Differentiate between skewed and uniform distribution?

1 Answers  


What are apis used for?

1 Answers  


Treating a categorical variable as a continuous variable would result in a better predictive model?

1 Answers  


How will you impute missing information in a dataset?

1 Answers   Airbnb,


Explain eigenvalue and eigenvector

1 Answers  


What is the procedure to check the cumulative frequency distribution of any categorical variable?

1 Answers  


How will you deal with unbalanced data where the ratio of negative and positive is huge?

1 Answers   Amazon,


You have a bag with 6 marbles. One marble is white. You reach the bag 100 times. After taking out a marble, it is placed back in the bag. What is the probability of drawing a white marble at least once?

1 Answers   Microsoft,


What is data science? Also, list the differences between supervised and unsupervised learning.

1 Answers  


What is jupyter ?

1 Answers  


What functions are required to principal analysis in R?

1 Answers  


Explain the difference between overfitting and underfitting?

1 Answers  


Categories
  • AI Algorithms Interview Questions AI Algorithms (74)
  • AI Natural Language Processing Interview Questions AI Natural Language Processing (96)
  • AI Knowledge Representation Reasoning Interview Questions AI Knowledge Representation Reasoning (12)
  • AI Robotics Interview Questions AI Robotics (183)
  • AI Computer Vision Interview Questions AI Computer Vision (13)
  • AI Neural Networks Interview Questions AI Neural Networks (66)
  • AI Fuzzy Logic Interview Questions AI Fuzzy Logic (31)
  • AI Games Interview Questions AI Games (8)
  • AI Languages Interview Questions AI Languages (141)
  • AI Tools Interview Questions AI Tools (11)
  • AI Machine Learning Interview Questions AI Machine Learning (659)
  • Data Science Interview Questions Data Science (671)
  • Data Mining Interview Questions Data Mining (120)
  • AI Deep Learning Interview Questions AI Deep Learning (111)
  • Generative AI Interview Questions Generative AI (153)
  • AI Frameworks Libraries Interview Questions AI Frameworks Libraries (197)
  • AI Ethics Safety Interview Questions AI Ethics Safety (100)
  • AI Applications Interview Questions AI Applications (427)
  • AI General Interview Questions AI General (197)
  • AI AllOther Interview Questions AI AllOther (6)