These are chat archives for thunder-project/thunder

27th
Feb 2015
wolfbill
@wolfbill
Feb 27 2015 07:26
hello man, I met a problem when I test loadSeries function
Jeremy Freeman
@freeman-lab
Feb 27 2015 07:27
can you give more information? what problem? what data set? what environment are you running in?
wolfbill
@wolfbill
Feb 27 2015 07:27
I don't know how to solve the problem, who can help me ?
wolfbill
@wolfbill
Feb 27 2015 07:35
Thank you. I've already solved the problem.I found that it's caused by spark version
Jeremy Freeman
@freeman-lab
Feb 27 2015 07:42
ah, great to hear
wolfbill
@wolfbill
Feb 27 2015 07:53
when I run data = tsc.loadExample('fish-series').normalize()
I found that tsc.loadExample('fish-series') doesn't have attribution normanlize()
I don't know what I can use to replace normalize()
Could you tell me ?
Jeremy Freeman
@freeman-lab
Feb 27 2015 08:03
in the current master branch (which I assume you are running) normalize has been moved to a method on TimeSeries, so you can do the same thing with data = tsc.loadExample('fish-series').toTimeSeries().normalize()
we'll be sure to fix this in the tutorials/documentation with the next release
wolfbill
@wolfbill
Feb 27 2015 08:07
Thank yor for your responding.But your mannual has some problem.It's not good.Hope that the problem can be solved
wolfbill
@wolfbill
Feb 27 2015 08:28
Maybe I can help you
industrial-sloth
@industrial-sloth
Feb 27 2015 14:13
Hi @wolfbill - sounds like you are running the current master branch code (0.5.0_dev), but looking at the online documentation for the last released version (0.4.1, which is what you'd get if you pip install'd thunder). The tutorials have been updated in the repo to reflect the new location of normalize, but the version that is online is still for the released 0.4.1 code, not the dev code.
If in your git repo you do git checkout v0.4.1, then you'll get the released version; to build that from source, in the thunder/python directory do python setup.py clean bdist_egg, and in the thunder/scala directory do sbt clean package. Or just pip install thunder-python should give you this without having to rebuild.
thunder is still in its relatively early days (hence the 0.4 / 0.5 version number) and so the API is still in a bit of flux. We're trying to keep this as stable as possible without locking ourselves into design choices that in retrospect could be improved.
Jeremy Freeman
@freeman-lab
Feb 27 2015 18:46
One more thing @wolfbill : I've added a build of the documentation for the master branch at http://thunder-project.org/thunder/master/. We'll try to keep this documentation up to date with the version of the code on master, whereas the version at http://thunder-project.org/thunder/master/ will be for the most recent stable release. And the version tags in the upper left should make clear which version the documentation is for.
industrial-sloth
@industrial-sloth
Feb 27 2015 19:55
Slight clarification: docs for the current master branch are at:
http://thunder-project.org/thunder/master/
Docs for the released version are at:
http://thunder-project.org/thunder/