# HG changeset patch # User Olivier Delalleau # Date 1243448135 14400 # Node ID f7957524f76ef902a22406f76c48381ea5af69dc # Parent b39a9f02ef01c8672a6a83647649c721127b4c78 Fixed imports so that more tests pass diff -r b39a9f02ef01 -r f7957524f76e pylearn/algorithms/tests/test_linear_regression.py --- 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): diff -r b39a9f02ef01 -r f7957524f76e pylearn/algorithms/tests/test_regressor.py --- 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