ArunkumarRamanan / aima-python

Automatically exported from code.google.com/p/aima-python
0 stars 0 forks source link

Bug in constructor for DataSet class within learning.py #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Examples are checked via: map(self.check_example, self.examples). 
self.check_example makes reference to self.attrs and self.attrnames, both
of which have not been initialized prior to making the map call.

Moving the map call to the end of the constructor fixes the problem.  

Original issue reported on code.google.com by dls8...@gmail.com on 6 Dec 2007 at 1:52

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r72.

Original comment by wit...@gmail.com on 15 Sep 2011 at 3:26