In the former posts we discussed about the following points:
- There are special points in the contour of the fractal that can be used to derive its contour.
- Such points can be used to describe the fractal thru an iterative and deterministic algorithm.
The answer is yes, provided that we use a good technique to extract the contour points of the fractal image.
The algorithm (practical explanation)
We already noticed that points in the contour of the fractal are in tight relationship each other.
Since each linear transformation is described by exactly six parameters, for their determination we need at least 6 points for each transformation function.
The below image makes the concept clear:
|
- Extraction of the contour points thru convex hull algorithm;
- Build relationships among the points.
Left Image: Extraction of contour points thru Convex Hull. Right Image: Relationship among the points extracted. |
As showed both in the deterministic algorithm presented in the last post and in the above image, the points preserve an ordering that can be leveraged to simplify the complexity of the problem.
Consider for instance the fern case:
- the transformation that leads to the fixed point lying on the contour (highlighted in image-1) can be obtained (as explained in the points 1,2 of the deterministic algorithm) just creating the relationship among the consecutive points of the set $ l_1 $ described in Image-1 and in the below image:
Set of points to determine the Transformations |
For the first problem, we have to strategies: the brute force, that is, try all the possible combinations, or more wisely try the soft computing approach described below.
The fuzzy clustering approach (...unfortunately here some formulas are required)
The fuzzy clustering is a very well known algorithm that assigns the membership of a point to a cluster with a certain "degree", so the point $p_i$ might belong to the cluster $A$ with degree $x$ and to the cluster $B$ with degree $y$.
In this problem I modified the algorithm in this way:
- the clusters are the mapping functions that we want to discover.
- the probability associated to the fractal maps can be easily derived by the "size" of each cluster.
- The fuzzy-membership function is based on the minimisation of the distance between the point obtained applying to $x_i $ the contractive map $x_i^{'} = \tau_j(x_i) $ and all the other points falling in a reasonable neighbour. The animation below describes it.
- The update step of the centroids is aimed to minimise the distance between $ d(\tau (x_i)),\phi(x_i,\tau_j))$ computed over each $\tau$ and each $x_i$, where $\phi(x_i,\tau_j) = \arg\min_{x_s} d(\tau_j(x_i),x_s) $
- To minimise the above function, I used the gradient technique, working on the the following cost function:
- $ E(\theta)= \sum_{i=1}^{n}{(\mu_{x_i}(\tau_j)\cdot[d(\tau_j(x_i),\phi(x_i,\tau_j))]^2)} $
- For each mapping function, the correction to each param is the following:
- $\theta_i= \theta_i - \eta \frac{\partial E(\theta)}{\partial \theta_i}$
Results
Starting from the image of the fern (a jpg image containing 100.000 points) the application of the algorithm for the determination of the contractive maps gives the following result:
Contractive maps detection algorithm: in black the points of the original fern, in red,green, blue the three estimated maps. |
- The results are not bad, the weakness of the algorithm lays on the extraction of the points of the Convex hull of the fractal.
- The application of smarter contour extraction algorithm should improve further the accuracy of the algorithm.
Disclaimer
In the last posts about fractals I often abused the term contour of fractal. ...Theoretically speaking, a fractal cannot have a contour, but to make clear the pragmatical aspects I decided voluntarily such terminology.
Fractal
ReplyDeleteFraktal
ReplyDeleteIt was very inofrmative post with video explanation and will sure help in various data analysis and data minining process.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteData mining ! ! is a process used by companies to turn raw data into useful information. By using software to look for patterns in large batches of data, businesses can learn more about their b2b customers!to develop more effective marketing strategies, increase sales and decrease costs. Data mining depends on effective data collection, warehousing, and computer processing. Data mining also enhance B2B lead generation!, skip tracing services are also similar as Data mining services to find out quality data
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteWonderful blog. I delighted in perusing your articles. This is genuinely an incredible perused for me. I have bookmarked it and I am anticipating perusing new articles. Keep doing awesome!
ReplyDeletepmp certification in malaysia
I truly like your style of blogging. I added it to my preferred's blog webpage list and will return soon…what is hrdf
ReplyDeleteThankful to you for putting aside the push to convey this information important!
ReplyDeletehrdf claimable training
I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work.
ReplyDeletedata science training in hyderabad
Informative article. Thanks for sharing with us.keep it up.
ReplyDeletedata scientist online course
Get Data Science Certification from top-ranked universities UTM, Malaysia, and IBM.
ReplyDeletedata scientist training in malaysia
Ağrı
ReplyDeleteDiyarbakır
Bolu
Elazığ
Siirt
BQYHR
sinop
ReplyDeletesakarya
gümüşhane
amasya
kilis
QPP
amasya
ReplyDeletesinop
çorum
sakarya
van
W8LTÄ°
A6F59
ReplyDeleteSivas Evden Eve Nakliyat
Çerkezköy Evden Eve Nakliyat
MuÄŸla Evden Eve Nakliyat
Paribu Güvenilir mi
Ankara Asansör Tamiri
39A10
ReplyDeleteYenimahalle Boya Ustası
Bartın Lojistik
Kripto Para Nedir
Ünye Parke Ustası
Rize Evden Eve Nakliyat
Muğla Şehir İçi Nakliyat
Fuckelon Coin Hangi Borsada
Van Lojistik
Kayseri Şehir İçi Nakliyat
8C9DC
ReplyDeletebinance referans
C5C20
ReplyDeleteDüzce Görüntülü Sohbet Odaları
en iyi sesli sohbet uygulamaları
maraÅŸ bedava sohbet siteleri
eskişehir canlı görüntülü sohbet siteleri
görüntülü sohbet yabancı
osmaniye tamamen ücretsiz sohbet siteleri
kırşehir canli sohbet chat
Çorum Telefonda Kızlarla Sohbet
Kırıkkale Rastgele Sohbet Uygulaması
90F7C
ReplyDeleteSoundcloud Beğeni Satın Al
Görüntülü Sohbet
Binance Referans Kodu
Görüntülü Sohbet Parasız
Kripto Para Ãœretme Siteleri
Binance Referans Kodu
Kwai Takipçi Hilesi
Binance Neden Tercih Edilir
Periscope Beğeni Satın Al