Mercurial > pylearn
changeset 734:f7957524f76e
Fixed imports so that more tests pass
author | Olivier Delalleau <delallea@iro> |
---|---|
date | Wed, 27 May 2009 14:15:35 -0400 |
parents | b39a9f02ef01 |
children | 3784ef7cdd71 |
files | pylearn/algorithms/tests/test_linear_regression.py pylearn/algorithms/tests/test_regressor.py |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pylearn/algorithms/tests/test_linear_regression.py Wed May 27 13:57:10 2009 -0400 +++ b/pylearn/algorithms/tests/test_linear_regression.py Wed May 27 14:15:35 2009 -0400 @@ -1,7 +1,7 @@ import unittest from pylearn.algorithms.linear_regression import * -from make_test_datasets import * +from pylearn.datasets.make_test_datasets import * import numpy class test_linear_regression(unittest.TestCase):
--- a/pylearn/algorithms/tests/test_regressor.py Wed May 27 13:57:10 2009 -0400 +++ b/pylearn/algorithms/tests/test_regressor.py Wed May 27 14:15:35 2009 -0400 @@ -1,6 +1,5 @@ - -import pylearn.algorithms as models +import pylearn.algorithms.regressor as models import theano import numpy import time