Decision Trees & Stock Market Analysis Predictions | Machine Learning # 14

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 54

  • @danmcgloven8169
    @danmcgloven8169 3 роки тому +911

    00:00:00 Introduction
    00:01:11 Decision Tree Classifiers
    00:02:31 The CART Algorithm
    00:05:39 Gini Impurity
    00:10:43 CART Sub-optimality
    00:13:31 Entropy
    00:21:52 scikit-learn: Decision Tree Classifiers
    00:25:38 Viewing decision trees using graphicviz
    00:30:41 Plotting Decision Boundaries on Python
    00:38:08 Soft Decision Tree Classifiers
    00:40:45 Decision Tree Classifiers & Rotation Sensitivity
    00:46:42 Decision Tree Regression
    00:49:57 scikit-learn: Decision Tree Regressor
    00:56:11 Stock Market Analysis: Decision Trees Predicting Buy & Sell Signals

  • @aishahoura2619
    @aishahoura2619 3 роки тому +97

    Love this part so much 00:56:11 Stock Market Analysis: Decision Trees Predicting Buy & Sell Signals
    Very useful

    • @ferminromojr.5011
      @ferminromojr.5011 2 роки тому

      no clue how to interoperate the decision tree, I understand that 1 means buy and 2 means sell, but I dont understand where to look for the stock price? meaning if a high is EX: 112 then buy, where do I look in the decision tree for that?

  • @Ali-dp2gz
    @Ali-dp2gz 3 роки тому +29

    Machine Learning is so much is intuitive, fun and easy. Thanks to Ahmad Bazzi !

  • @danmcgloven8169
    @danmcgloven8169 3 роки тому +8

    Very good lecture Prof. Ahmad Bazzi !

  • @bellamany3750
    @bellamany3750 3 роки тому +9

    DecisionTreeClassifier() actually works for trading signals 👍🏻

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

      Hey there lil mama

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

      i can apply DecisionTreeClassifier on other stuff if you know what i mean 😀😜

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

      I tried it for cryptocurrency. Good results. Lost 200 made 300 USD tether.

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

      One question that boggles me is how to use this to predict if I should buy tomorrow or in the coming week. I saved the model using pickle, but then when I load the model using pickle.load, how to I get predictions using loaded_model.predict for a future date, like tomorrow or next week?

  • @حلووحادقمعجهاداحمد

    I tried this yesterday on some stocks in my portfolio and worked pretty fine :) Thanks a lot Ahmad !

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

    I'm currently learning Decision Trees and it was really ambiguous , this has helped a lot, I also do not need to understand the equations explained here because it is all intuitions. Thanks a million Professor Bazzi 👏🏻

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

    Gini index has been introduced by Breiman and Entropy by Claude Shannon.

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

    Ahmad has been consistent since 2018, video after video, energy on top of energy. He's charged up. Enough said.

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

    Very good lecture @Ahmad Bazzi 👍

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

    For those asking about decision trees. According to wikipedia, a decision tree is a decision support tool that uses a tree-like model of decisions and their possible consequences, including chance event outcomes, resource costs, and utility. It is one way to display an algorithm that only contains conditional control statements.

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

    Thank you Ahmad

  • @ferminromojr.5011
    @ferminromojr.5011 2 роки тому

    no clue how to interoperate the decision tree, I understand that 1 means buy and 2 means sell, but I dont understand where to look for the stock price? meaning if a high is EX: 112 then buy, where do I look in the decision tree for that?

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

    You're awesome , never learned anything better than this 🥺

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

    Best Explanation Ever!!!

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

    Thanks for this tutorial. I like your simplistic explanation. One question that boggles me is how to use this to predict if I should buy tomorrow or in the coming week. I saved the model using pickle, but then when I load the model using pickle.load, how to I get predictions using loaded_model.predict for a future date, like tomorrow or next week?

  • @peppemelia
    @peppemelia 3 роки тому +10

    Liked and subbed

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

    Thanks a lot Ahmad 👌🏻

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

    entendible

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

    Simply Fantastic!

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

    Very precious sir !

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

    Perfect !!

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

    Mantap mamang

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

    Thanks for an awesome lecture !

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

    Perfect place to revise my :)

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

    Please can I have the code for this ?

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

    Thanks sir.

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

    #underrated

  • @mustafayoruk9483
    @mustafayoruk9483 3 роки тому +49

    SAFEMOON crew, where are you ? 🚀

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

    I LOVE YOU AHMAD BAZZI ❤️

  • @ottffsse12345678
    @ottffsse12345678 3 роки тому +2029

    I'm sorry to inform you that your model suffers from a data leak between training and testing, so the results are not actually right.

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

      Some haters commenting here 😅
      I literally tried it and it gave me satisfactory results

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

      @@danmcgloven8169 What does 'haters' have to do with it anyway? Why just throw away silly words, I tried to help in my experience and show that there's an internal mistake when you make a prediction about a few days ahead and then mix the data so some leaks to the test. Ask yourself why it doesn't give good results to the forecast for one day ahead, but excellent results for 60 days ahead. All I'm saying is that in practice this model is not equal and the test data is incorrect.

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

      Hey! thanks for pointing it out. Can you please also tell how to get rid of the leakage?
      Again thanks!

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

      Works perfectly for data leakage.

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

      Can you pinpoint where is the leakage ?

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

    Appreciate it bro <3 :) :D

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

    Hey you, if you read this, you are awesome.

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

    This model is wrong --
    you have used close, high, low prices, and volume as features but it does not make sense because in real-time prediction if u have these values anyone can make a buy/sell decision.....if open

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

    T.H.A.N.K. Y.O.U. S.O. M.U.U.U.U.U.C.H!!