This is why you should care about unbalanced data .. as a data scientist

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

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

  • @jessibenzel243
    @jessibenzel243 3 года назад +10

    We just talked about this in my machine learning course this week!! Great timing! This video is very helpful.

  • @tech-n-data
    @tech-n-data 2 года назад

    Thank you so much for all you do.

  • @haneulkim4902
    @haneulkim4902 3 года назад +1

    Great content, these practical content is gold. Thank you :)

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

    Well presented!

  • @pgbpro20
    @pgbpro20 3 года назад

    ritvikmath coming with a video of one of my favorite topics - instant like!

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

    Hi! Great video. Is there any way you would like to creat a full in-depth catboost tutorial on some random data? Would be super useful.

  • @danielwiczew
    @danielwiczew 3 года назад +4

    Okey, but with oversampling - how do you use cross validation ? Because if you use it on the oversampled dataset, you'll have dataleak

    • @ritvikmath
      @ritvikmath  3 года назад +8

      I think you'd want to define the folds on the original data and then oversample holding some folds fixed. Example: 3-fold CV.
      - split original data into 3 folds (A,B,C)
      - consider (A,B) as training data -> oversample that data -> validate using C.
      - repeat using A,B as validation sets
      - note that there is no data leak in this case

  • @joelrubinson9973
    @joelrubinson9973 3 года назад

    very interesting. AdTech modeling of conversions as caused by advertising always suffers from imbalance. (Conversion rates are usually low-mid single digits).

  • @chenxiaodu2557
    @chenxiaodu2557 6 месяцев назад +2

    It should be "imbalanced data" instead of "unbalanced data"

  • @aghazi94
    @aghazi94 3 года назад

    you are seriously so underrated

  • @bmebri1
    @bmebri1 3 года назад +1

    Excellent video!
    One question though: are certain classification models immune from class imbalance? Thanks!

    • @LanNguyen-eq6lf
      @LanNguyen-eq6lf 3 года назад +4

      To my knowledge, don't think any classification what immunes from imbalanced dataset because they are data-driven. However, you are still able to get very good accuracy from imbalanced dataset. It happens when inter-class separability is very high, for example, detection of water bodies (often a minority class) over a large area is often quite accurate.

  • @d.a.k.o.s9163
    @d.a.k.o.s9163 Год назад

    Great video!
    But don’t you think with such unbalanced dataset it would be better going for an anomaly detection algorithm instead of classification algorithm?

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

    Great video. For other ML algorithms like logistic regression, SVM, KNN etc, can we implement the first method (upweight the minority class) ? or this is only applicable to decision tree ?

  • @Sameerahmed373
    @Sameerahmed373 3 года назад

    Can we customise loss function? For example more weight for misclassification of true minor class and less weight for the other error?

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

    Great demo!
    just one thought, why did you not talk about downsampling the majority class? and see what can be the impact?

    • @douwe7493
      @douwe7493 8 месяцев назад

      This is something I am wondering about too!

  • @mrirror2277
    @mrirror2277 3 года назад

    Hi just wondering if SMOTE is applicable for image data? I saw only one article on it online, so I am not sure if it even works since generating synthetic images is likely much harder.

    • @shahrinnakkhatra2857
      @shahrinnakkhatra2857 10 месяцев назад

      That's where image augmentation comes to play. You can create different variations of that image by rotating, flipping etc various transformations

  • @bernardfinucane2061
    @bernardfinucane2061 3 года назад

    You could predict that aircraft engines NEVER fail and almost always be right.

  • @Septumsempra8818
    @Septumsempra8818 3 года назад

    Are you familiar with Latent vectors in network analysis?
    s/o from South Africa

  • @junkbingo4482
    @junkbingo4482 3 года назад +2

    hi
    when people have problems with unbalanced data, it's just the proof they did not get what they do
    when i was young ( a long time ago, so), our teachers wanted us to do things ' step by step' to be ( nearly) sure we knew what we were calculating
    as it's not the case anymore, yes, people dont get the methodology and the maths, but practice data science, wich is sad

    • @junkbingo4482
      @junkbingo4482 3 года назад

      ups, nuance wrote 'yes'!!; thx to lstm, i did not check my post, sorry! ;-)