Mercurial > pylearn
changeset 735:3784ef7cdd71
Fixed some imports, but test_stacker is still not working
author | Olivier Delalleau <delallea@iro> |
---|---|
date | Wed, 27 May 2009 14:46:01 -0400 |
parents | f7957524f76e |
children | 331f35215ea5 |
files | pylearn/algorithms/tests/test_stacker.py |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pylearn/algorithms/tests/test_stacker.py Wed May 27 14:15:35 2009 -0400 +++ b/pylearn/algorithms/tests/test_stacker.py Wed May 27 14:46:01 2009 -0400 @@ -1,5 +1,6 @@ -import pylearn.algorithms as models +import pylearn.algorithms.stacker as models_stacker +import pylearn.algorithms.regressor as models_reg import theano import numpy import time @@ -7,8 +8,9 @@ def test_train(mode = theano.Mode('c|py', 'fast_run')): - reg = models.Stacker([(models.BinRegressor, 'output'), (models.BinRegressor, 'output')], - regularize = False) + reg = models_stacker.Stacker([(models_reg.BinRegressor, 'output'), + (models_reg.BinRegressor, 'output')], + regularize = False) #print reg.global_update[1].pretty(mode = mode.excluding('inplace')) model = reg.make([100, 200, 1],