<?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 Burcu Koca on Medium]]></title>
        <description><![CDATA[Stories by Burcu Koca on Medium]]></description>
        <link>https://medium.com/@burcuukoca?source=rss-6bc7c105f649------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yNMJgRviE3Z8YdzT8nY3GQ.jpeg</url>
            <title>Stories by Burcu Koca on Medium</title>
            <link>https://medium.com/@burcuukoca?source=rss-6bc7c105f649------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 06:40:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@burcuukoca/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[Effective Comparison of Unconstrained Optimization Algorithms]]></title>
            <link>https://burcuukoca.medium.com/effective-comparison-of-unconstrained-optimization-algorithms-103d4a9f6485?source=rss-6bc7c105f649------2</link>
            <guid isPermaLink="false">https://medium.com/p/103d4a9f6485</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[optimization]]></category>
            <dc:creator><![CDATA[Burcu Koca]]></dc:creator>
            <pubDate>Mon, 14 Mar 2022 14:54:45 GMT</pubDate>
            <atom:updated>2022-03-15T10:31:41.824Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*f6rGK3Hwos2J2aLZu9ci0Q.png" /></figure><p>Most machine learning problems are, ultimately optimization problems. We will review and introduce some optimization algorithms in this blog. Now let’s look at the definitions with a clear explanation.</p><p><strong>Optimization and Machine Learning</strong></p><p>The basic idea behind much of machine learning is to build models that map input data to output data. We derive parameters of these models based on training on some given data. We can see the whole of machine learning as a process that finds the optimal model for given data.</p><p><strong>Optimization:</strong></p><p>In general, the task of optimization is to maximize or minimize a function F(x). The function is called the <strong>objective, cost,</strong> and<strong> loss </strong>function. We will look at the unconstrained problem. Find x that minimizes F(x) with x ∈ R. That is no constraint on x.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*v_BtTf1nzgW9VEd_.png" /><figcaption>Maxima &amp; Minima</figcaption></figure><p>If F’(x) = 0, such points are called critical points.</p><p>If F’’(x) &lt; 0 , it is a local max</p><p>If F’’(x) &gt;0 , it is a local min</p><p>If F’’(x) = 0, it could be a saddle point.</p><p>The lowest-highest level of F(x) is called global max-min.</p><p>The definitions for scalar x.</p><p>In multivariate x, analyze with the <strong>hessian matrix.</strong> Hessian is a square matrix of second-order partial derivatives of a scalar-valued function.</p><p>This blog provides the basic theoretical understanding of unconstrained optimization functions and also includes a python implementation of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/0*sGFB8HxK7wuO1f93.png" /><figcaption>Some Optimization Methods</figcaption></figure><p><strong>Newton Raphson Method :</strong></p><p>Also known as Newton’s method, given an initial guess of the root x[0], uses information about the function and its derivative at that point to find a better guess of the root. The assumption behind this method is that our target function f(x), the one we want to optimize, is twice differentiable and f”(x) is not equal to zero. Here, we will be working with a smooth polynomial.</p><p>Let’s code the algorithm now:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*KWrGZ756cUrln7KxChDXTw.png" /></figure><pre>def example(x,y):<br>    return 2*x**3+4*x*y**3 - 10*x*y + y**3</pre><pre>def Grad_ex(x,y):<br>    g1 = 6*x**2 + 4*y**3 - 10*y <br>    g2 = 12*x*y**2-10*x+3*y**2<br>    return np.array([g1,g2])</pre><pre>def Hessian_ex(x,y):<br>    h11 = 12*x<br>    h12 = 12*y**2-10<br>    h21 = 12*y**2-10<br>    h22 = 24*x*y +6*y<br>    return np.array([[h11,h12],[h21,h22]])</pre><p>Defining the function, first order derivatives of the function at point x, and second order derivatives of the function at point x.</p><pre>def Newton_Raphson_Optimize(Grad, Hess, x,y, epsilon=0.01, nMax = 100):<br>    i = 0<br>    iter_x, iter_y, iter_count = np.empty(0),np.empty(0), np.empty(0)<br>    error = 10<br>    X = np.array([x,y])<br>    <br>    #Looping as long as error is greater than epsilon<br>    while np.linalg.norm(error) &gt; epsilon and i &lt; nMax:<br>        i +=1<br>        iter_x = np.append(iter_x,x)<br>        iter_y = np.append(iter_y,y)<br>        iter_count = np.append(iter_count ,i)   <br>        <br>        X_prev = X<br>        X = X - np.linalg.inv(Hess(x,y)) @ Grad(x,y)<br>        error = X - X_prev<br>        x,y = X[0], X[1]<br>        print(X)<br>        print(iter_count)<br>    return X, iter_x,iter_y, iter_count</pre><pre>root,iter_x,iter_y, iter_count =Newton_Raphson_Optimize(Grad_ex,Hessian_ex,5,5)</pre><p>We added a nMax(max iterations)parameter, so that the algorithm doesn’t run indefinitely if it doesn’t converge. We got the initial point [5,5].</p><p>We get this result:</p><pre>[3.61231102 3.21814255]<br>[1.]<br>[25.41905575 -6.62369213]<br>[2.]<br>[13.38091735 -4.89780992]<br>[3.]<br>[ 7.10299606 -3.62111505]<br>[4.]<br>[ 3.75262886 -2.69425608]<br>[5.]<br>[ 1.90126539 -2.04368383]<br>[6.]<br>[ 0.80459909 -1.61900739]<br>[7.]<br>[ 0.02642911 -1.41327176]<br>[8.]<br>[-0.55684802 -1.60376387]<br>[9.]<br>[-0.36640994 -1.60978734]<br>[10.]<br>[-0.36631292 -1.62004825]<br>[11.]<br>[-0.36632721 -1.61995635]<br>[12.]</pre><p>The algorithm converged in only <strong>12</strong> iterations!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*5lSpGdCku1EyYC-fjWyNYQ.png" /><figcaption>Newton’s Method w/ 12 iterations</figcaption></figure><p><strong>Gradient Descent:</strong></p><p>If you worked with machine learning models, you’ve probably seen this already. <strong>Gradient descent</strong> is a first-order iterative optimization algorithm for finding a local minimum of a differentiable function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XhM_D55gow1322STcPdK9A.png" /></figure><p>Step1: Pick a random point <em>w</em> in the function, this is the starting point</p><p>Step2: While the gradient hasn’t converged:</p><p>Step2a: Compute the negative gradient at <em>w</em>, the gradient going in the opposite direction.</p><p>Step2b: Update point <em>w </em>with it the result of 2a, and go back to step 1.</p><p>Step3: Success, you’ve found the minimum!</p><p>The goal of the gradient descent algorithm is to minimize the given function (say cost function). To achieve this goal, it performs <strong>two steps</strong> iteratively:</p><ol><li><strong>Compute the gradient </strong>(slope), the first-order derivative of the function at that point.</li></ol><p>2. <strong>Make a step (move) in the direction opposite to the gradient</strong>, the opposite direction of slope increases from the current pointby alpha times the gradient at that point.</p><p>The algorithm becomes:</p><pre>def Gradient_Descent(Grad,x,y, gamma = 0.00125, epsilon=0.01, nMax = 1000000 ):<br>    #Initialization<br>    i = 0<br>    iter_x, iter_y, iter_count = np.empty(0),np.empty(0), np.empty(0)<br>    error = 10<br>    X = np.array([x,y])<br>    <br>    #Looping as long as error is greater than epsilon<br>    while np.linalg.norm(error) &gt; epsilon and i &lt; nMax:<br>        i +=1<br>        iter_x = np.append(iter_x,x)<br>        iter_y = np.append(iter_y,y)<br>        iter_count = np.append(iter_count ,i)   <br>        #print(X) <br>        <br>        X_prev = X<br>        X = X - gamma * Grad(x,y)<br>        error = X - X_prev<br>        x,y = X[0], X[1]<br>          <br>    print(X)<br>    return X, iter_x,iter_y, iter_count</pre><pre>root,iter_x,iter_y, iter_count = Gradient_Descent(Grad_ex,5,5)</pre><p>You can tweak the values of epsilon(learning rate), and nMax(max iterations). We got as the same initial points with newton’s method.</p><p>This is the result:</p><pre>[1.51632092 0.86177917]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*PSvVWCtorDnda8K8XJKjpQ.png" /><figcaption>GD Method w/ 71 iterations</figcaption></figure><p>Gradient descent took 71 <strong>iterations</strong> whereas Newton’s method took only <strong>12!</strong></p><p>Newton’s method has stronger constraints in terms of the differentiability of the function than gradient descent. If the second derivative of the function is undefined in the function’s root, then we can apply gradient descent on it but not Newton’s method. Gradient Descent is a powerful algorithm. But in real-world scenarios with ever-growing datasets, it has <strong>two major limitations</strong>:</p><ul><li>Calculating derivatives for the entire dataset is time-consuming,</li><li>The memory required is proportional to the size of the dataset.</li></ul><p>These computations are typically done in memory so, the larger the dataset, the greater the memory requirements. This is where Stochastic Gradient Descent comes in!</p><p><strong>Stochastic Gradient Descent (SGD):</strong></p><p>Stochastic, in plain terms, means <strong>“random”</strong>. It improves on the limitations of Gradient Descent and performs much better in large-scale datasets.</p><p>SGD cycles through training data:</p><ol><li>Cyclical (incremental gradient descent) &gt;&gt; i[k]= kmod N i[k]=5,6,7,8,5,6,7,8…</li><li>Random permutation (reshuffle every N rounds) &gt;&gt; i[k]= 6,7,8,5,7,6,8,5,8,6,7,5…</li><li>Stochastic gradient descent (uniformly at random) &gt;&gt; i[k]=uniform {6,7,8,….N} i[k]= 7,6,8,6,7,8,8,6,7…</li></ol><p>Update weight at each iteration. On average gives a gradient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*eYkjlwtyCoLOcsA8KrPJ5A.png" /></figure><p>SGD in python:</p><pre>def stochastic_gradient_descent(x_1, x_2,learning_rate=0.01, iterations=50):</pre><pre># x_1,x_2 are a list that determined randomly</pre><pre>n = len(x_1)</pre><pre>for i in range(iterations):</pre><pre># get a random value for x1 and x2</pre><pre>rand_ind = np.random.randint(0, n)</pre><pre>rand_ind2 = np.random.randint(0, n)</pre><pre>x_1_i = x_1[rand_ind]</pre><pre>x_2_i = x_2[rand_ind2]</pre><pre># change of x_1_i,x_2_i by using learning rate and gradient.</pre><pre>x_1_i = x_1_i - learning_rate*(6*x_1_i**2+4*x_2_i**3-10*x_2_i)</pre><pre>x_2_i = x_2_i - learning_rate*(12*x_1_i*x_2_i**2-10*x_1_i+6*x_2_i**2)</pre><pre># f is function to be minimized.</pre><pre>f = 2*x_1_i**3+ 4*x_1_i*x_2_i**3 -10*x_2_i*x_1_i+ x_2_i**3</pre><pre># x1,x2 values which make function lower than 1 that added to lists.</pre><pre>if (f &lt;= 1 and f &gt;=0 ):</pre><pre>x1.append(x_1_i)</pre><pre>x2.append(x_2_i)</pre><pre># Function values are added to function history list.</pre><pre>f_function_history.append(f)</pre><pre>return f_function_history</pre><pre>x_1=np.arange(1,20)</pre><pre>x_2 = np.arange(1,20)</pre><pre>f_function_history = []<br>x1 = []<br>x2 = []<br>stochastic_gradient_descent(x_1,x_2)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*V0z1EMmPVz8vN_UGbe5Glw.png" /></figure><p>As you can see it didn’t decrease linearly like normal Gradient Descent. Sometimes it increased, sometimes it decreased. Because we randomly selected points.</p><p><strong>Comments</strong></p><p>Following recent trends in unconstrained optimization, we can notice that all optimization methods, which are considered in this blog, are still actual.</p><p>We’ve talked about two types of optimization algorithms Newton’s method and the Gradient Descent method for optimizing the objective function.</p><p>Let’s summarize some of their properties of them.</p><ol><li>First difference Newton’s method is slightly more complex than GD. (i.e not require a matrix inversion.)</li></ol><p>2. GD needs a choice of learning rate whereas Newton’s method has no params that you need to set.</p><p>3. GD needs more iterations whereas Newton’s method needs fewer iterations.</p><p>4. GD’s every iteration is cheaper than Newton’s method and so <strong>if n (# of features) is small</strong>, <strong>Newton’s method</strong> may be preferable and <strong>if n is large </strong>then the cost per iteration of gradient descent would be much cheaper and then <strong>GD may be preferable. (</strong>In some cases, this approach can reduce computation time and it might better escape the Local Minima issue. So, SGD is preferred over Gradient Descent for optimizing a learning algorithm.)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=103d4a9f6485" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bir Endüstri Mühendisinin Veri Bilimi Öğrenme Reçetesi]]></title>
            <link>https://medium.com/kurumsal-gelisim/bir-end%C3%BCstri-m%C3%BChendisinin-veri-bilimi-%C3%B6%C4%9Frenme-re%C3%A7etesi-bac38141786e?source=rss-6bc7c105f649------2</link>
            <guid isPermaLink="false">https://medium.com/p/bac38141786e</guid>
            <dc:creator><![CDATA[Burcu Koca]]></dc:creator>
            <pubDate>Sat, 15 May 2021 13:18:40 GMT</pubDate>
            <atom:updated>2021-05-15T13:32:26.468Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YhfgvGaXwNrGebLksJnI1g.jpeg" /></figure><p>2019 yılında geç de olsa okuduğum “ Data Scientist: The Sexiest Job of the 21st Century” HBR makalesi ile veri bilimi alanında kitaplar okumaya, kurslar almaya ve hatta bitirme projemi kendi adıma büyük bir risk alarak bu alanda yapmaya karar verdim. Sanırım verdiğim en doğru kararlardan biriydi. Endüstri Mühendisi olduğum için nereden başlamalıyım ve nasıl ilerlemeliyim konusunda çok kararsızlıklarım oldu. Süreç ile ilgili araştırmalar yaparken bir blog yazısında seviye seviye okunması gereken veri bilimi kitaplarına rastladım ve ilk literatür ile tanışmam bu şekilde oldu.</p><p>Veri Bilimi; çok hızlı gelişen , dinamik olarak değişen bir alan ve şüphesiz ki en sıcak kariyer alternatiflerinden biri. Sektördeki neredeyse tüm şirketler veri bilimi departmanları oluşturuyor. Özellikle Türkiye’de bu alanda çalışmalar yapan kişi sayılarını baz aldığınızda uzmanlığınızı geliştirmek için harika bir fırsat olarak değerlendirebilirsiniz.</p><p>Bu yazımda; her seviyede en popüler veri bilimi kitaplarını, bloglarını sizler ile paylaşıyor olacağım.</p><p><strong>Başlangıç Düzeyi</strong></p><p>Algoritmalar, kütüphaneler hakkında çok bilgim yok hatta python dili ile daha tanışmadım diyorsanız aşağıdaki kitaplara göz atabilirsiniz:</p><p><strong>Practical Statistics for Data Scientists:</strong> Bu kitap veri biliminde uzmanlaşmak için genel bir bakış açısı sağlayacaktır. Çok ayrıntılı değil ancak hızlı ve kolay bir şekilde bitirebileceğiniz veri bilimi için gerekli olan tüm istatistik konuları kapsamaktadır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*Yd_McE5kaCieBe232QDi6w.jpeg" /></figure><p><strong>Data Science Job How to become a Data Scientist: </strong>Bu kitap veri bilimci olmak için sizlere bir yol haritası sunuyor. Hangi yeni yetenekleri geliştirmelisin, kariyerini bu alanda geliştirmek için neler yapman gerekli vb gibi kilit sorulara kılavuzluk ediyor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/314/1*aw0pelL59443It-yp5ECGw.jpeg" /></figure><p><strong>Introduction to Machine Learning with Python:</strong> Makine öğrenimi oldukça yoğun bir konudur. Kavramlar ile tanışmak ve hazır veri setleri ile kendi modellerinizi oluşturabilmek için bu kitap sizlere referans olacaktır. Ancak makine öğrenimi modellerinde ayrıca uzmanlaşmak isterseniz farklı kaynaklara yönelmeniz gerekli diyebilirim.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*9f7UvqD45vJYY0HvyeagRA.jpeg" /></figure><p><strong>Python Machine Learning By Example:</strong> Makine öğrenimi algoritmalarını kullanarak kanser tespiti, spam e-posta tespiti, regresyon kullanarak ev fiyatlarını tahminleme gibi bazı klasik örnekler ile uygulama yapma aşamasına bu kitap ile geçebilirsiniz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*JAavOd6Q8oFtso1RyGBw7A.jpeg" /></figure><p>Python dili ile uygulama yapmak için Jupyter kullanmanızı tavsiye edebilirim. Adım adım kodlamalar yaparak daha kolay ilerlemenizi sağlayacaktır. Ek olarak hata aldığınızda Stack Overflow kullanmaktan çekinmeyin, bir hata aratırken farklı birçok bilgiyi edinebilirsiniz.</p><p><strong>Orta Düzey</strong></p><p>Birkaç veri bilimi çalışması yaptıysanız, popüler veri setleri ile uğraştıysanız bilginizi daha da derinleştirmek için aşağıdaki kitaplara göz atabilirsiniz:</p><p><strong>Python Machine Learning :</strong> Mevcutta çalıştığım şirkette tüm iş arkadaşlarıma aldırttığım benim için önemli başucu kitaplarından biridir. Gerçekte uyarlayabileceğiniz birçok kod örneği içeren pratik bir kitaptır. Makine öğrenimi ile başlar derin öğrenme gibi daha gelişmiş yöntemlere geçer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/201/1*rfBXNSi0L_VyuF7ivBnKJA.jpeg" /></figure><p><strong>Python Data Science Handbook:</strong> Python standart kütüphane modülleri programlama dilinin genel mimarisini oluşturur. Bu kitapta Pandas, Numpy, Matplotlib, Scikit-Learn gibi kütüphanelere ait etkin yöntemler hakkında bilgi edinebilirsiniz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*Cgdf8cHs5xNSGV5DVblYUg.jpeg" /></figure><p><strong>Hands-On Machine Learning with Scikit-Learn and TensorFlow:</strong> Sınıflandırma, öznitelik indirgeme vb. modelleme biçimlerini ele alan ve derin öğrenmeye, yapay sinir ağlarına kadar inen orta — ileri düzey arasında bulduğum bir kitaptır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*KBP2sU-F1n1myWwG3Txu2w.jpeg" /></figure><p><strong>Pattern Recognition and Machine Learning:</strong> Makine öğreniminin tüm temel algoritmalarından teorik yönleriyle bahseder. Algoritmaların arkasında istatistik bilgilerini derin bir şekilde incelemek istiyorsanız size harika bir arkadaş olacaktır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/183/1*yEX3Yutb_GaKxiwL7WtynQ.jpeg" /></figure><p><strong>Uzman Düzey</strong></p><p>Bu düzeyde derin öğrenme alanında kendinizi geliştirmeye hazır hale gelebilirsiniz. Derin öğrenme alanında uzmanlaşmak isterseniz aşağıdaki kitaplara göz atabilirsiniz:</p><p><strong>Deep Learning: </strong>Derin öğrenme algoritmaları için iyi bir kılavuzdur. Alanında uzmanlar tarafından çeşitli alıntılamalar mevcuttur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/196/1*gt_Oo1u2dRDKNu0cnH_Kag.jpeg" /></figure><p><strong>Probabilistic Deep Learning:</strong> Sinir ağlarını destekleyen ilkelere yönelik uygulamalı bir kılavuzdur. Farklı veri türleri için doğru dağıtımla ağ performansını iyileştirmeyi öğrenmek ve doğruluğu artırmak için referans alabilirsiniz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/354/1*MsOYXVsCqszlKTxI4B7Cfg.jpeg" /></figure><p><strong>Deep Learning with Python:</strong> Keras’ın yaratıcısı tarafından yazılmıştır. Hızlı uyarlayabileceğiniz kod örnekleri mevcuttur. Derin öğrenme metodolojisi ile ilgili oldukça yararlı ipuçları vermektedir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/0*ZDVpteemunViAv4q.jpg" /></figure><p>Orta düzeyde veri bilimi alanında kendimi geliştirmeye devam ediyorum ama deneyimlerime ve gözlemlerime bakarak söyleyebilirim ki uzman düzeyinde kitap okumaktansa bilimsel makaleleri okumak çok daha yararlı olacaktır. Teknoloji sürekli değişiyor özellikle bu alanda yurtdışında yayınlanan başarılı birçok makale bulunmakta , pandemi salgınının tetiklemesiyle sağlık sektöründe yapılan gerçek uygulamalar daha somut kavramanızı destekleyecektir.</p><p>Yapay zeka, veri bilimi sektöründeki çalışmaları izleyebilmek ve bu çalışmalar hakkında genel fikirler elde edebilmek için bloglar erişilebilecek en rahat kaynaklardır. Teoride öğrendiğimiz çalışmaları sektöre uyarlamak çoğu zaman zorlayıcıdır, işinizi kolaylaştırabilmek ve hayal gücünüzü daha da zorlamak için küçük ilhamlara ihtiyaç duyabilirsiniz bu noktada trendleri önden takip etmek sizi bir adım daha farklılaştıracaktır.</p><p>Blog Önerileri:</p><ul><li><a href="https://machinelearningmastery.com/">Home - MachineLearningMastery.com</a></li><li><a href="https://www.sciencedaily.com/">ScienceDaily: Your source for the latest research news</a></li><li><a href="https://www.kdnuggets.com/">KDnuggets</a></li><li><a href="https://www.aitrends.com/">AI Trends - The Business and Technology of Enterprise AI</a></li><li><a href="https://openai.com/">OpenAI | Research &amp; Deployment</a></li><li><a href="https://towardsdatascience.com/">Towards Data Science</a></li><li><a href="https://livecodestream.dev/">Live Code Stream</a></li><li><a href="https://www.datasciencecentral.com/">DataScienceCentral.com - Big Data News and Analysis</a></li><li><a href="http://www.becominghuman.org/">Becoming Human</a></li><li><a href="https://futurism.com/">Futurism | Science and Technology News and Videos</a></li><li><a href="https://www.datarobot.com/">DataRobot homepage | DataRobot AI Platform</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bac38141786e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kurumsal-gelisim/bir-end%C3%BCstri-m%C3%BChendisinin-veri-bilimi-%C3%B6%C4%9Frenme-re%C3%A7etesi-bac38141786e">Bir Endüstri Mühendisinin Veri Bilimi Öğrenme Reçetesi</a> was originally published in <a href="https://medium.com/kurumsal-gelisim">Kurumsal Gelişim Enstitüsü</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Çekişmeli Üretici Ağlar (GAN)]]></title>
            <link>https://medium.com/deep-learning-turkiye/%C3%A7eki%C5%9Fmeli-%C3%BCretici-a%C4%9Flar-gan-e64716f4ee9c?source=rss-6bc7c105f649------2</link>
            <guid isPermaLink="false">https://medium.com/p/e64716f4ee9c</guid>
            <category><![CDATA[çekişmeli-üretici-ağlar]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[evrişimsel-sinir-ağları]]></category>
            <category><![CDATA[denetimsiz-öğrenme]]></category>
            <dc:creator><![CDATA[Burcu Koca]]></dc:creator>
            <pubDate>Tue, 15 Dec 2020 07:25:46 GMT</pubDate>
            <atom:updated>2020-12-16T07:32:40.226Z</atom:updated>
            <content:encoded><![CDATA[<p>Çekişmeli üretici ağlar, 2014 yılında Ian Goodfellow ve çalışma grubu tarafından NIPS konferansında tanıtılmıştır.</p><p>Bunun üzerine Facebook yapay zeka direktörü olan Yann LeCun şöyle çarpıcı bir açıklama yaptı:</p><p><strong><em>“Derin öğrenmede ilginç gelişmeler olmakta… Bana göre bunlardan en önemlisi çekişmeli eğitim veya diğer bir deyişle GAN yani Çekişmeli Üretici Ağlardır. Önerilmekte olan bu yapı ve çeşitleri, geçtiğimiz on yılın en ilginç fikridir.”</em></strong></p><p><strong><em>Yann LeCun.</em></strong></p><p><strong>Öyleyse GAN nedir?</strong></p><p>Derin öğrenme, gerçek dünyadaki veri kümelerinde karmaşık yapıların öğrenildiği bir makine öğrenmesi yaklaşımı olarak ortaya çıkmıştır. Büyük ölçekli veriler kullanılarak eğitilen derin sinir ağları, görüntülerin anlamsal anlaşılmasıyla ilgili olarak klasik görüntü işleme tekniklerinden önemli ölçüde daha iyi performans göstermiştir. Derin öğrenme, ayrıca görüntü üretiminde büyük başarı sergilemiştir. Derin ağların görüntü üretebilen ilk modeli 2014 yılında Goodfellow tarafından önerilmiştir. Çekişmeli üretken ağlar olarak adlandırılan bu üretken modeller İngilizce yazılışının baş harfleriyle “GAN” olarak anılmaktadır. Üretken modelleme, girdi verilerindeki kalıpları, orijinal veri kümesinden uygun bir şekilde çıkararak yeni örnekler oluşturabilmek için otomatik olarak keşfetmeyi ve öğrenmeyi içeren denetimsiz öğrenme türüdür. Klasik derin ağ mimarilerinden farklı olarak bir üretici (generative, G) ve bir ayırıcı (discriminator, D) olmak üzere iki farklı derin ağa sahiptir ve bu iki ağın çekişmeli olarak çalışmasıyla öğrenme işlemini gerçekleştirir.</p><p><strong><em>Ayırıcı Modeli:</em></strong></p><p>Bir evrişimsel sınıflandırıcıdır ve gelen görüntüleri sahte ya da gerçek olarak sınıflandırır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/1*DtJLCwvidrcM2qHCAAZztA.png" /><figcaption>Veri seti örnekleri çoğaltılır. -minibatch</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*woBz7xuLcrNXWc4dgcvclQ.png" /><figcaption>Eğitime başlanır.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*KV_KgLKkRfI8Dw0wJpjsnw.png" /><figcaption>Ağırlıklar eğitilir.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*8WX6wNQa-NkOd0gxJImIKQ.png" /></figure><p>Gerçek ve sahte görüntü arasında ayrım yapmak için geleneksel CNN mimarisi kullanılır.</p><p>3 evrişimli katman ile;</p><p>1. 64x64x3 şeklindeki orijinal görüntü, 16 filtre tarafından geçirilerek 32x32x16 şeklinde bir şekil elde edilir. Boyutu küçültmek için #AveragePooling2D kullanılır.</p><p>2. Sonraki adım 32x32x16 tensörü 16x16x32&#39;ye dönüştürür</p><p>3. Son olarak, bir sonraki evrişim katmanından sonra, 8x8x64 şeklinde bir tensör elde edilir.</p><p><strong><em>Üretici Modeli:</em></strong></p><p>Üretici modeli biraz daha karmaşıktır. Üretici bunun tersini yapar — 100 boyutundaki vektörü bir görüntüye dönüştürür. Bu özünde <strong>ters evrişim</strong> adı verilen bir süreci içerir. Birlikte tensörün boyutunun her katmanda artmasına neden olurlar. Ürettiği yeni görüntüler ile Discriminator sınıflandırıcıyı yanıltmak için çabalar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*fKruNbnM0Dr6aFbDjC8frw.png" /></figure><p>GAN eğitimini ilk kez çalıştırdığınızda, birkaç nedenden dolayı mükemmel sonuçlar alamayabilirsiniz. Her şeyden önce, öğrenme oranı önemli bir parametre gibi görünmektedir ve çok yüksek öğrenme oranı kötü sonuçlara yol açabilir. Bu nedenle, en iyi sonuçlar için bir dizi deney yapmanız gerekebilir.</p><p><strong>Kullanım alanları nelerdir?</strong></p><ol><li><strong>Yeni Görüntü Veri Kümeleri</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*s8GyKxZdFqCoDaU1AsgH2Q.png" /><figcaption>GAN örnekleri. Generative Adversarial Nets.</figcaption></figure><p><strong>2.</strong> <strong>Yüksek Çözünürlükte Gerçekçi Fotoğraflar</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*CwwICPFJHY4CrBS2VXHO_w.png" /><figcaption>BigGAN. Generative Adversarial Nets.</figcaption></figure><p><strong>3.Çizgi Film Karakterleri</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*bx9_kHhudwI7uxnqNkFSyA.png" /><figcaption>StyleGAN. Generative Adversarial Nets.</figcaption></figure><p><strong>4.</strong> <strong>Görüntüden Görüntüye Çeviri</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*akItbd18wGWdLbOge5FLMw.png" /><figcaption>Image to image . Generative Adversarial Nets.</figcaption></figure><p><strong>5.Metinden Resme Çeviri</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/1*0xf6aU3Byig-NCTJmY6XSg.png" /><figcaption>Text to image . Generative Adversarial Nets.</figcaption></figure><p><strong>Neden GAN bu kadar önemli?</strong></p><p>Bu kadar popüler ve önemli olmalarının çeşitli nedenleri var:</p><p>· İkna edici derecede iyi sonuçlar veren ilk üretken algoritmalar olması.</p><p>· Güçlü denetimsiz öğrenme vaad etmesi.</p><p>· Yüksek kaliteli sentetik veri üretme olasılığı.</p><p>· Çekişmeli eğitim, MSE’nin sağladığı bulanık ortalamalar yerine daha keskin, çıktılar üretme eğilimi.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e64716f4ee9c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deep-learning-turkiye/%C3%A7eki%C5%9Fmeli-%C3%BCretici-a%C4%9Flar-gan-e64716f4ee9c">Çekişmeli Üretici Ağlar (GAN)</a> was originally published in <a href="https://medium.com/deep-learning-turkiye">Deep Learning Türkiye</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>