Error in Decision tree

Shahessi_10
Shahessi_10 New Altair Community Member
edited November 2024 in Community Q&A
Hey I am a newbie and i am creating  Decision tree for predicting the price of the car but it show error. i am also uploading the Screenshot of the error and csv file. I ll great thank full if any body help me because its my University project. 
Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answer

  • lionelderkrikor
    lionelderkrikor New Altair Community Member
    Answer ✓
    @Shahessi_10,

    Here, you can find a process doing what you want to achieve.
    Basically I build a DT model with the examples with no missing value (Price) and then I'm applying this model
    to the examples with missing values (Price).

    Hope this helps,

    Regards,

    Lionel

Answers

  • lionelderkrikor
    lionelderkrikor New Altair Community Member
    Hi @Shahessi_10,

    In case of error, don't forget that you can submit directly your data to AutoModel.
    In attached file a working process produced by AutoModel which uses GBT (it was the best model for your regression model)
    You can notice that I removed the "att1" attribute which is basically an Id... ==> please check the GBT_regression_automodel.rmp process.

    Otherwise I tried to rebuild your process you showed in the picture (with the DT model) ==> You can check the Decision_tree_regression.rmp process in attached file. I set the "att1" attribute as "ID" as well.

    Hope this helps,

    Regards,

    Lionel 
  • Shahessi_10
    Shahessi_10 New Altair Community Member
    edited June 2021
    @lionelderkrikor @kayman

     Thank you So much for your reply and Suggestion. I want This tree to predict the new price for the missing car price value Using DT method. Can you help me by this 
  • lionelderkrikor
    lionelderkrikor New Altair Community Member
    Answer ✓
    @Shahessi_10,

    Here, you can find a process doing what you want to achieve.
    Basically I build a DT model with the examples with no missing value (Price) and then I'm applying this model
    to the examples with missing values (Price).

    Hope this helps,

    Regards,

    Lionel
  • Shahessi_10
    Shahessi_10 New Altair Community Member
    @lionelderkrikor
    Thank you so much i got my answer ..... 
  • Shahessi_10
    Shahessi_10 New Altair Community Member
    @lionelderkrikor
     i am uploading this  dataset in Rapid miner but its not working. Can you help please. This data is about chargeback of client 
    df.csv 550.1K
  • lionelderkrikor
    lionelderkrikor New Altair Community Member
    Hi @Shahessi_10,

    I'm able to read  your  NEW csv.file in RapidMiner successfully.........................................

    PLEASE EXPLAIN CAREFULLY WHAT YOU WANT TO ACHEIVE !
     
  • Shahessi_10
    Shahessi_10 New Altair Community Member
    @lionelderkrikor
     I want to know the person who got charge back or not ......

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.