AI-DecisionTree
view release on metacpan or search on metacpan
919293949596979899100101102103104105106107108109110111
- Now uses regular XS instead of Inline
for
the C code parts. [patch
by Matt Sergeant]
- Converted the inner loop of the best_attr() method to C code,
because it was spending a lot of
time
in accessor methods
for
the C
structures it was using. Don
't worry, I'
m not going C-crazy. I
won't be making many (any?) more of these kinds of changes, but
these ones were probably necessary.
- Removed a bit of debugging code that I left in
for
0.03.
0.03 Mon Sep 2 11:41:18 AEST 2002
- Added a
'prune'
parameter to new(), which controls whether the tree
will be pruned
after
training. This is usually a good idea, so the
default
is to prune. Currently we prune using a simple
minimum-description-
length
criterion.
- Training instances are now represented using a C struct rather than
a Perl hash. This can dramatically reduce memory usage, though it
( run in 0.619 second using v1.01-cache-2.11-cpan-26ccb49234f )