Random Forest Classification | Machine Learning | Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024
  • Random Forest Classification | Machine Learning | Python
    GitHub JupyterNotebook: github.com/sid...
    GitHub Data: github.com/sid...
    About this video: In this video, you will learn how to about Random Forest Classification in Python
    Large Language Model (LLM) - LangChain
    LangChain: • LangChain Tutorial for...
    Large Language Model (LLM) - LlamaIndex
    LlamaIndex: • LlamaIndex Tutorial fo...
    Machine Learning Model Deployment
    ML Model Deployment: • ML Model Deployment us...
    Spark with Python (PySpark)
    PySpark: https: • PySpark with Python
    Data Preprocessing (scikit-learn)
    Data Preprocessing Python: • Data Preprocessing Python
    Social Media Links
    TH-cam: / statswire
    Twitter (X) : / statswire
    #llm #ai #genai #generativeai #statswire #pyspark #python #pythonprogramming #pythontutorial #machinelearning #datascience #randomforest

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

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

    Most underrated video...the explanation was exactly what I want... awesome 👍

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

      Thank you so much for your kind words!

  • @rubenneftali6498
    @rubenneftali6498 2 หลายเดือนก่อน

    Thanks a lot for your excellent explanation :)

    • @StatsWire
      @StatsWire  หลายเดือนก่อน +1

      You're welcome!

  • @maishareddy
    @maishareddy 4 หลายเดือนก่อน +1

    i have dataset in which the values are strings and im not able to convert them to numeric values

    • @StatsWire
      @StatsWire  4 หลายเดือนก่อน

      Can you put the error messages?

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

    Hi! It will be really helpful if you will provide the details of the datasets you have taken for the analysis.

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

      I think you will find the dataset here: github.com/siddiquiamir/Data

  • @Ben-qe8ju
    @Ben-qe8ju ปีที่แล้ว

    Really helpful. Thanks!

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

      You're welcome!

  • @sunidhimalgotra2703
    @sunidhimalgotra2703 9 หลายเดือนก่อน

    you saved me thanks

    • @StatsWire
      @StatsWire  9 หลายเดือนก่อน

      I am glad to hear that!

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

    what should I DO if my target variable(dependent) is continuous number? how can i do it?

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

      You have to use random forest regressor instead of random forest classifier

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

    Very helpful !! But i want to asky you how to deploy such code into arduino nano 33 ble sense board? And what code should be written for inference in arduino ide? Did yoi explained that in a video??

    • @StatsWire
      @StatsWire  11 หลายเดือนก่อน

      I have not explored that part.

  • @xaloftal
    @xaloftal 7 หลายเดือนก่อน

    from the scikit-learn documentation, the classification_report should get the y_true first and then the y_pred and now i'm confused

    • @StatsWire
      @StatsWire  7 หลายเดือนก่อน

      For latest information, please refer the documentation:)

  • @Mark-jm9jc
    @Mark-jm9jc ปีที่แล้ว +2

    Hi. I don't see the plot.show() result like yours. I just see the blue target bar not the orange one in the plot.

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

      Can you please try once more time by following the video.

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

      Same here

    • @jurgan92
      @jurgan92 10 หลายเดือนก่อน

      try this:
      sns.countplot(x=df["target"], hue=df["target"], dodge=False)

    • @adlinaaminuddin6234
      @adlinaaminuddin6234 9 หลายเดือนก่อน

      same here. it does not show distinct classes , it sum up all classes as one

  • @AbdelrahmanHareedey
    @AbdelrahmanHareedey 5 วันที่ผ่านมา

    whenever I use randomForestClassifier I get this error even though nothing in my data is object
    could not convert string to float: 'L56434'
    note: Im not using the dataset you are using in this video
    please help

    • @StatsWire
      @StatsWire  3 วันที่ผ่านมา

      As you can see your data has both alphabet L and numbers 56434. You need to first clean your data.

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

    Nice tutorial

  • @user-cv9by1ye5l
    @user-cv9by1ye5l ปีที่แล้ว

    Hello, I would like to know hot to get an accuracy like yours, I mean, how it´s possible to have that score?

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

      If you have same data and if provide the same random_state number then you should get almost same result:)

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

    Thnks brother! I will be very greatful If I get the notebook please!

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

      Thank you. I will check on my machine and upload it on my GitHub and share it with you.

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

      @@StatsWire actually don't worry about it, I have copied it from the video and tried myself in jupyter notbook, Thank you anyway ☺️

  • @gabriellefiore5097
    @gabriellefiore5097 9 หลายเดือนก่อน

    Where can I find the heart rate csv to follow the example?

    • @StatsWire
      @StatsWire  9 หลายเดือนก่อน

      You can find the dataset here: github.com/siddiquiamir/Data

    • @gabbyf2906
      @gabbyf2906 9 หลายเดือนก่อน +2

      All I can find is the heart.csv but not not heart_disease.csv

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

    What does it mean to have a gini of zero?
    how could i interpret it?

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

      The Gini coefficient measures the inequality among values of a frequency distribution, such as the levels of income. A Gini coefficient of 0 reflects perfect equality, where all income or wealth values are the same, while a Gini coefficient of 1 (or 100%) reflects maximal inequality among values. For example, if everyone has the same income, the Gini coefficient will be 0. In contrast, if for a large number of people only one person has all the income or consumption and all others have none, the Gini coefficient will be 1

  • @MF-ye5fe
    @MF-ye5fe 7 หลายเดือนก่อน

    Where can I get this dataset?

    • @StatsWire
      @StatsWire  7 หลายเดือนก่อน

      You can find it here
      github.com/siddiquiamir/Data

  • @Aiman-pn2dy
    @Aiman-pn2dy 10 หลายเดือนก่อน

    From where I can get dataset?

    • @StatsWire
      @StatsWire  10 หลายเดือนก่อน +1

      Please find the dataset here: github.com/siddiquiamir/Data

    • @Aiman-pn2dy
      @Aiman-pn2dy 10 หลายเดือนก่อน

      @@StatsWire may I know your linkedin ID

    • @StatsWire
      @StatsWire  10 หลายเดือนก่อน +1

      It is in my bio you can find and send me invite @@Aiman-pn2dy

  • @Thanatos2062
    @Thanatos2062 5 หลายเดือนก่อน

    bro your heart disease data set is not there in ur github pls help

    • @StatsWire
      @StatsWire  5 หลายเดือนก่อน

      Please find it here: github.com/siddiquiamir/Data/blob/master/Heart_Disease_Prediction.csv

    • @StatsWire
      @StatsWire  5 หลายเดือนก่อน

      Even this one: github.com/siddiquiamir/Data/blob/master/heart.csv

    • @Thanatos2062
      @Thanatos2062 5 หลายเดือนก่อน

      @@StatsWire thank you soo much bro 😇😇

    • @StatsWire
      @StatsWire  5 หลายเดือนก่อน

      @@Thanatos2062 You're welcome!

  • @paretare4946
    @paretare4946 5 หลายเดือนก่อน

    where is that heart diesesase file

    • @StatsWire
      @StatsWire  5 หลายเดือนก่อน +1

      You can find it here: github.com/siddiquiamir/Data

    • @paretare4946
      @paretare4946 5 หลายเดือนก่อน

      @@StatsWire thanks ♥️ really appreciate this kindness

    • @StatsWire
      @StatsWire  5 หลายเดือนก่อน

      @@paretare4946 You're welcome :)

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

    Bro I need code and data set

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

      Plz upload it bro

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

      Hi, sorry for the delay. Please find the dataset here: github.com/siddiquiamir/Data

    • @BadboyGaming-yk1vj
      @BadboyGaming-yk1vj ปีที่แล้ว +1

      @@StatsWire Which data set in the one you sent ?

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

      @@BadboyGaming-yk1vj You can get all the dataset in the github link.

    • @gabriellefiore5097
      @gabriellefiore5097 9 หลายเดือนก่อน

      All I see is heart rate no csv that says Heart_diseases@@StatsWire

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

    I am getting an error " __init__() got an unexpected keyword argument 'min_sample_split' " .
    Can you help me out and tell me how I can resolve this error?

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

      This is a hyperparameter, can you check the version of scikit-learn

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

      @@StatsWire sklearn.__version__ '1.0.2'

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

      @@Rolling_panda00 Then it should not throw any error because it is a hyperparameter

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

      @@StatsWire it's giving the same error in regression and decision tree too
      And I've tried updating but it's not as helpful as I thought.

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

      @@Rolling_panda00 can you email me your jupyternotebook at statswire2@gmail.com