Re: [ANNOUNCE] AI::DecisionTree 0.01 -> CPAN
[email protected] ("Steffen Mueller") Mon, 10 Jun 2002 16:36:16 +0200
| Newsgroups | perl.ai |
|---|---|
| Message-ID | <[email protected]> |
"Ken Williams" <[email protected]> schrieb im Newsbeitrag news:[email protected]... | I've just uploaded a Decision Tree module to CPAN. It provides | a pretty bare-bones implementation of the classic ID3 decision | tree building algorithm. Very interesting module. I will play with it in the newar future :) | LIMITATIONS | A few limitations exist in the current version. All of them could be | removed in future versions - especially with your help. =) I hope you count feedback as such! | No continuous attributes | | In the current implementation, only discrete-valued attributes are | supported. This means that an attribute like "temperature" can have | values like "cool", "medium", and "hot", but using actual | temperatures | like 87 or 62.3 is not going to work. [...] I guess you could have a look at Robert Rothenbergs Tie::RangeHash module. It should help a lot for numerics. Maybe you can just recommend its use in the docs of your module. Steffen -- @n=(544290696690,305106661574,116357),$b=16,@c=' ,JPacehklnorstu'=~ /./g;for$n(@n){map{$h=int$n/$b**$_;$n-=$b**$_*$h;$c[@c]=$h}c(0..9); push@p,map{$c[$_]}@c[c($b..$#c)];$#c=$b-1}print@p;sub'c{reverse @_}