algorithm - Running trend or no trend Twitter rumor project -


i'm learning algorithms "trending topic", have read article stanislav nikolov, trend or no trend: novel nonparametric method classifying time series.

i tried downloading project in here. when tried run, error occurs:

hduser@master:~/rumor$ ./test_detection.py  traceback (most recent call last):   file "./test_detection.py", line 6, in <module>     ts_viral = rumor.parsing.parse_timeseries('data/' + sys.argv[1]) indexerror: list index out of range 

i intend run on hadoop cluster. do?

it means program needs command line parameters. sys.argv contains list of parameters, , since did not give any, there "index out of range" error. read manual carefully.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -