These are chat archives for thunder-project/thunder

Apr 2016
Alexis Chan
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/", line 83, in fit
    zscore = ZScore(X)
  File "/usr/local/lib/python2.7/dist-packages/thunder/regression/", line 19, in __init__
    self.mean = mean(X, axis=0)
  File "/usr/lib/python2.7/dist-packages/numpy/core/", line 2711, in mean
    return mean(axis=axis, dtype=dtype, out=out)
TypeError: mean() got an unexpected keyword argument 'axis'