e = theanets.Experiment(theanets.feedforward.Regressor, layers=(2, 20, 1), optimize='sgd', activation='tanh')
Here's the stack trace
Couldn't import dot_parser, loading of dot files will not be possible.
Traceback (most recent call last):
File "simple_regression2.py", line 21, in <module>
activation='tanh')
File "/Users/user/python/theano-nets/theanets/main.py", line 89, in __init__
self.network = self._build_network(network_class, **kw)
File "/Users/user/python/theano-nets/theanets/main.py", line 101, in _build_network
return network_class(**kwargs)
File "/Users/user/python/theano-nets/theanets/feedforward.py", line 188, in __init__
_, encode_count = self.setup_encoder(**kwargs)
File "/Users/user/python/theano-nets/theanets/feedforward.py", line 226, in setup_encoder
self.x,
AttributeError: 'Regressor' object has no attribute 'x'
I'm new to this package. Is there something I'm missing?
I tried to initialize a feedforward regressor (code here: https://github.com/lmjohns3/theano-nets/issues/11, lmjohns3's first response). However, I get an error on this line:
Here's the stack trace
I'm new to this package. Is there something I'm missing?