Decision Tree Algorithm in Machine Learning Python - Predicting Churn Example

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2021
  • Learn how to run Decisions Trees, Random Forest and Extreme Gradient Boost (XGB) machine learning models in Pythons. This is a full tutorial in machine learning. We start with the problem formulation phase, then EDA phase, then running and evaluating different models. We also show how to adjust the hyperparameters of the models. At the end, we show how to deploy the model predictions in Power BI. Hope you enjoy this video!
    Data Analytics Course Link:
    ipidata.teachable.com/
    Support the channel on Patreon:
    / data360yp
    Git Repo:
    github.com/Pitsillides91/Pyth...
    Tutorial Overview:
    - What is the machine learning process
    - How to load raw data from excel to python and run ML
    - How to clean the raw data for machine learning (EDA)
    - How to split the raw data for machine learning
    - How to Run decision trees machine learning model
    - How to evaluate machine learning models
    - How to visualize the decision tree in Python
    - How to create a confusion matrix in Python
    Yiannis Pitsillides on Social Media:
    / pitsillides91
    ypexists?h...
    www.pinterest.co.uk/pitsillid...
    / 1500092413449073
    Tags:
    Decision Tree Algorithm in Machine Learning Python
    decision tree
    decision tree machine learning
    decision tree algorithm in machine learning python
    decision trees in artificial intelligence
    decision tree classifier machine learning
    decision tree example
    decision trees explained simply
    decision tree algorithm
    how to run decision tree in python
    decision tree sklearn python
    how to visualize decision trees python
    decision tree examples with solutions
    decision tree tutorial python sklearn
    decision tree analysis
    decision tree feature importance
    decision tree information gain python
    python decision tree tutorial sklearn
  • แนวปฏิบัติและการใช้ชีวิต

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

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

    3 more models added in our library! Let me know what you think about these ones! Thanks!

    • @danirladaniel7352
      @danirladaniel7352 2 ปีที่แล้ว

      Great work and resource don't know why it took me this long to find your channel

    • @everydaynewchallenge2927
      @everydaynewchallenge2927 2 ปีที่แล้ว

      how we can plot learning curve and compare the test data and the learning data

  • @juanfelipenajera4489
    @juanfelipenajera4489 2 ปีที่แล้ว +4

    Thank you so much for this tutorial! It was so helpful to understand and apply for my master's final project

  • @hannahhoa
    @hannahhoa 2 ปีที่แล้ว

    Amazing tutorial! Thank you!

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

    This is excellent wrok ,
    Note :
    we can plot the DT with this simple code
    from sklearn import tree
    plt.figure(figsize=(15,10))
    tree.plot_tree(dt_model ,filled=True)

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

    Thank you Yiannis , am following your episodes one by one , your really helping me develop myself ,🙏

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

      Same here - thank
      You Yiannis

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

      Happy to hear that! Thanks!

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

    Impressively explained....and paced correctly

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

      Glad you liked it!

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

    Very good video! Keep it up!

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

    Hey Yiannis, another brief and concise tutorial, very well explained thus further enhancing the knowledge in the computer science world!!! Keep it up!

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

      Glad it was helpful!

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

    Very nice, thank you

  • @jonathanderoubernal7320
    @jonathanderoubernal7320 2 ปีที่แล้ว

    Hi Yiannis,
    Thank you soooo much for your videos, no kidding it's so clever. We need other tutorial bro ! You are giving such good contents thought.
    I just have one remark : in this tutorial, the training data are the same as the one for testing witch is a bit confusing... Anyway, thank's a lot

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

    This is excellent, thank you very much!

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

      Glad it was helpful!

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

    Hey Yiannis, nice to meet you! I just found your channel and subscribed, love what you're doing!
    I like how clear and detailed your explanations are as well as the depth of knowledge you have surrounding the topic! Since I run a tech education channel as well, I love to see fellow Content Creators sharing, educating, and inspiring a large global audience. I wish you the best of luck on your TH-cam Journey, can't wait to see you succeed! Your content really stands out and you've put so much thought into your videos!
    Cheers, happy holidays, and keep up the great work ;)

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

      Hey Rohak, nice to e-meet you too! Just had a look in your channel! Great work! Keep it up :)

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

      @@Data360YP Nice to e-meet you too! Thanks for taking a look at my channel too, I really appreciate the kind gesture!

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

    Hello, nice work...I have a suggestion...Maybe you should use a dataset that is very dirty, so you can teach and show us how to wrangle it, and also show us how to do feature engineering also

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

    Great tutorial, thank you.
    My understanding is that scaling would not be required for tree-based algorithms, as they are not skewed by not scaled/normalised data. Not that it would hurt the prediction, just that would save time by skipping it.

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

    Best Tutorial, plz make some videos about Feature Engineering.

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

    Cool! Thanks!

  • @lukeshlarik8421
    @lukeshlarik8421 2 ปีที่แล้ว

    Hello Sir, Why you are not making any videos, it was so great and helpful

  • @taniacai5245
    @taniacai5245 2 ปีที่แล้ว

    Thank you for providing this! Super helpful. Just a quick question, can you use the random forest model to predict the accuracy of certain thing? For example, if we are doing a count for inventory, and I want to use All the parameters to predict how accuracy each scenarios would be the count ? In this case the output is not a 1 or 0 but a range of number between 0 and 1

  • @user-vb9rz8fi6n
    @user-vb9rz8fi6n หลายเดือนก่อน

    thank you

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

    YOU ROCK! :)

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

    Hi Yiannis
    I wrote the code step by step according to your guide
    In the tree I got an entropy greater than 1, how can that be? what did I do wrong?

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

    Great video! I have a question though: does anybody know why you need to split HasCrCard in _1 and _0? Isnt the original column already binary? I mean the _1 is the same as the original HasCrCard, why add the reverse in _0? Is this some kind of balancing method?
    Cheers

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

    Hi Yiannis, I love your videos and am finding them very captivating to listen to and follow along! I have a problem I am working on right now using decision trees and RFA and was wondering if I could get your advice on it? would you be available for a quick chat?

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

    I have a dataset I have that I need to predict on groundwater potential and I can't figure it all out. May you please 🥺 help.?

  • @techmech7196
    @techmech7196 2 ปีที่แล้ว

    Can anyone help me out ,I'm getting error like couldn't able to convert int value into float from datasheet