Execution time

12 views
Skip to first unread message

Alex

unread,
Apr 24, 2017, 5:58:32 AM4/24/17
to powerlaw-general
Can anyone share experience about the execution time for this typical case:

import powerlaw
data = array([1.7, 3.2 ...]) # data can be list or numpy array
results = powerlaw.Fit(data)
print results.power_law.alpha
print results.power_law.xmin
R, p = results.distribution_compare('power_law', 'lognormal')

I have a 500k array and its been running for 3 hours. Can anyone tell me your execution time? For example, like 10k data, x minutes? 

Thank you.

Jeff Alstott

unread,
Apr 24, 2017, 6:47:01 PM4/24/17
to powerlaw...@googlegroups.com
Hi Alex,

Have you tried taking samples of your data and seeing how the runtime scales as you increase the sample size?

--
You received this message because you are subscribed to the Google Groups "powerlaw-general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to powerlaw-general+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages