Fixing tests for UBUNTU 12.04

parent 9198f6bb
......@@ -22,7 +22,7 @@ class TestBoosting(unittest.TestCase):
# get the data
inputs, targets = [], []
for digit in digits:
input, target = self.database.data(labels = digit)
input, target = TestBoosting.database.data(labels = digit)
inputs.append(input[:count])
targets.append(target[:count])
return numpy.vstack(inputs), numpy.hstack(targets)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment