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
Post a Comment