How to Detect and Remove Outliers in the Data | Python

Поделиться
HTML-код
  • Опубликовано: 7 авг 2024
  • ⭐️ Content Description ⭐️
    In this video, I have explained on how to detect and remove outliers in the dataset using python. Removing outliers will be very helpful for data cleaning and preprocessing. The methods used are z-score, inter quartile range & percentile.
    Text-based Tutorial: www.hackersrealm.net/post/det...
    GitHub Code Repo: bit.ly/datascienceconcepts
    🌐 Website: www.hackersrealm.net
    🔔 Subscribe: bit.ly/hackersrealm
    🗓️ 1:1 Consultation with Me: calendly.com/hackersrealm/con...
    📷 Instagram: / aswintechguy
    🔣 Linkedin: / aswintechguy
    🎯 GitHub: github.com/aswintechguy
    🎬 Share: • How to Detect and Remo...
    ⚡️ Data Structures & Algorithms tutorial playlist: bit.ly/dsatutorial
    😎 Hackerrank problem solving solutions playlist: bit.ly/hackerrankplaylist
    🤖 ML projects tutorial playlist: bit.ly/mlprojectsplaylist
    🐍 Python tutorial playlist: bit.ly/python3playlist
    💻 Machine learning concepts playlist: bit.ly/mlconcepts
    ✍🏼 NLP concepts playlist: bit.ly/nlpconcepts
    🕸️ Web scraping tutorial playlist: bit.ly/webscrapingplaylist
    Make a small donation to support the channel 🙏🙏🙏:-
    🆙 UPI ID: hackersrealm@apl
    💲 PayPal: paypal.me/hackersrealm
    🕒 Timeline
    00:00 Introduction to Detection of Outliers
    02:01 Z-score Method
    12:00 Inter Quartile Range Method
    17:12 Percentile Method
    #detectoutliers #mlconcepts #hackersrealm #removeoutliers #anomalydetection #deeplearning #machinelearning #datascience #model #project #artificialintelligence #beginner #analysis #python #tutorial #aswin #ai #dataanalytics #data #bigdata #programming #datascientist #technology #coding #datavisualization #computerscience #pythonprogramming #analytics #tech #dataanalysis #programmer #statistics #developer #ml #coder #dataanalyst

Комментарии • 54

  • @asadnaeem123
    @asadnaeem123 18 дней назад +2

    Amazing tutorial. Bro, you made my day. Lots of love from Pakistan.

  • @pankajgoikar4158
    @pankajgoikar4158 Год назад +9

    You are amazing bro. Don't have words to thank you. you have cleared my many concepts. Lots of love from UK and god bless you. 😊

    • @HackersRealm
      @HackersRealm  Год назад +2

      Thank you so much for your kind words ❤️

  • @grandson_f_phixis9480
    @grandson_f_phixis9480 2 месяца назад +1

    Thank you very much sir!!

  • @negusuworku2375
    @negusuworku2375 6 месяцев назад +1

    This is very helpful. Excellent.

  • @insight_generator
    @insight_generator 6 месяцев назад +1

    This video helped me a lot. Thanks!

  • @ocraking
    @ocraking Месяц назад +1

    what an amazing video

  • @DJnaidu22
    @DJnaidu22 3 месяца назад +1

    really a great explanation

  • @sushmitarawat6438
    @sushmitarawat6438 11 месяцев назад

    Too good....and simple thanks a lot☺️🙏🏼

    • @HackersRealm
      @HackersRealm  11 месяцев назад +1

      Glad you like it sushmita!!!

    • @sushmitarawat6438
      @sushmitarawat6438 11 месяцев назад

      @@HackersRealm could you suggest some paid internship which I can start off with the very next month

    • @HackersRealm
      @HackersRealm  11 месяцев назад +1

      @@sushmitarawat6438 For ML based internship, it's better to compete in hackathons or contest to get internship.. You could checkout hackerearth, techgig, etc., for that

    • @sushmitarawat6438
      @sushmitarawat6438 11 месяцев назад

      @@HackersRealm ok

  • @ArniFuentes
    @ArniFuentes 18 дней назад +1

    Thank you so much!!!. A question: in what type of distributions can the box plot be used? For example, if the data follows a uniform distribution, does it make sense to find outliers? What do you recommend me?

    • @HackersRealm
      @HackersRealm  17 дней назад +1

      You can use box plot and check if there are any outlier for any distribution. If there is some outliers, do the processing, if not ignore it.

    • @ArniFuentes
      @ArniFuentes 17 дней назад +1

      @@HackersRealm thanks for your answer

  • @mohamads9759
    @mohamads9759 3 месяца назад +1

    Very Great.

  • @vietttt0104
    @vietttt0104 Год назад +1

    Greate Tutorial!! Thanks a lot!! I have a question that How could I do it with the whole dataset? not a single one

    • @HackersRealm
      @HackersRealm  Год назад

      you can iterate the columns and process the whole data

    • @aniketlode4808
      @aniketlode4808 Год назад

      @@HackersRealm So to iterate it we will be using for loop passing each column name as I??

    • @HackersRealm
      @HackersRealm  Год назад

      @@aniketlode4808 yeah

  • @debangshubarua5345
    @debangshubarua5345 Год назад +2

    Good vedio... Do i need check for all the numeric columns one by one and perform capping operation??????

    • @HackersRealm
      @HackersRealm  Год назад +1

      You can use a loop to do it for all numeric columns at once...

  • @massoudkadivar8758
    @massoudkadivar8758 6 месяцев назад

    Thank you so much,
    I have a question, do we need to do this process for each column one by one?

    • @HackersRealm
      @HackersRealm  6 месяцев назад

      yes, that's correct, you can use loops to automate this.

  • @titi-cu8dx
    @titi-cu8dx 7 месяцев назад +1

    What about dealing with categorical columns in the context of outliers?

    • @HackersRealm
      @HackersRealm  7 месяцев назад

      I don't think there will be outliers in categories

  • @santoryuu989
    @santoryuu989 2 года назад

    what do you think is the best method out of these three ?

    • @HackersRealm
      @HackersRealm  2 года назад

      You can use any method as it's producing similar results, but instead of deleting samples, trim it in the range

  • @adityachoudhari3596
    @adityachoudhari3596 2 года назад +2

    Yo bro I m also learning ai and ml concepts I just need to work one some project or get the training in this
    Plz tell me if you can help

    • @HackersRealm
      @HackersRealm  2 года назад +1

      check the iris dataset analysis project in the playlist for start

  • @DJnaidu22
    @DJnaidu22 3 месяца назад +1

    Bruh I have a doubt..... please explain briefly..... These three techniques are used for trimming or capping outliers in the dataset...... But why don't we use only z-score to find outliers. Then what's the diff between these three techniques??

  • @gud_vibesm
    @gud_vibesm 16 дней назад

  • @Serene__Soul98
    @Serene__Soul98 2 года назад

    Hii..my dataset has 19 columns and at least 10 colums shows outliers..
    So do I have to perform this process for every column each time?

    • @HackersRealm
      @HackersRealm  2 года назад

      Yes it's better to do the process in a loop and fix it for better results

    • @avashchand9623
      @avashchand9623 2 года назад

      @@HackersRealm Can you kindly show this process too. Searching for it everywhere can't find it.

    • @HackersRealm
      @HackersRealm  2 года назад

      @@avashchand9623 what process you're referring?

    • @aniketlode4808
      @aniketlode4808 Год назад

      @@HackersRealm I think he is asking for the process of looping the columns

    • @nihalkausar2215
      @nihalkausar2215 3 месяца назад

      Pls after I have handled each column outlets how do I save it and which data frame should I continue using

  • @karthika8610
    @karthika8610 Год назад

    Which method is the most preferred?

    • @HackersRealm
      @HackersRealm  Год назад +2

      It's not about preference, it depends on where and which use case you're trying to solve

    • @madhulikasuman2803
      @madhulikasuman2803 3 месяца назад +1

      @@HackersRealm if there are 40% outlier then ?

    • @HackersRealm
      @HackersRealm  3 месяца назад

      @@madhulikasuman2803 it depends on the nature of data, need to understand the domain, and see why this is the case. We could do some data transformation like log transformation to change it

  • @ricesweat9951
    @ricesweat9951 9 месяцев назад

    why you decided to use residual sugar as a column to find outliers? any tips and tricks on which columns should be used to find outliers within the dataset?

    • @HackersRealm
      @HackersRealm  9 месяцев назад +1

      we can use boxplot or violinplot to find the outliers. You can see some dots outside the line which can be considered as outliers.

  • @nihsacinan19
    @nihsacinan19 11 месяцев назад

    8:35 outliers=26

  • @Niyati_11
    @Niyati_11 7 месяцев назад +1

    My df is empty while finding the outliers. Any idea why it is so?

    • @HackersRealm
      @HackersRealm  7 месяцев назад

      which cell you faced the issue?