You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raceback (most recent call last):
File "dga_detection.py", line 314, in
load_data()
File "dga_detection.py", line 93, in load_data
training_data = alexa.top_list(1000000)
File "/Users/_______/Documents/PycharmProjects//venv/src/alexa-top-sites/alexa/init.py", line 32, in top_list
return [a.next() for x in xrange(num)]
StopIteration
thanx :)
The text was updated successfully, but these errors were encountered:
…but the top-1m.csv.zip downloaded by alexa/__init__.py only has ~576k domains now for some reason:
$ wc -l top-1m.csv
576602 top-1m.csv
A proper fix would be to change alexa/__init__.py to use actual line count from the file, but if you just want a quick one, change the number in dga_detection.py:93:
training_data = alexa.top_list(576602)
(count the lines yourself, it probably changes often)
raceback (most recent call last):
File "dga_detection.py", line 314, in
load_data()
File "dga_detection.py", line 93, in load_data
training_data = alexa.top_list(1000000)
File "/Users/_______/Documents/PycharmProjects//venv/src/alexa-top-sites/alexa/init.py", line 32, in top_list
return [a.next() for x in xrange(num)]
StopIteration
thanx :)
The text was updated successfully, but these errors were encountered: