Regularization in machine learning | L1 and L2 Regularization | Lasso and Ridge Regression

Поділитися
Вставка
  • Опубліковано 24 чер 2021
  • Regularization in machine learning | L1 and L2 Regularization | Lasso and Ridge Regression
    Hello ,
    My name is Aman and I am a Data Scientist.
    About this video:
    In this video, I explain about Regularization in machine learning. I explain why Regularization is needed in machine learning and what are different ways to Regularize models in machine learning. I also explain about lasso and Ridge regression and explain the mathematical intuition behind it.
    Below topics are discussed in this video.
    1. What is Regularization in machine learning
    2. Bias Variance trade off
    3. What is L1 and L2 Regularization
    4. What is Lasso and Ridge Regression
    5. What is use of model regularization
    About Unfold Data science: This channel is to help people understand basics of data science through simple examples in easy way. Anybody without having prior knowledge of computer programming or statistics or machine learning and artificial intelligence can get an understanding of data science at high level through this channel. The videos uploaded will not be very technical in nature and hence it can be easily grasped by viewers from different background as well.
    If you need Data Science training from scratch . Please fill this form (Please Note: Training is chargeable)
    docs.google.com/forms/d/1Acua...
    Book recommendation for Data Science:
    Category 1 - Must Read For Every Data Scientist:
    The Elements of Statistical Learning by Trevor Hastie - amzn.to/37wMo9H
    Python Data Science Handbook - amzn.to/31UCScm
    Business Statistics By Ken Black - amzn.to/2LObAA5
    Hands-On Machine Learning with Scikit Learn, Keras, and TensorFlow by Aurelien Geron - amzn.to/3gV8sO9
    Ctaegory 2 - Overall Data Science:
    The Art of Data Science By Roger D. Peng - amzn.to/2KD75aD
    Predictive Analytics By By Eric Siegel - amzn.to/3nsQftV
    Data Science for Business By Foster Provost - amzn.to/3ajN8QZ
    Category 3 - Statistics and Mathematics:
    Naked Statistics By Charles Wheelan - amzn.to/3gXLdmp
    Practical Statistics for Data Scientist By Peter Bruce - amzn.to/37wL9Y5
    Category 4 - Machine Learning:
    Introduction to machine learning by Andreas C Muller - amzn.to/3oZ3X7T
    The Hundred Page Machine Learning Book by Andriy Burkov - amzn.to/3pdqCxJ
    Category 5 - Programming:
    The Pragmatic Programmer by David Thomas - amzn.to/2WqWXVj
    Clean Code by Robert C. Martin - amzn.to/3oYOdlt
    My Studio Setup:
    My Camera : amzn.to/3mwXI9I
    My Mic : amzn.to/34phfD0
    My Tripod : amzn.to/3r4HeJA
    My Ring Light : amzn.to/3gZz00F
    Join Facebook group :
    groups/41022...
    Follow on medium : / amanrai77
    Follow on quora: www.quora.com/profile/Aman-Ku...
    Follow on twitter : @unfoldds
    Get connected on LinkedIn : / aman-kumar-b4881440
    Follow on Instagram : unfolddatascience
    Watch Introduction to Data Science full playlist here : • Data Science In 15 Min...
    Watch python for data science playlist here:
    • Python Basics For Data...
    Watch statistics and mathematics playlist here :
    • Measures of Central Te...
    Watch End to End Implementation of a simple machine learning model in Python here:
    • How Does Machine Learn...
    Learn Ensemble Model, Bagging and Boosting here:
    • Introduction to Ensemb...
    Build Career in Data Science Playlist:
    • Channel updates - Unfo...
    Artificial Neural Network and Deep Learning Playlist:
    • Intuition behind neura...
    Natural langugae Processing playlist:
    • Natural Language Proce...
    Understanding and building recommendation system:
    • Recommendation System ...
    Access all my codes here:
    drive.google.com/drive/folder...
    Have a different question for me? Ask me here : docs.google.com/forms/d/1ccgl...
    My Music: www.bensound.com/royalty-free...

КОМЕНТАРІ • 85

  • @mrutyunjayaraghuwansi4368
    @mrutyunjayaraghuwansi4368 3 роки тому +11

    After my data science classes I used to watch the concepts through your videos and it helped me a lot in understanding... 😃😃

  • @shanmukhchandrayama8508
    @shanmukhchandrayama8508 2 роки тому +2

    Beautiful explanation sir, I regret of not watching this video before my interview but anyhow I am glad I got to know it now.

  • @kalyanbikramadhikari6049
    @kalyanbikramadhikari6049 6 місяців тому

    loved the way u teach and your voice is amazaing. I wish for the growth of this channel

  • @HimanshuKumar-oi8qh
    @HimanshuKumar-oi8qh 2 роки тому +1

    Thanks ! all doubts cleared ..!
    The word sweet spot can actually impress the interviewer I guess :)

  • @brahmadanna
    @brahmadanna 3 роки тому +6

    Every one can understand ur explanation.....neat and clear 👍

  • @PramodKumar-su8xv
    @PramodKumar-su8xv 2 місяці тому

    good explanation with keeping the audience understanding in me

  • @sudhanshusoni1524
    @sudhanshusoni1524 3 роки тому +2

    Amazing, your teaching skills are really awesome sir! Thanks for this great work

  • @ajitkulkarni1702
    @ajitkulkarni1702 3 місяці тому

    Amazing explaination Sir !!!

  • @spivak4342
    @spivak4342 2 місяці тому

    THANK YOU MR. AMAN SIR

  • @yogeshbhatt3806
    @yogeshbhatt3806 11 місяців тому

    Awsome description

  • @miteshkumarsingh
    @miteshkumarsingh 7 місяців тому

    Very Well explained.

  • @dehumanizer668
    @dehumanizer668 2 роки тому +2

    Excellent teacher. Thank you sir for such a wonderful explanation. :)

  • @sanyamsingh4907
    @sanyamsingh4907 3 роки тому

    Hi aman can I request you to make a video on what's the best approach of dealing with complex data in real world . as we know in real time the data is very unstructured and most of the time data doesn't exist in CSV form. But unfortunately many of the learning available on UA-cam is in perspective of analyzing data which is in CSV form . Can you please enlighten these points in your upcoming videos including the best and practical approach . For example how to work with JSON data in data science project ,, how to work with XML files etc?
    Regards
    Sanyam

  • @mustafizurrahman5699
    @mustafizurrahman5699 6 місяців тому

    Awesome sir

  • @GauravExplorations
    @GauravExplorations 2 роки тому

    one of the good explanations i have seen for this topic, good work

  • @inderjeetsingh5959
    @inderjeetsingh5959 3 роки тому

    Thank you sir .
    You just made tuff topics so easy.🙏

  • @kirandeepmarala5541
    @kirandeepmarala5541 3 роки тому +1

    Really Learned a lot Sir..your teaching skills are amazing..Super..

  • @sujeshlx
    @sujeshlx 11 місяців тому

    Great...

  • @sandipansarkar9211
    @sandipansarkar9211 2 роки тому

    fnished watching

  • @navoditmehta8833
    @navoditmehta8833 3 роки тому +1

    Very nicely explained 💯💯
    Please explain the maths behind feature selection using lasso and not ridge.

  • @Engineer_Boy_01
    @Engineer_Boy_01 23 дні тому

    Thanks vaiya😊

  • @user-gp4xu1sl3z
    @user-gp4xu1sl3z 3 місяці тому

    Hi sir, thanks a lot for such valuable videos and crisp information.
    Can you please tell me why exactly a high coefficient value is a problem in regression models? Also is very low coefficient values also a problem?
    Thanks in advance.

  • @iqbalbawa8875
    @iqbalbawa8875 2 роки тому

    Thank you for the explanation. Would have been useful to see how this would work in practice using an example in Excel using a small dataset or in Stata.

  • @shine_through_darkness
    @shine_through_darkness 3 місяці тому

    feels like getting a lecture from one of my friends at last night before the exam

  • @ArunKumar-pu9ko
    @ArunKumar-pu9ko 3 роки тому

    Which is the best/better regularization technique , and which is used for variable selection

  • @ilikasharma7957
    @ilikasharma7957 Рік тому

    Thank you for informative video, how is accuracy less is in overfitting scenario?

  • @adwaitkotewar4682
    @adwaitkotewar4682 7 місяців тому +2

    Sweet Spot ❌ Technical word - Balanced Fit

  • @kshitizkhandelwal9348
    @kshitizkhandelwal9348 2 роки тому

    Sir since we already have learning rate to arrive at the optimum coefficients then why do we need to use Regularization ? Aren't both of them serving the same purpose?

  • @nishah4058
    @nishah4058 4 місяці тому

    U told that l1 and l2 is only available for regression. But I have seen them for feature selection for textual dataset(although in textual data features are transformed into vector form and have numerical values) . So pls clarify the things that whether they used for feature selection also?

  • @sandipansarkar9211
    @sandipansarkar9211 2 роки тому +1

    finished watching

  • @keemsterbaas7156
    @keemsterbaas7156 2 роки тому

    Excellent explanation. Subscribed!

  • @georgechristy11
    @georgechristy11 2 роки тому

    i wish this channel reached 100K very soon

    • @UnfoldDataScience
      @UnfoldDataScience  2 роки тому

      Thank you so much. If you guys keep liking and sharing, anything is possible. Your feedback is highly appreciated!

  • @christysujatha
    @christysujatha 2 роки тому +1

    Very clear explanation 👍👍👍

  • @adarsh5856
    @adarsh5856 2 роки тому

    Amazing Teaching Sir.. Thank You....

  • @souravbiswas6892
    @souravbiswas6892 3 роки тому +1

    Excellent explanation 👍🏻

  • @subhajitdutta1443
    @subhajitdutta1443 2 роки тому

    Great... Helped a lot..

  • @homosapien7754
    @homosapien7754 3 роки тому +3

    Wouldn't cubing the slope(instead of squaring) in the ridge regression penalty decrease the loss function even more? If yes, why don't we do that?

    • @SoumyaDasgupta
      @SoumyaDasgupta 2 роки тому

      Squaring a function makes it differentiable. Hence.

  • @sane7263
    @sane7263 Рік тому

    1:09 that laugh 🤣🤣
    I understand the struggle.

  • @yogeshbabu3106
    @yogeshbabu3106 3 роки тому

    bro how do you find the equation (bo+b1) after find the fist cost function is high

  • @abhishekkhairnar8318
    @abhishekkhairnar8318 Рік тому

    nice explanation

  • @TheOraware
    @TheOraware 2 роки тому

    what do you mean by L1 and L2 regularization works only with Linear regression, decision tree based algo does have other way of regularization? You mean to say L1 and L2 are not in tree based algo? L1 and L2 are also used in decision tree based algo for example catboost regression has L2 (l2_leaf_reg) regularization technique

  • @vishalreddyb9683
    @vishalreddyb9683 3 роки тому

    Sir, can you please make computer vision and CNN videos?

  • @beautyisinmind2163
    @beautyisinmind2163 2 роки тому

    sir can we use Lasso and ridge for feature selection in multi-class classification? say for IRIS data? or it is only for binary problem? please reply

  • @prasannakumarthambharapu1449
    @prasannakumarthambharapu1449 2 роки тому

    sir, can you make more videos on deep learningg

  • @shaelanderchauhan1963
    @shaelanderchauhan1963 2 роки тому

    I am not sure but we use l2 in neural networks i saw Andrew Ng lecture.

  • @0SIGMA
    @0SIGMA 3 роки тому +1

    Bro please include a exercise that uses all these.

  • @jolittevillaruz5234
    @jolittevillaruz5234 2 роки тому

    Is it possible to use ridge regression to impute univariate time series? Thanks

  • @ravikumarranga8633
    @ravikumarranga8633 3 роки тому

    Linear Regression => (XTX)-1XTY
    Ridge Regression: (XTX+PI)-1XTY where P is penalty, I is Identity Matrix
    Lasso Regression=>please mention
    Elastic Net =>Please Mention

  • @pinkakaur156
    @pinkakaur156 Рік тому

    If my slope is coming very less but I want my model slope to be more what's thought in that

  • @eduardocasanova7301
    @eduardocasanova7301 2 роки тому

    Hi Aman, BIG FAN OF YOUR WORK!! I noticed you give DS training and filled the google form right away! Sadly didn't receive any email. Can you help me with my issue? Should i receive an email? I'm super interested.
    Thank you!

    • @UnfoldDataScience
      @UnfoldDataScience  2 роки тому +1

      Hi ,not getting enough bandwidth for training now, however I am working on a course, will share the update soon, many thanks for watching videos and staying connecetd.

    • @eduardocasanova7301
      @eduardocasanova7301 2 роки тому

      @@UnfoldDataScience Thanks for the quick response! Already turned on the notification bell!

  • @sagarvarandekar8279
    @sagarvarandekar8279 2 роки тому

    My lasso regression is getting wrong results. It is giving all coefficients as zero except the constant and R2 score as --0.001825328970232576. Someone please help.

  • @Krishu_Patil2411
    @Krishu_Patil2411 2 роки тому +1

    Exact what i want AMAN

  • @mukeshkund4465
    @mukeshkund4465 2 роки тому

    Why L1 regularization creates sparsity ???

  • @ayushtailor9941
    @ayushtailor9941 2 роки тому

    samjh nhi aaya bhai.where to use l1 and where to use l2? try explaining in dnn model

  • @rutviksavaliya2642
    @rutviksavaliya2642 2 роки тому

    not understood

  • @Relaxing143music
    @Relaxing143music 2 роки тому +1

    Bhai Hindustan me rhete ho toh hindi me bhi samjho na

    • @UnfoldDataScience
      @UnfoldDataScience  2 роки тому

      It's not about staying in India or anywhere else.
      Unfortunately we need to speak in English in office and interviews and this channel is completely in English so that everyone can understand.