"Newbie decision tree help needed"

cortb
cortb New Altair Community Member
edited November 5 in Community Q&A
Total newbie here. Have been having extreme difficulty creating a decision tree using the following fields in an Excel file: bought price,lender,state,employment,pay period,monthly income,requested amt,employed months.
I want to make the Label column 'bought price' but then it complains about not being able to do a split test with numerical. Perhaps I'm going about this model the wrong way? Basically I want to find the relationships/correlations as it pertains to 'bought price' and the other variables. Any help would be sincerely appreciated.

-CB

Answers

  • el_chief
    el_chief New Altair Community Member
    what you are trying to do is predict a real number. this is called regression.

    while decision trees can sorta fake regression, they are really meant as classifiers. Classification means predicting a (small number of) whole numbers or classes.

    i would recommend trying Nearest Neighbors (k-NN) or linear regression