Re: Insertion of decision variable values after the J48 tree is built

Peter Reutemann <[email protected]>
Newsgroups gmane.comp.ai.weka
Message-ID <CAHoQ12+Ps6kWt7d3n81pv+F+i4oepfq+tuDdCQJik-ZL82d2DA@mail.gmail.com>
> after the J48 tree is built, how can someone query for a result,
> i.e. how can someone give specific values to the decision variables
> in the nodes and get a corresponding result?

I'd probably craft an Instance with the specific values to check and
push it through the classifier's "classifyInstance" method. Using an
IDE's debugger, you could set a breakpoint at the relevant code line
and investigate what happens when the data arrives.

Cheers, Peter
-- 
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 577-5304
http://www.cms.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/
_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.