Info
This question is closed. Reopen it to edit or answer.
how to predict when model rules are converted to a matrix
1 view (last 30 days)
Show older comments
Hi every body I'm trying to implement a genetic algorithm on a decision tree, for my master thesis. First, I decide to convert the obtained decision tree in R to a matrix manually (it's a time consuming task cause I couldn't find a function to do this in R or Matlab) while each row of this matrix represents a rule of the tree. Now the question is that how I can use this matrix to predict accuracy of built model (Decision tree)through a new data? Is there any function to do this action in matlab?
Many thank for any response,
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!