Debian Codegraph @

Changes

raw
1 Revision history for Perl extension AI::DecisionTree.
2
3 0.11 - Fri Mar 2 21:26:51 CST 2012
4
5 - Fixed typo in docs - 'leaf_color' should be 'leaf_colors'. [spotted
6 by Julio Fraire]
7
8 - Silence a couple of Perl::Critic warnings
9
10 - Convert to Dist::Zilla
11
12 0.09 - Sat Jul 26 23:09:44 2008
13
14 - Make a new release so that a META.yml file is generated. [Suggested
15 by Alexandr Ciornii]
16
17 - as_graphviz(%args) wasn't passing %args through properly to the
18 GraphViz->new() method. Fixed. [Ian Knopke]
19
20 - get_result() can now take a callback subroutine, rather than just a
21 hash reference, to check the attributes of the given instance.
22 This allows lazy instance checking.
23
24 0.08 Mon Jul 7 18:01:16 CDT 2003
25
26 - Added a 'leaf_color' parameter for making GraphViz objects more
27 colorful.
28
29 0.07 Fri Jun 6 10:37:51 CDT 2003
30
31 - Created tests for the set_results() and copy_instances() methods.
32
33 - Added documentation for as_graphviz() and increased the information
34 contained in the GraphViz object.
35
36 - Added the ability to limit the absolute depth of the tree when
37 training.
38
39 0.06 Wed Sep 18 13:59:24 EST 2002
40
41 - Fixed an XS memory leak that was afflicting all training instances.
42 Added tests to make sure leak stays plugged.
43
44 - Added the 'purge' and 'verbose' parameters to new().
45
46 - add_instance() now accepts a 'name' parameter.
47
48 - Users can now control whether training instances are purged after
49 training, using the 'purge' parameter to new() and/or the
50 do_purge() method.
51
52 - Added the set_results() and copy_instances() methods, which let you
53 re-use training instances from one tree to another.
54
55 - Added the instances() and purge() accessor methods.
56
57 0.05 Thu Sep 12 01:22:34 AEST 2002
58
59 - Fixed a concurrency problem that occurred when making more than one
60 decision tree. All tree data is now stored as member data, not
61 class data.
62
63 - DecisionTree.pm is now pure-perl again (though Instance.pm still
64 has an XS component).
65
66 - Fixed a one-off bug in the Instance.xs code that could create
67 garbage data.
68
69 - Handles "sparse" data better. Sparse data means that every
70 attribute doesn't have to be defined for every training/test
71 instance. This can now be a meaningful property - the absence of a
72 value is currently equivalent to a special "<undef>" value.
73
74 - Don't trigger warnings when undefined attribute values are
75 encountered (as happens with sparse data).
76
77 - Added documentation for the 'prune' parameter to new()
78
79 - More consistent with memory allocation in Instance.xs - uses the
80 perl memory macros/functions from `perldoc perlclib` instead of raw
81 malloc/realloc/free.
82
83 - Catches possible infinite loop situations when growing the tree
84 (which shouldn't usually happen, but other mistakes can cause it)
85
86 - The Instance class now has a numeric-only interface, without string
87 translation. String translation is done in the main DecisionTree
88 class. This isn't really a user-visible change.
89
90 0.04 Wed Sep 4 19:52:23 AEST 2002
91
92 - Now uses regular XS instead of Inline for the C code parts. [patch
93 by Matt Sergeant]
94
95 - Converted the inner loop of the best_attr() method to C code,
96 because it was spending a lot of time in accessor methods for the C
97 structures it was using. Don't worry, I'm not going C-crazy. I
98 won't be making many (any?) more of these kinds of changes, but
99 these ones were probably necessary.
100
101 - Removed a bit of debugging code that I left in for 0.03.
102
103 0.03 Mon Sep 2 11:41:18 AEST 2002
104
105 - Added a 'prune' parameter to new(), which controls whether the tree
106 will be pruned after training. This is usually a good idea, so the
107 default is to prune. Currently we prune using a simple
108 minimum-description-length criterion.
109
110 - Training instances are now represented using a C struct rather than
111 a Perl hash. This can dramatically reduce memory usage, though it
112 doesn't have much effect on speed. Note that Inline.pm is now
113 required.
114
115 - The list of instances is now deleted after training, since it's no
116 longer needed.
117
118 - Small speedup to the train() method, achieved by less copying of data.
119
120 - If get_result() is called in a list context, it now returns a list
121 containing the assigned result, a "confidence" score (tentative,
122 subject to change), and the tree depth of the leaf this instance
123 ended up at.
124
125 - Internally, each node in the tree now contains information about
126 how many training examples contributed to training this node, and
127 what the distribution of their classes was.
128
129 - Added an as_graphviz() method, which will help visualize trees.
130 They're not terribly pretty graphviz objects yet, but they're
131 visual.
132
133 0.02 Sat Aug 10, 2002 21:02 AEST
134
135 - Added support for noisy data, currently by picking the best (most
136 common) result when noise is encountered. See the 'noise_mode'
137 parameter to new().
138
139 - Added the rule_tree() method, which returns a data structure
140 representing the tree. [James Smith]
141
142 - Significantly sped up the train() method, especially for large data
143 sets.
144
145 - The get_result() method is no longer implemented recursively, which
146 simplifies it and speeds it up.
147
148 - Reformatted the documentation and added a TO DO section.
149
150 - Documented the nodes() method.
151
152 0.01 Sat Jun 8 12:45:03 2002
153
154 - original version; created by h2xs 1.21 with options
155 -XA -n AI::DecisionTree
156