java - Traversing weka J48 tree -
I created the database and J48 tree using the Weka API. I wanted to know that there is a way to cross a tree in real time (like asking input from the user) until the leaf is reached to classify the given inheritance (ask the user without the values of all the features )
I am doing this for a videogame. I tried to see the web for some information and I could not find anything. Apart from this, in all the 48 classes in the classroom, I do not see what I see.
Thanks a lot!
You can make your JAY decision tree and then output source code. Once you have the source code, you can modify it according to your needs! An example of outputting and modifying source code is shown in this.
However, if the decision tree is changing often, this is probably not the best choice. A good option is to make input from the user by making their own examples and classifying that. Unfortunately with that route you can ask more than enough questions to cross the tree.
Comments
Post a Comment