![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
these are really aesthetically pleasing:
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
![https://images.plurk.com/7rVcxoOq0Q3Jpeh0C2anSQ.jpg](https://images.plurk.com/mx_7rVcxoOq0Q3Jpeh0C2anSQ.jpg)
![https://images.plurk.com/5mPAvAjo9r29UiovkaiCTb.jpg](https://images.plurk.com/mx_5mPAvAjo9r29UiovkaiCTb.jpg)
![https://images.plurk.com/7wYWLNQxmyyjPFIpFM5g4X.jpg](https://images.plurk.com/mx_7wYWLNQxmyyjPFIpFM5g4X.jpg)
![](https://avatars.plurk.com/11688-medium67910107.gif)
SteveBob
Yes, they are.
![](https://avatars.plurk.com/3910131-medium80458191.gif)
🧊wotitdo🧊
math is very cool
![](https://avatars.plurk.com/1825175-medium2.gif)
JigmeDatse
Very much... But are they supposed to be so darn ... non-chaotic?
![](https://avatars.plurk.com/1825175-medium2.gif)
JigmeDatse
Deterministic looking?
![](https://avatars.plurk.com/1825175-medium2.gif)
JigmeDatse
The early parts look decently chaotic.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
the early parts are effectively noise due to poor statistics.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
these graphs are about the fractal nature of chaotic attractors. Specificly the Lorenz attractor in this case.
![](https://avatars.plurk.com/1825175-medium2.gif)
JigmeDatse
OK. Are these expected results?
![](https://avatars.plurk.com/1825175-medium2.gif)
JigmeDatse
That makes sense (I think).
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
yes - the lines on the first graph that have a long approximately straight region (constant slope) give accurate results.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
![https://images.plurk.com/7thynI997yICroesb0QW0L.png](https://images.plurk.com/mx_7thynI997yICroesb0QW0L.jpg)
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
^Lorenz Attractor, generated by a set of three coupled differential equations.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
It's fractal, which is defined as "self-similar on all scales (below that of the whole object)."
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
so if you zoom in on one area it looks a lot like before you zoomed in and no matter how far you zoom in it still looks like before you zoomed in...
![](https://avatars.plurk.com/1825175-medium2.gif)
JigmeDatse
if you've read Mandlebrot.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
so one way to test if an object is fractal is to ask, for a reference point, how many other points are in a neighbourhood of fixed radius?
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
only about Mandelbrot.
![](https://avatars.plurk.com/1825175-medium2.gif)
JigmeDatse
Ah, I have his Fractal Geometry of Nature. I've only dipped my toes into it.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
if you do this for a large number of reference points and for a big range of neighbourhood sizes, then plot the log of the number of neighbours vs. the log of the radiuses of the neighbourhoods, then a fractal will have a line of constant slope. The value of that slope is the Correlation Dimension, which will be non-integer.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
if you try to do this with real data, the fact that you have a finite number of points affects the results; at a small enough scale there are too few points and the results deviate from the straight line. Also, as the scale approaches the scale of the whole attractor, the number of points will saturate, which is what you see in the top right.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
just to additionally complicate things, what I've done here is try to reconstruct the full attractor from a time series of only one variable. The results are then parameter dependent.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
the best results are the ones with the longest straight-line segments. Generally, moving toward the right the results get worse.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
this is where my efficient agorithms come in; previously one had to guess the optimal parameters in advance because it took so long to do the calculations. Unfortunately none of the published methods of doing so reliably worked across a wide range of cases.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
there are 334 different parameter pairs represented on the graphs. It took ~10 s per case (1 hr total) to do all the calculations. The previous method takes ~3 mins per case on the same hardware.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
that would be ~17 hrs total.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
hence I can do a wide parameter range and pick the best ones, rather than guess the best one ahead of time and probably be wrong about it...
![](https://avatars.plurk.com/1825175-medium2.gif)
JigmeDatse
Very impressive...
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
the first derivative will be horizontal in the scaling region - which makes it easier to identify. The 2nd derivative will be zero in the scaling region.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
all the bad results mask the scaling region on those graphs...
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
...but they look really cool...
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
...and I've just cracked the theoretical explanation for the general structure of where graphs start relative to others, depending on the parameter pairs. (Again, you can't see it on these examples.)
![](https://avatars.plurk.com/1825175-medium2.gif)
JigmeDatse
Dang, I was having trouble with confirming the horizontal, where you have a constant slope... Brain is not braining.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
y = mx + c, dy/dx = m = constant. Then differentiate again, d^2y/dx^2 = 0.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
after I've slept I'll post an example where you can see what's going on...
![](https://avatars.plurk.com/3326572-medium18.gif)
beken
Fascinating.
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
![https://images.plurk.com/1SvpUgN7iY7Q5QLzIJ7tNA.jpg](https://images.plurk.com/mx_1SvpUgN7iY7Q5QLzIJ7tNA.jpg)
![https://images.plurk.com/5IU1F0mmK7hJ75xQpovrBs.jpg](https://images.plurk.com/mx_5IU1F0mmK7hJ75xQpovrBs.jpg)
![https://images.plurk.com/2GMrfKXl8K0MZdiemXN22o.jpg](https://images.plurk.com/mx_2GMrfKXl8K0MZdiemXN22o.jpg)
![](https://avatars.plurk.com/3293545-medium2.gif)
Arbieroo
^example where the scaling region is observable in the derivatives.
![](https://avatars.plurk.com/1825175-medium2.gif)
JigmeDatse
Very cool.
![](https://avatars.plurk.com/1403700-medium.gif)
Lemongrass
they are!