From: Mohiyuddin on 1 May 2010 20:59 hi, I am quite new to the CART algorithm. I have classified some data using the 'classregtree' command. But i have one problem. Now, once i submit a new data sample to a classification tree using 'eval' command, i get only the class name of that data, but i also want the probability of this classification. I want the value of probability by which each data sample belongs to a class. Is there any command which calculates this probability value. Also i have to set a threshold value 't' to this probability 'p' so as to satisfy the following condition for a variable x x=1 if p>t else x=0. But i don't know how to chose this threshold value for my data. Its my final year project and i am running out of time so someone please help me out quickly. ----Thanks
|
Pages: 1 Prev: how to read a line from an excel file Next: diesel generator model -MATLAB |