These are chat archives for thunder-project/thunder

2nd
Apr 2016
Alexis Chan
@alexisylchan
Apr 02 2016 15:30

Tried to answer @zuxfoucault 's question by upgrading to thunder-python 0.6 and peeking in the test files. I tried this

from thunder import LinearRegression
results = LinearRegression(zscore=True).fit(series,X)

Looks like there's incompatibility with Python 2.7 or Numpy 1.8.2 ?

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/thunder/regression/linear/algorithms.py", line 83, in fit
    zscore = ZScore(X)
  File "/usr/local/lib/python2.7/dist-packages/thunder/regression/transformations.py", line 19, in __init__
    self.mean = mean(X, axis=0)
  File "/usr/lib/python2.7/dist-packages/numpy/core/fromnumeric.py", line 2711, in mean
    return mean(axis=axis, dtype=dtype, out=out)
TypeError: mean() got an unexpected keyword argument 'axis'