Which Machine Learning Algorithm Will You Apply For A Usecase-Best Way To Answer In Interview?

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ย. 2024

ความคิดเห็น • 49

  • @reenasheoran893
    @reenasheoran893 3 ปีที่แล้ว +18

    I think this question should be tackled in a hierarchical manner. For example,
    1. First, check does the data have a label column- if yes (go with supervised learning) else (go with unsupervised learning).
    2. Second, check is the problem prediction or classification.
    3. Third, check size of data. If the data is too large go with ANN else Machine Learning
    4. Fourth, apply basic algorithm such as linear, svm, etc. first
    5 Now, apply ensemble techniques.

    • @veeresh4441
      @veeresh4441 3 ปีที่แล้ว

      How do you decide weather the data is large or not ?

    • @reenasheoran893
      @reenasheoran893 3 ปีที่แล้ว +1

      @@veeresh4441 by number of records and features....ultimately size of data

    • @veeresh4441
      @veeresh4441 3 ปีที่แล้ว

      @@reenasheoran893 suppose you have some 10000 rows and 100 columns or features , do u consider this big?

    • @reenasheoran893
      @reenasheoran893 3 ปีที่แล้ว +1

      @@veeresh4441 no

    • @onurrrrr77
      @onurrrrr77 19 วันที่ผ่านมา

      i think this is a smart way to answer.

  • @explorer2918
    @explorer2918 3 ปีที่แล้ว +11

    most important and common question in every interview ✌️

  • @shwetadalal1549
    @shwetadalal1549 3 ปีที่แล้ว +4

    First we will see the type of problem. supervised/unsupervised? classification/regression?...then we will try out multiple ml models for each case and see which model gives best accuracy

  • @trojanatom6836
    @trojanatom6836 3 ปีที่แล้ว +5

    I prefer your old style of teaching rather than using whiteboard/blackboard. It's a good question though!

  • @yogita4631
    @yogita4631 3 ปีที่แล้ว +5

    Visualisation of data using seaborn library ,if my data point are linearly separable then I use linear regression and logistic regression if not the I go for ensemble techniques , and SVM

  • @gouthamipalarapu909
    @gouthamipalarapu909 3 ปีที่แล้ว +5

    @krish Naik can you please create a playlist required to crack data analyst role. You have given the roadmap. Requesting you to upload a playlist required. Thank you in advance Krish 😊😊

  • @satyanagajyothi4514
    @satyanagajyothi4514 3 ปีที่แล้ว +8

    Hi Krish...even i faced the same question in interview and said i will go and apply all the algos and select based on trial and error and will select the best model with good metrics.. but the interviewer said that it is not proper approach to select a model on trial and error ...

    • @rich007p
      @rich007p 3 ปีที่แล้ว +9

      we should not say trial and error.. but we can say we have model evaluation techniques like the confusion matrix, classification report to determine which model is performing better in that particular data set. its always better to check with 5, 6 models before coming to a conclusion about the data set. I guess you were correct the only thing was not to mention trial and errr thing :)

  • @ajaykushwaha-je6mw
    @ajaykushwaha-je6mw 3 ปีที่แล้ว +2

    I also follow the same approach which you have suggested.

  • @datascientistoflife8550
    @datascientistoflife8550 3 ปีที่แล้ว +1

    It depends on type of data then we can only deside which algo to be applied..

  • @nutriwaywithrohan5729
    @nutriwaywithrohan5729 3 ปีที่แล้ว +2

    Sir please make video on retraining approach based on performance metrics

  • @raghuvararora9673
    @raghuvararora9673 3 ปีที่แล้ว +1

    STAR should be used to structure the ideas

  • @True_Feelingsss...
    @True_Feelingsss... 3 ปีที่แล้ว +2

    Basic ML interview question: Why/When ML model stops training after calling fit method ??

    • @pravali4452
      @pravali4452 3 ปีที่แล้ว +1

      That depends on the algorithm..if it's linear regression, it uses least squares to determine the line of fit. It will calculate values that minimize the square of residuals from tht line. If it's logistic regression, it follows max likelihood estimation..if it's decision trees, the algorithm follows entropy or gini index and node impurity to calculate the best split and goes until the depth you define. So each algorithm has its own set of criteria and methods to follow.. these are some of the ones that I know. Correct me if I'm wrong.

    • @True_Feelingsss...
      @True_Feelingsss... 3 ปีที่แล้ว

      @@pravali4452 you said that is correct but that is not answer to my question

    • @karthikeyans6825
      @karthikeyans6825 ปีที่แล้ว +1

      When error value(loss) doesn't change much after each training iteration? Is it right? If not, may I know what's the answer!

  • @adipurnomo5683
    @adipurnomo5683 3 ปีที่แล้ว

    Great video krish naik.

  • @prateekreddybatapatis7269
    @prateekreddybatapatis7269 3 ปีที่แล้ว +1

    How to resolve 'XGBoost error: bad allocation' in multiclass image classification? Please let me know.

  • @salmanpatel5666
    @salmanpatel5666 3 ปีที่แล้ว +3

    But applying every algorithm won't it be time consuming?

    • @shanbhag003
      @shanbhag003 3 ปีที่แล้ว +1

      Auto ML models does that for you. It applies every ML algorithm (a bit consuming, though not much) and gives u the result.

  • @rahulbhardwaj3843
    @rahulbhardwaj3843 2 ปีที่แล้ว +1

    Hi Krish, How to check if the data is linearly separable or not ?

    • @ashyy346
      @ashyy346 ปีที่แล้ว

      You can use pair plot, in short visualize the data first and then you will get to know whether it is linearly separable or not

  • @ahmedfarouk2514
    @ahmedfarouk2514 3 ปีที่แล้ว +1

    Please advise
    Can gridsearch or random search fix overfitting or underfitting issue?!

    • @anshumansahu5993
      @anshumansahu5993 3 ปีที่แล้ว

      Yes, they helps in finding best hyper parameters available in your parameter space. But again it depends upon your parameter space, how you are choosing that.

  • @shanbhag003
    @shanbhag003 3 ปีที่แล้ว +1

    If that is the answer, won't the next question be it is very time consuming to do trial and error ?

    • @krishnaik06
      @krishnaik06  3 ปีที่แล้ว +2

      Model needs to be created in that way

    • @shanbhag003
      @shanbhag003 3 ปีที่แล้ว

      @@krishnaik06 I thought your first approach "after performing EDA, selection of model" was the best one.

    • @krishnaik06
      @krishnaik06  3 ปีที่แล้ว

      Yes but now if see the automl models they verify with all the algorithms

    • @shanbhag003
      @shanbhag003 3 ปีที่แล้ว

      @@krishnaik06 Yaa right. Microsoft Azure does the same thing.

    • @shwetadalal1549
      @shwetadalal1549 3 ปีที่แล้ว

      @@shanbhag003 Why should one worry about choosing right algorithm when we have AutoML!!

  • @nittureddy2077
    @nittureddy2077 3 ปีที่แล้ว

    if i use pycaret and comparing the model , Will it be enough?

  • @vasudeva5345
    @vasudeva5345 3 ปีที่แล้ว +1

    Can anyone suggest me a book to refer for Python learning. I am new to this course..

    • @deepakpandey8240
      @deepakpandey8240 3 ปีที่แล้ว +1

      Crash course in Python is a good book to start.

    • @priyaupadhyay7402
      @priyaupadhyay7402 3 ปีที่แล้ว +1

      Better to check python documentation... best way to learn python

  • @laharipuneeth6632
    @laharipuneeth6632 3 ปีที่แล้ว +2

    Good one👌

  • @balapranav5364
    @balapranav5364 3 ปีที่แล้ว +2

    Hi Krish in one of my interview I faced questions like.
    1. What is the loss function in collaborative filtering
    2. How we can use regularisation techniques in collaborative filtering
    Can you please explain

  • @srinidhi6049
    @srinidhi6049 3 ปีที่แล้ว +4

    Your presentation looks like you're imitating applied ai course...srikanth sir class 😅😅....great job still

    • @krishnaik06
      @krishnaik06  3 ปีที่แล้ว +4

      :) I really adore him

    • @srinidhi6049
      @srinidhi6049 3 ปีที่แล้ว +1

      @@krishnaik06 That's wonderful and we adore you ...please do your traditional kindo videos which you used to do at the beginning....thank you 👍

    • @vyshagha3747
      @vyshagha3747 3 ปีที่แล้ว

      Don't think no one can be compared with Srikanth sir..he is in different league

    • @srinidhi6049
      @srinidhi6049 3 ปีที่แล้ว

      @@vyshagha3747 There's no comparison which im making....we are already standing on the shoulders of Gaints. Its my observation which I expressed.