Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gz vs gy #2

Open
thecapacity opened this issue Jul 12, 2016 · 1 comment
Open

gz vs gy #2

thecapacity opened this issue Jul 12, 2016 · 1 comment

Comments

@thecapacity
Copy link
Contributor

I'm not sure it's an issue per say (I think it would only change the slope of the line) but just trying to grok this some more;

In your keynote; https://youtu.be/bSfe5M_zG2s?t=1859

  • You show the box_count "score" (i.e. the total count of box "hits" from line 77) as the X
  • However, in the code (line 83) these seem to be stored as Y; gy.append(math.log(box_count))
  • Similar observation for the Ys vs Xs (i.e. video shows 1/a_box_size) as Y but code (line 81) shows it as X

Can't tell you how much I appreciated the video (it spawned a crazy idea I'm working on to use the algo to evaluate complexity in federal agency IT activities) as well as the working code - I spent quite a bit of time trying to re-create the algo before I realized you'd probably posted your code!

thanks

@twobraids
Copy link
Owner

checkout the comment on line #2 for the original source of the code. It is conceivable that I erred when refactoring it my attempt to understand it. see http://code.activestate.com/recipes/578048-ifs-fractal-dimension-calculation/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants