[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wekalist
Subject:    Re: [Wekalist] I have a question in Classifier.java
From:       "Peter Reutemann" <fracpete () cs ! waikato ! ac ! nz>
Date:       2006-08-27 1:51:48
Message-ID: 9245.202.150.118.205.1156643508.squirrel () webmail ! scms ! waikato ! ac ! nz
[Download RAW message or body]

> these days i engage in the algorithm Random Forests in weka. But i have
> some
> question  in reading the code. I found the function in
> weka.classifiers.Classifier.java
> public double[] distributionForInstance(Instance instance) throws
> Exception
> and
> public double classifyInstance(Instance instance) throws Exception
> seem have contradiction, suppose the parameter instance's classAttibute is
> NOMINAL or NUMERIC, the functions will call each other and seem have no
> ending and there will be an unlimited  recursion.

This post explains this topic:
https://list.scms.waikato.ac.nz/pipermail/wekalist/2006-May/006886.html

Cheers, Peter
-- 
Peter Reutemann, Dept. of Computer Science, University of Waikato, NZ
http://www.cs.waikato.ac.nz/~fracpete/     +64 (7) 838-4466 Ext. 5174


_______________________________________________
Wekalist mailing list
Wekalist@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic