<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bariscan Gungor on Medium]]></title>
        <description><![CDATA[Stories by Bariscan Gungor on Medium]]></description>
        <link>https://medium.com/@bariscangungor?source=rss-4263073201a5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZzQPWY3ga_ayG5iT2gLPWQ.png</url>
            <title>Stories by Bariscan Gungor on Medium</title>
            <link>https://medium.com/@bariscangungor?source=rss-4263073201a5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 15:02:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bariscangungor/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Geleceğe Dönüş: Yazılım Geliştirme]]></title>
            <link>https://bariscangungor.medium.com/gelece%C4%9Fe-d%C3%B6n%C3%BC%C5%9F-yaz%C4%B1l%C4%B1m-geli%C5%9Ftirme-6660a7693102?source=rss-4263073201a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/6660a7693102</guid>
            <category><![CDATA[otomasyon]]></category>
            <category><![CDATA[yapay-öğrenme]]></category>
            <category><![CDATA[github-copilot]]></category>
            <category><![CDATA[yapay-zeka]]></category>
            <category><![CDATA[digital-assistant]]></category>
            <dc:creator><![CDATA[Bariscan Gungor]]></dc:creator>
            <pubDate>Sun, 22 Aug 2021 20:02:53 GMT</pubDate>
            <atom:updated>2021-08-22T20:02:53.303Z</atom:updated>
            <content:encoded><![CDATA[<p>İTÜ Çekirdek Blog‘da yayınlanan orjinal içeriği okumak için: <a href="https://bit.ly/2W76d4v">https://bit.ly/2W76d4v</a></p><p>İçinde bulunduğumuz son yıllarda, teknoloji meraklılarını epeyce heyecanlandıran gelişmeler yaşanıyor. Gartner’ın 2021 stratejik teknoloji trendleri raporuna baktığımızda, bizi bekleyen yeni nesil gelişmelerin üç ana grupta toplandığını görüyoruz: İnsan odaklı, lokasyon bağımsız, esnek ve dayanıklı. Hepsinin ortak noktaları ise yapay zeka ve otomasyon ile dağıtık ve adem-i merkezi (merkezi olmayan) mimariler. Bunlarla birlikte özellikle yazılım alanında, hem son kullanıcıların hem de geliştirme uzmanlarının hayatını kolaylaştıracak çözümlere her gün bir yenisi daha ekleniyor dersek mübalağa etmiş olmayız.</p><p>Bilgisayar başına geçtiğimizde yaptığımız işlerin bazıları sezgisel ve yorum gerektirirken, bazıları da prosedürel ve sürekli yinelenen işlerden oluşuyor. Tekrarlanan rutin görevleri otomatize ederek yaratıcılığımızı konuşturabileceğimiz işlere daha fazla odaklanmamıza yardımcı olan, yani bizlere zaman üreten yazılımlar oldukça popülerleşiyor. Bu yazılımlar genellikle Otomasyon adı verilen bir kategoride incelenmekte. Yazılım teknolojilerinin gelişmesiyle birlikte otomasyon yetenekleri de oldukça ilerledi ve insanları taklit edebilen yazılım robotları, başka bir deyişle RPA (Robotic Process Automation — Robotik Süreç Otomasyonu) çözümleri, birçok sektörde kullanılmaya ve yaygınlaşmaya başladı.</p><p>Dijital yardımcı (Digital Assistant) uygulamalar sadece RPA gibi, insanın yaptığı prosedürel bir görevi birebir taklit edebilen, çözümlerle sınırlı değil. Yapay zekanın, özellikle derin öğrenme algoritmaları ile bir nevi sıçrama ile kendi sınırlarının ötesine geçtiği ve GPT (Generative Pre-trained Transformer — Üretken Ön İşlemeli Dönüştürücü) ile tanıştığımız heyecan verici bir döneme şahitlik ediyoruz. Bazılarımızın bildiği gibi Elon Musk‘ın da kurucularından olduğu OpenAI tarafından geliştirilen GPT-3 ile yapay zekanın kendi elinden yazdığı makaleleri ve yine yapay zeka tarafından bu makalelerin farklı dillere otomatik olarak çevrildiği haberini şaşkınlıkla okumuştuk. Bunun üzerine yine geçtiğimiz sene aynı kuruluşun, artık yapay zekanın bizler için yazılım da geliştirebileceği duyurusunu büyük bir merakla karşıladık. Henüz emekleme evresinde olsa da internette bazı tanıtımlara (demo) ulaşmak ve denemek mümkün. Esprili bir ilgi çekici örnek denemek isterseniz, hadi bana karpuza benzeyen bir buton yarat, diyebilirsiniz. Şimdilik bunun İngilizce dilinde yapılabildiğini ve daha yolun başında olduğunu belirtmekte fayda var. Otomasyon ve yapay zekanın bir araya gelerek yeni bir alan oluşturduğunu görmek ve bu teknolojilerin hızla ilerlemesi tüm dünyayı oldukça etkiledi.</p><p>Gelinen noktayı belki de en güzel betimleyen ve özetleyen OpenAI ve Github‘ın birlikte yaptığı en son duyuru oldu. Verilen son müjde de artık, yazılım geliştirme yolculuğunda sanki size yol arkadaşlığı yapan, hatta daha ötesinde tam yanı başınızda size yol gösteren ve birlikte kod yazdığınız bir yapay zekanın bizlere sunulduğunu görüyoruz: Github Co-pilot. Github, çoğumuzun bildiği gibi yakın zamanda Microsoft tarafından satın alınan, milyonlarca yazılımcının ürettiği milyarlarca satır programı içeren bir kod havuzu, yazılım barındırma platformu. Co-pilot ise işte bu milyarlarca satır kodun GPT-3 algoritmaları ile analiz edilmesi ve eğitilmesi ile ortaya çıkan yapay zeka tabanlı bir araç. Betik tabanlı dillerden, derlenebilen dillere kadar bir düzine programlama dilini öğrenmiş, bilen ve sizinle bu dillerde konuşabilen bir dijital yazılımcı. Öyle bir yazılımcı ki, siz onunla kod geliştirdikçe kendisini eğitmeye ve geliştirmeye devam ediyor. Başka bir deyişle, ne kadar çok yaygınlaşıp kullanılırsa, o kadar güçlenecek ve daha akıllı hale gelecek.</p><p>Bugünün fotoğrafını iyi çekerek hangi alanlarda nasıl çözümler üretmek değer yaratır, bu değeri oluştururken çözümü hangi teknolojilerle hayata geçirmek en anlamlı ve verimli olanıdır, ısrarla üzerine düşünmek, girişimcileri farklı kılan ve diğerlerinden ayıran, geliştirilebilen ve önemli bir yetenektir. Yarının gerçekleri, bugünün hayallerinden doğar. Hayalleri güçlü ve öngörüsü yüksek olanlar geleceği inşa eder. Geri kalanlar ise bu baş aktörlerin doldurduğu sahneye uzak, seyirci koltuklarıyla yetinir. Kendilerini bu yönde geliştiren girişimciler yetiştirmek, ülke olarak dünyada örnek etkin bir aktör olabilmemiz için kaçınılmazdır. Bu yazıda değinemediğimiz daha birçok yeni nesil teknoloji, akım ve ekol bizler için bir fırsat olarak önümüzde duruyor.</p><p>İTÜ Çekirdek Blog‘da yayınlanan orjinal içeriği okumak için: <a href="https://bit.ly/2W76d4v">https://bit.ly/2W76d4v</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6660a7693102" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unsupervised Machine Learning: Intuitive Understanding of Cluster Analysis]]></title>
            <link>https://bariscangungor.medium.com/unsupervised-machine-learning-intuitive-understanding-of-cluster-analysis-d0a304d074aa?source=rss-4263073201a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0a304d074aa</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-mining]]></category>
            <category><![CDATA[clustering-analysis]]></category>
            <category><![CDATA[intuitive]]></category>
            <category><![CDATA[unsupervised-learning]]></category>
            <dc:creator><![CDATA[Bariscan Gungor]]></dc:creator>
            <pubDate>Tue, 15 Jun 2021 15:55:07 GMT</pubDate>
            <atom:updated>2021-06-15T15:55:07.262Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Cluster Analysis</h3><p>Cluster Analysis is a form of exploratory data analysis in which observations are divided into different groups that share common characteristics. In other words, finding similarities between data according to the characteristics found in the data and grouping similar data objects into clusters.</p><p>It is an unsupervised learning method and a pattern-finding technique for mining inspiration from the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*63uuxpNx4OVBFcPx" /></figure><p>The major clustering approaches are Partitioning Approach which includes K-Means and K-Medoids, Hierarchical Approach which includes Diana and Agnes, and Density-based Approach which includes DBSCAN.</p><h3>K-Means Clustering</h3><p>The most popular and used algorithm in clustering is K-Means. The best intuition for this algorithm can be obtained by illustrations. This algorithm groups unlabeled dataset into coherent subsets (clusters). It is a simple iterative algorithm that has only two steps: first is the cluster assignment step, and second is the moving the centroid step. The following visualizations are explained step-by-step to show how K-Means clustering works under the hood and iteratively execute its steps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/0*bDTtxebTqbHPLcZ4" /></figure><p><strong>Cluster centroids: </strong>A centroid is a point at the center of a cluster. Each centroid is set to the arithmetic mean of the cluster it belongs to.</p><p>Let us want to extract two sub-groups (clusters) from our data. Please mind that, we do not have any labels initially, but we choose a “k” intuitively for now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/0*qvJKqo_L3YjxL1Zv" /></figure><p><strong>1st Step — Cluster Assignment: </strong>Algorithm initializes two random points, shown as red and blue in the above diagram. Choosing the right kth of points among the dataset is the suggested way of initializing random points, though for the illustration purposes in the graphical representation above the random points are initialized differently than given dataset. The first step is the cluster assignment step. In a loop it iterates over each data point to calculate which point (red or blue) they are closest to. It assigns each of the data points to one of the two cluster centroids (either red or blue).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/0*99cA8IMVGbYQ_twr" /></figure><p><strong>2nd Step — Move Cluster Centroids: </strong>The next step is calculating the average of each cluster, which is the mean of the location of all red points and blue points respectively, and moving the centroids to the new means in each of the clusters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*MrG0OcrmggJfWe35" /></figure><p>And then iterate again, which is the first step of assigning the cluster centroids, by calculating the closest distance, as the following illustration shows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/0*Dcn3158i5zwJgzFc" /></figure><p>The K means algorithm takes two inputs, one is X which is the unlabeled training set of data, the other one is a parameter K which is the number of clusters to find in the data (choosing “K” is handled in another further topic).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/0*LrA61E9LT24Gk0pb" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/0*pdUnsL0yKZxK57rk" /></figure><p>Here at this particular iteration again, the algorithm calculates new means and moves the centroids to the new points. And it stops due to no further iteration that can change the state anymore (assigning to a new cluster or finding a new mean).</p><p>The convention for data is x(i) which is an Rn dimensional vector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/0*QOkMNDjKqB-WWDk1" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/0*e1NGqrOwusMvT7ZF" /></figure><p><em>K: Total number of centroids</em></p><p><em>k: Index of the centroid</em></p><p><strong>Example</strong>: <em>c(2)=3 → </em>2nd example is assigned to cluster 3</p><p>So out of all the possible values of <em>k </em>∈{1,2,…,<em>K</em>} the value <em>k</em>=3 minimizes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/108/1*lv0lviuKaMNqphu3UIoG8w.png" /></figure><p>The first step is randomly initializing k cluster centroids, 1,2, up to k. In the previous demonstration we had K=2 clusters, which were red and blue. Thus regarding the algorithm notation here, centroid red cross might be 1, and the blue might be 2.</p><p><strong>Explanation of 1st Step — Cluster Assignment: </strong>For each of the training data, a variable is declared and initialized as index from 1 to K, of the cluster centroid closest to x(i). This is the cluster assignment step, where each of the data points are being colored either red or blue, depending on which cluster centroid the data point is closest to, using a distance calculation function. Accordingly, c(i) is going to be a number from 1 to K which indicates whether it is closer to the red cross or is it closer to the blue cross.</p><p>The aim is to iterate over the values, and find the value of k that minimizes this distance between x and the cluster centroid, so that c is set as the value of k that minimizes this.</p><p>The next step is moving the centroids.</p><p><strong>Explanation of 2nd Step — Move Cluster Centroids: </strong>This part is calculated during the second for loop in the above representative pseudo-code. Now there are already assigned X variables and their corresponding cluster centroids which are the points they are most close to each. Here the simple calculation is done as it is just taking the average of the data set in each cluster respectively as set k.</p><p>In other words, for each of the cluster centroids, for lower case k equals 1 through K, algorithm sets k equals to the average of the points assigned to the cluster.</p><p><strong>Example</strong>:</p><p><em>c(1)=2 → </em>1st example is assigned to cluster 2</p><p><em>c(2)=2 → </em>2nd example is assigned to cluster 2</p><p><em>c(4)=2 → </em>4th example is assigned to cluster 2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*LDihPaibPb0LyInWhJrfDw.png" /></figure><p>So as one of the samples above, if these three data (examples) are all assigned to cluster 2, and cluster 2 has only these three data, then the new centroid can be calculated just by taking average, adding them all and dividing by the size of the data set belonging to (assigned to) cluster 2.</p><p><strong>K-Means Algorithm Optimization</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/0*Y2OHiHxppVAfL80Z" /></figure><p>Optimization objective is minimizing the cost function <em>J</em> (or distortion). Cluster assignment step, which is the first repeat function (loop) in the above representational pseudo-code, the algorithm does this minimizing cost function, which is square distance of each x to the locations of centroids respectively. And in the second loop in the above pseudo-code which corresponds to 2nd step of the algorithm which is moving centroids, algorithm tries to chooses the values of averages (<strong>μ</strong>) to minimize the cost function <em>J </em>with respect to location of the centroids.</p><p><strong>Random Initialization</strong></p><p>For the illustration purposes in the previous graphical representations, the random points are initialized differently than the given dataset. However, choosing the right kth of points among the dataset is the recommended way of initializing random points. K-Means might end-up with different solutions depending on how clusters are initialized.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*XSBybXtY1Uw-WsQw" /></figure><p>In some cases such as unlucky random initialization, it can get stuck at a <strong>local optima</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/0*ilQm5R3RVFNUMlOD" /></figure><p>The solution to preventing local optima is trying multiple random initialization, and choosing the good option among them. In implementation, k-means random initialization can be run a hundred times, for instance. In each iteration cost function <em>J </em>can be collected and that would be the lowest one, as the algorithm shows below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/0*qWRyBZJjld4gpnD6" /></figure><p>During random initialization, going through a huge amount of iterations might end up with redundant outcomes, namely the very first iterations might give better results, so in that case breaking the iteration and keeping it short would be efficient.</p><p><strong>What is the right value of K?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/348/0*z6D2ff0qdveilg-2" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/0*GcHigNSZ7rXKqdPS" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/0*7crA1sBv0wJeZBQJ" /></figure><p>In the above examples, it seems quite ambiguous to say which number of clusters would be the best or better option just by looking at the graphical representation of the data. Moreover, there are a number of methods to find the right(!) value of K.</p><p><strong>Elbow Method</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*p4nj1Nv4TssjkCLV" /></figure><p>Here there are six different K selections and the outcome of the decision is represented in above. In the elbow method, the longest distance in each selection of K is measured for each cluster for that specific K. That can be called cost function <em>J </em>as well that tells how much minimized (relatively better) it is. Here is the illustration below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DKHGBL977fQ9amK1" /></figure><p>The next step is putting the distances on a graph in which the horizontal axis is the number of clusters, and the vertical axis is the diameter (cost function or distortion). Then the last step is joining the points as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*A5tRvG_0VxG7x_GE" /></figure><p>Elbow method might fail at times if the elbow point, which can be calculated by slope (using a tangent / derivative function), cannot be precisely determined in case the function is much more ambiguous to locate the elbow point, like shown below right.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/0*ee5W7i9ZI3MMDL9Q" /></figure><p><strong>Based-on a Metric / Purpose</strong></p><p>There might be some purpose regarding the problem such as market segmentation and so forth. Here an example for t-shirt business, in this scenario there can be seen a customer data plot with weights and heights. The left hand side, K=3 is chosen, whereas the right hand side, K=4 is chosen. Based on a metric / purpose, for this example it is based on the t-shirt business perspective, K can be chosen depending on the metric of how well the sizes would best fit with my customers and increase comfort.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*rnll9jozAHZFeche" /></figure><p>In a nutshell, a good clustering method would produce high quality clusters with high intra-class similarity and low inter-class similarity.</p><p><strong>PAM / Clara Algorithms</strong></p><p>As an implementation example in R programming, <strong><em>pamk </em></strong>function is used to call either the function pam or clara and perform a partitioning around medoids clustering with the number of clusters estimated by optimum average silhouette width or Calinski-Harabasz index (calinhara). The Duda-Hart test is applied to decide whether there should be more than one cluster.</p><p><strong>Example (implementation in R)</strong>:</p><p><strong><em>pamk(autox.scaled.df, 2:10)</em></strong></p><ul><li>Find number of clusters (ranging from 2 to 10) with performing either PAM (or CLARA if usepam=FALSE)</li><li>Default value of usepam parameter is TRUE in pamk function, so the analysis is done with PAM</li></ul><p><strong>Sample Output:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*YzRdwZrVkc5UK3zr" /></figure><p><strong>Similarity Measures</strong></p><p>Similarity measure and its implementation plays a role in the quality of a clustering outcome. Basic metrics can be counted as such: centroid, radius, diameter, etc.</p><p>Centroid, the middle of a cluster:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/248/0*tMSV0ZSjX1QwZjCQ" /></figure><p>Radius, square root of avg. distance from any point of the cluster to its centroid:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/329/0*snpvJZhbGgKnnvVh" /></figure><p>Diameter, square root of avg. mean squared distance between all pairs of points in the cluster:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*8AkIzgd8diYI8h_5" /></figure><p>Single link, smallest distance between an element in one cluster and an element in the other, i.e., dis(Ki, Kj) = min(tip, tjq)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/219/0*5qR2pM4gjt77cXb1" /></figure><p>Complete link, largest distance between an element in one cluster and an element in the other, i.e., dis(Ki, Kj) = max(tip, tjq)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/238/0*hXl2PVw6HCDbHBdU" /></figure><p>Medoid, distance between the medoids of two clusters, i.e., dis(Ki, Kj) = dis(Mi, Mj)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/116/0*WAiDjRHjF_Hq0-Z-" /></figure><p>Centroid, distance between the centroids of two clusters, i.e., dis(Ki, Kj) = dis(Ci, Cj)</p><p>Average, avg distance between an element in one cluster and an element in the other, i.e., dis(Ki, Kj) = avg(tip, tjq)</p><p><strong>Weaknesses of K-Means Algorithm</strong></p><p>Applicable only when mean is defined, and data is numeric. If there are some categorical data, they need to be converted into numeric representations (aka dummy variables). In K-Means, the number of clusters K need to be specified in advance, at least the available range should be provided to run the algorithm with different k values. The quality of this clustering algorithm depends on the unit of measure, and it is not suitable to discover clusters with non-convex shapes (rather density-based clustering is used for this purpose). K-Means works best when clusters are of approximately equal size, and it is unable to handle noisy data and outliers, as can be shown below when the k=2 the two intuitively natural clusters are not captured.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/0*kw-PDVlvHz8isQWW" /></figure><h3>K-Medoids Clustering</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*ETr-hN3cNMcvMtvx" /></figure><p>K-medoids clustering is based on the concept of medoids (representative objects). Both the k-means and k-medoids algorithms are partitional (breaking the dataset up into groups). K-means selects the center of the cluster, and is affected by the outliers, whereas K-medoids selects the most-centered member of the cluster (data itself).</p><p>K-Medoids would perform better if the dataset includes outliers, rather than K-Means, due to the mean average being affected by the outliers much more than medoids.</p><h3>Hierarchical Clustering</h3><p>It is a cluster of single clusters which shows the merging of different clusters. Hierarchical clustering starts by treating each observation as a separate cluster. Then, it repeatedly executes the following two steps:</p><ol><li>Identify the two clusters that are closest together</li><li>Merge the two most similar clusters</li><li>This iterative process continues until all the clusters are merged together</li></ol><p>Euclidean distance is used for measuring similarity, which is the distance between two clusters that has been computed based on the length of the straight line drawn from one cluster to another. Clustering crime sites in a city can be a good example of it.</p><p>Major weaknesses of agglomerative clustering methods are that first they do not scale well, time complexity of at least O(n2) (n: # of total objects), and second if applied these methods then cannot undo what was done previously.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*P4-D5IrCjeN6VErP" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*F8850ptiYIo8IiQY" /></figure><p><strong>AGNES </strong>(Agglomerative Nesting)</p><p>Uses the Single-Link method and the dissimilarity matrix, merges nodes that have least similarity, and eventually all nodes belong to the same cluster, in a non-descending fashion</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9ijZ_wLYb7CqREH0" /></figure><p><strong>DIANA</strong>(Divisive Analysis)</p><p>Inverse order of AGNES, and eventually each node forms a cluster on its own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-xU3pk1N-uvi6-bL" /></figure><h3>Density-based Clustering (Dbscan)</h3><p>The key idea is that for each point of a cluster, the neighborhood of a given radius has to contain at least a minimum number of points. The goal is to identify dense regions, which can be measured by the number of objects close to a given point. Partitioning methods (K-means, PAM clustering) and hierarchical clustering are suitable for finding spherical-shaped clusters or convex clusters.</p><p>Density parameters:</p><ul><li>Epsilon: distance, defines the radius of neighborhood around a point x (standard deviation)</li><li>Minpoints: # of neighbors, is the minimum number of neighbors within “eps” radius (crowdedness of this neighborhood)</li><li>Core (seed) Point: Any point x in the dataset, with a neighbor count greater than or equal to Minpoints,</li><li>Border Point: If the number of its neighbors is less than Minpoints, but it belongs to the epsilon-neighborhood of some core point z</li><li>Noise Point (or outlier): if a point is neither a core nor a border point</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/0*-vxi53kC-2mQOihq" /></figure><p>DBSCAN Algorithm:</p><ul><li>Arbitrary select a point p</li><li>Retrieve all points density-reachable from p wrt Eps and Minpoints.</li><li>If p is a core point, a cluster is formed.</li><li>If p is a border point, no points are density-reachable from p and DBSCAN visits the next point of the database.</li><li>Continue the process until all of the points have been processed.</li></ul><p>Unlike K-Means, DBSCAN does not require the user to specify the number of clusters to be generated. DBSCAN can find any shape of clusters, the cluster doesn’t have to be circular.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/0*fjBKHHlDVRkT5oFc" /></figure><p>They can identify outliers:</p><ul><li>Picks a random point,</li><li>If the point is not very close to any other points, then move on to another random point and start over</li></ul><h3>References</h3><ul><li>Alpaydın E., (2014) Introduction to Machine Learning</li><li>Andrew NG, <a href="https://www.coursera.org/learn/machine-learning">https://www.coursera.org/learn/machine-learning</a></li><li>Cassie Kozyrkov, <a href="https://www.youtube.com/watch?v=X3nGqDosNtk&amp;t=157s">https://www.youtube.com/watch?v=X3nGqDosNtk</a></li><li>G. Ravali1 , P.Swathi Moulika2 , A.A parna3 , J.Abhinaya4 , T.Anuradha (2017), Analysing YouTube Data Using K-Means Clustering</li><li>Calinski, R. B., and Harabasz, J. (1974) A Dendrite Method for Cluster Analysis, Communications in Statistics, 3, 1–27.</li><li>Duda, R. O. and Hart, P. E. (1973) Pattern Classification and Scene Analysis. Wiley, New York.</li><li>Decisive Data, <a href="https://www.youtube.com/watch?v=Se28XHI2_xE">https://www.youtube.com/watch?v=Se28XHI2_xE</a></li><li><a href="https://www.youtube.com/channel/UCgBncpylJ1kiVaPyP-PZauQ">Luis Serrano</a>, <a href="https://www.youtube.com/watch?v=QXOkPvFM6NU&amp;t=620s">https://www.youtube.com/watch?v=QXOkPvFM6NU</a></li><li>Hennig, C. and Liao, T. (2013) How to find an appropriate clustering for mixed-type variables with application to socio-economic stratification, Journal of the Royal Statistical Society, Series C Applied Statistics, 62, 309–369.</li><li>Kaufman, L. and Rousseeuw, P.J. (1990). “Finding Groups in Data: An Introduction to Cluster Analysis”. Wiley, New York.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0a304d074aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blockchain ve ötesi]]></title>
            <link>https://bariscangungor.medium.com/blockchain-ve-%C3%B6tesi-40327b9c4747?source=rss-4263073201a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/40327b9c4747</guid>
            <category><![CDATA[blokzinciri-teknolojisi]]></category>
            <category><![CDATA[democratization]]></category>
            <category><![CDATA[decentralization]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[sosyal-girişimcilik]]></category>
            <dc:creator><![CDATA[Bariscan Gungor]]></dc:creator>
            <pubDate>Sun, 30 May 2021 12:47:03 GMT</pubDate>
            <atom:updated>2021-08-22T20:43:32.781Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*eD23Nk7Xo97INe_W5D_foQ.jpeg" /></figure><p>Ne olduğunu anlamaya çalışıyordum o konfetinin. Baskılara dayanamayıp dahil olduğum Clubhouse dünyasında, yeni gelenlere bir hoş geldin edası olduğunu öğrendim. Madem hoş geldim, biraz hoş vakit geçirelim dedim ve kanallara girmeye başladım (kanal yerine oda deniliyor olabilir). Bir soru ile karşılaştım ve beni düşündürdü: Günümüzün en önemli teknolojisi sizce nedir (What is the greatest technological development of the century)?</p><p>Herkes harika fikirler ve söylemlerle doldurdu kulağımı. Yine de bir eksik vardı, teknolojinin önemi hangi metrik ile ölçülmeli? Bence en baskın olanı, varlık amacına hizmet etme derecesi, ya da “etkisi” (impact) diyelim. Sahi teknolojinin varlık amacı neydi?</p><p>İnsan da bir hayvan, malum. Fakat insanı farklılaştıran, geçmişi sorgulamasıdır diyebiliriz. Her ne kadar “an”, aslında geçmiş ve geleceği içinde barındırsa da, bu yazının konusu değil. Biz ne olduğunun ötesinde neden olduğunu da sorgulayan bir türüz. Araştırmalara göre, dünyaya adım attığımızda önce “dış” dünyayı; daha sonra kendimize dönüp “iç” dünyayı, yani kendimizi anlamaya ve anlamlandırmaya çalıştık.</p><p>Arayışımızda bize yardımı olan her unsurdan faydalandık ve yeni metotlar, kavramlar, araçlar ürettik. Teknoloji; içinde yaşadığımız dünyayı ve nihayetinde bizi anlamak, nedenleri araştırmak ve anlam bulmak için kullandığımız önemli bir araç oluverdi.</p><p>Etkilendiğim bir sözle karşılaştım X-Files’ı izlerken: “The truth is out there”. Gerçek, oralarda bir yerlerde duruyor. Biz de gerçeği aradığımız bir serüvenin içindeyiz, tüm insanlık olarak ve kitlesel, aynı zamanda ayrı ayrı ve bireysel. Kuantum felsefesine, tasavvufa ve genellikle doğu mistisizmine göre her birimiz, kendimizi ayrı birer parça, ayrı bir birey(miş), gibi deneyimlediğimiz bir “teklik”ten ibaretiz. Aslında hepimizin yolu aynı, aradığımız ise gerçeğin kendisi.</p><p>Konuya dönersek, güvenebileceğimiz doğrular aradığımız ve doğru bilgiye ulaşmaya çalıştığımız bu serüvende, beni en çok etkileyen teknolojilerden biri, hiç şüphesiz: Blockchain. Çünkü Blockchain karakteristiklerine baktığımızda, insanın doğruya ulaşma ve güvenme arayışına direkt hizmet eden bir araç olabileceği kanaatine varıyorum.</p><p>Blockchain nedir, ne değildir, birçok dilde birçok güzel tarifi internette bulabilirsiniz. Burada bahsetmek istediğim ise, bu teknolojinin (kronik) toplumsal, sosyal ve etik problemlere çare olabilme potansiyelidir. “True trust” denilen, gerçek güvenin oluşturulabilmesini mümkün kılabilecek en güçlü adaydır. Bunu en basit dilde şöyle tarifleyebilirim: ütopik mükemmel bir insan imgeleyin, öyle bir insan ki o son derece dürüst, erdemli, adaletli, kontrolünü kaybetmeyen, tamamen ve sürekli deterministik, dolayısıyla son derece ve daimi tutarlı, her yaptığının tüm kanıtlarını kaydeden ve paylaşan, daha sonra yapmadım diyemeyen, kendini ve hiçbir gerçeği yalanlayamayan, kimseyi engellemeyen, sansürlemeyen, dışlamayan, yadırgamayan, inanış/felsefe/din/dil/ırk/cinsiyet ayrımı gözetmeyen bir varlık. Biz, tabiatımız gereği bilinçli ve/veya bilinçsiz hatalarımızla var olduk, haliyle yukarıdaki hayali profili karşılayacak niteliklerde olamayız. Bu nedenle, “gerçek güven”i sağlamak için, bireylere değil, sistemlere yöneldik. Tek bir kişide toplanmış bu gücü (kontrol günücü) alıp kitleye -bireylere- geri vermeye çalışan sistemler kurguladık. Monarşiden demokrasiye geçiş, bunun bir örneği (meşrutiyet de bu evrimin bir evresi). Ne yazık ki bu sistemler, kitleleri peşinden sürüklese ve devrimsel görünse de, “işleyişte” insan faktöründen arındırılamadığı için maalesef birilerinin çıkarları güdümünde eğilip bükülebiliyorlar — manipulasyonu engellemekte başarılı olamıyorlar. Gördüğümüzün, duyduğumuzun, izlediğimizin, ne kadarı doğru, ne kadarı gerçek?</p><p>İmgelediğimiz niteliklere sahip insan(lar)/grup(lar) var olabilse, sosyal grupları, toplumları, kitleleri, şirketleri, devletleri yönetmek daha şeffaf ve dengeli olmaz mıydı? Her şey daha açık ve gerçek olacağı için, bizler daha güvende yaşamaz mıydık?</p><p>İşte yukarıda betimlediğimiz niteliklerde bir insan, kendi doğası gereği var olamıyor ve bize de bu senaryo ütopik geliyor. Pekala, neden yürütücü “insan” faktörünü ortadan kaldırmıyor ve herkesin mutabık olduğu yukarıdaki krakteristiklerde bir sistem tasarlayamıyoruz? Böyle bir teknoloji neden yaratmıyoruz? Güzel soru ve daha güzel olanı şu ki, artık galiba bu sorunun cevabı için gerçek bir adayımız var, devinimsel evrimin yeni bir evresi: Blockchain.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40327b9c4747" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>