<?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 Agus Prayudi on Medium]]></title>
        <description><![CDATA[Stories by Agus Prayudi on Medium]]></description>
        <link>https://medium.com/@aguspray001?source=rss-7f8cc06a03d8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CXroTl6w3VdA3_8kr0evhA.jpeg</url>
            <title>Stories by Agus Prayudi on Medium</title>
            <link>https://medium.com/@aguspray001?source=rss-7f8cc06a03d8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 21:36:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aguspray001/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[Data Structure — Stack]]></title>
            <link>https://medium.com/@aguspray001/data-structure-stack-bd2ab2ca8a73?source=rss-7f8cc06a03d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd2ab2ca8a73</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[data-structures]]></category>
            <category><![CDATA[stack]]></category>
            <dc:creator><![CDATA[Agus Prayudi]]></dc:creator>
            <pubDate>Mon, 13 Dec 2021 06:53:07 GMT</pubDate>
            <atom:updated>2021-12-13T06:53:07.192Z</atom:updated>
            <content:encoded><![CDATA[<h3>Data Structure — Stack</h3><p>Pada story kali ini, saya akan menuliskan salah satu metode dalam “Struktur Data”, yaitu <strong><em>Stack</em></strong> (Tumpukan). Story ini merupakan catatan pribadi bagi penulis dan semoga juga bisa ilmu buat teman-teman yang membaca. Ya, karena saya juga masih belajar mengenai data struktur, dan biar ngga lupa tentang apa yang udah saya pelajari wkwk. langsung aja, Cekicrot!</p><p>OKE, kita mulai dengan definisi “STRUKTUR DATA” terlebih dahulu. Menurut <a href="https://www.it-jurnal.com/pengertian-struktur-data/"><em>https://www.it-jurnal.com/pengertian-struktur-data/</em></a><em>,</em> struktur data merupakan : <strong>cara penyimpanan</strong> , <strong>pengorganisasian</strong> , dan <strong>pengaturan data</strong> di dalam media penyimpanan komputer sehingga data tersebut dapat digunakan secara efisien.</p><p>Nah, kali ini saya tidak akan mengulas tentang struktur data secara umum (macam-macam, dan lain-lainnya), namun langsung spesifik kepada tujuan utama pemabahasan, yakni <strong><em>Stack.</em></strong></p><blockquote>Kalo menurut saya, stack itu sebuah tumpukan nilai yang tiap-tiap nilai tersebut memiliki index agar dapat dikenali secara urut berurutan. Nah, cara kerja <strong>Stack</strong> sendiri itu kurang lebih mirip dengan sebuah <strong>tumpukan piring</strong>, kita hanya bisa ambil yang paling atas, dan jika ingin mengambil bagian tertentu, kita harus menyingkirkan dahulu piring-piring yang ada di atasnya. Hal ini dikenal dengan <strong><em>FILO, First In Last Out, atau LIFO, Last In First Out.</em></strong></blockquote><p>Implementasi stack dapat dilihat di bawah ini, saya menuliskannya menggunakan Javascript.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7a1d6c6d95fca691e99334cf009200ad/href">https://medium.com/media/7a1d6c6d95fca691e99334cf009200ad/href</a></iframe><p>Singkatnya seperti ini, implementasi stack dalam pemrograman sangat banyak digunakan, bahkan seringkali property class yang saya buat di atas sudah menjadi bawaan dari data tipe bahasa pemrograman pada umumnya. Next time mungkin saya akan mengupdate metode ini jauh lebih lengkap beserta contoh penerapan, kurang lebihnya mohon maaf. Feel free to give me advice ya, Thank you!</p><blockquote>Email: aguspray001@gmail.com</blockquote><blockquote>Instagram : aguspray</blockquote><blockquote>LinkedIn : <a href="https://www.linkedin.com/in/aguspray/">https://www.linkedin.com/in/aguspray/</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd2ab2ca8a73" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ML Application pada website menggunakan Flask]]></title>
            <link>https://medium.com/@aguspray001/ml-application-pada-website-menggunakan-flask-8de66a73f298?source=rss-7f8cc06a03d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/8de66a73f298</guid>
            <category><![CDATA[deployment-model]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[flask]]></category>
            <dc:creator><![CDATA[Agus Prayudi]]></dc:creator>
            <pubDate>Wed, 14 Oct 2020 06:31:18 GMT</pubDate>
            <atom:updated>2020-10-14T06:31:18.333Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Kasus: Klasifikasi jenis bunga iris berdasarkan ukuran sepal (Kelopak bunga) dan Petal (Daun bunga).</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*lTpBYAe6OCack6s74XF6yA.png" /><figcaption>Sumber : <a href="http://suruchifialoke.com/">http://suruchifialoke.com</a></figcaption></figure><p>Model deployment adalah tahapan yang sangat menyenangkan dalam projek machine learning atau deep learning. Bagaimana tidak? kita bisa mengaplikasikan secara langsung model yang telah kita buat dengan susah payahnya melalui proses yang panjang.</p><p>Pada tulisan kali ini, saya mendemonstrasikan bagaimana proses pembuatan model machine learning hingga deployment menggunakan web application.</p><p><em>Disclaimer: saya menganggap bahwa data telah melalui tahap pre-processing (handling missing values dan outliers), sehingga data sudah siap digunakan untuk pembuatan model machine learning.</em></p><h3><strong>Tahap 1: Training dan Evaluasi Model</strong></h3><p>Pada tahap ini, kita akan belajar bagaimana men-training data untuk membuat model deep learning.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/487be22b5b46d6db7538f62cf86fd03a/href">https://medium.com/media/487be22b5b46d6db7538f62cf86fd03a/href</a></iframe><blockquote>Pada tahap modelling di atas, penulis menggunakan library keras untuk mempermudah dalam penulisan program. Pada dasarnya library keras berdiri di atas tensorflow, sehingga kita juga perlu meng-install tensorflow (sebagai engine). Modelling di atas dibuat dengan menggunakan metode MLP (Multi Layer Perceptron).</blockquote><h3>Tahap 2: Membuat Web Apps dengan Flask</h3><p>Pada tahap ini, kita akan belajar bagaimana membangun aplikasi menggunakan flask framework yang mana menggunakan bahasa interpreter python.</p><p>Kita perlu menyiapkan susunan folder kerja seperti di bawah ini:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*kkRtnvA7YTn7qXA4ig6UiA.png" /><figcaption>Folder Structure untuk template kerja web application mengunakan Flask</figcaption></figure><blockquote>Selanjutnya, di bawah ini adalah program web application yang menggunakan model MLP untuk klasifikasi jenis bunga iris.</blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/44d71a8e75865fe8832f3e8a02fcb8a5/href">https://medium.com/media/44d71a8e75865fe8832f3e8a02fcb8a5/href</a></iframe><h3><strong>Boom!</strong></h3><p>Tampilan website di bawah ini merupakan hasil dari program kita menggunakan framework flask. <strong>Tampilan website menyesuaikan dengan program html dan css kalian ya!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m5UsacBSIu5PQk7cWelulg.png" /><figcaption>Tampilan halaman web application yang telah dibangun menggunakan Flask.</figcaption></figure><p>Dari web application di atas, kita hanya perlu meng-inputkan ukuran sepal (kelopak bunga) dan petal (daun bunga), kemudian sistem akan secara otomatis, menggunakan model MLP (Multi Layer Perceptron) akan memprediksi jenis bunga iris tersebut berdasarkan ukuran yang diinputkan. Mantap bukan? hehe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*tYrN_6VrGuWdLf73eFMHJA.gif" /></figure><p>yap, akhirnya kita telah belajar bagaimana men-deploy model machine learning pada web application. Tulisan ini akan selalu disempurnakan dan untuk selanjutnya saya akan membagikan catatan belajar saya mengenai bagaimana mengolah data tersebut (Iris dataset atau data yang lain) hingga menjadi data yang siap untuk digunakan sebagai input machine learning atau deep learning. Semangat belajar ya! Penulis juga masih belajar, semoga ini jadi catatan belajar yang bermanfaat! Danke!</p><h3>Let’s keep in touch</h3><ul><li><strong>Email:</strong> aguspray001@gmail.com</li><li><strong>LinkedIn:</strong> <a href="https://www.linkedin.com/in/agus-prayudi-ba8456139/">Agus Prayudi</a></li><li><strong>Instagram:</strong> <a href="https://www.instagram.com/aguspray/">aguspray</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8de66a73f298" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Deep learning maniac”]]></title>
            <link>https://medium.com/@aguspray001/deep-learning-maniac-ef58a1af6dd?source=rss-7f8cc06a03d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef58a1af6dd</guid>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[feature-matching]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Agus Prayudi]]></dc:creator>
            <pubDate>Mon, 04 May 2020 10:20:49 GMT</pubDate>
            <atom:updated>2020-05-04T12:14:41.680Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8BvbJrsLEQv8J_djmOvujA.jpeg" /></figure><p><em>This published story is for you guys who assume deep learning and superman are alike until you said “I’ve built great model deep learning! but my model is too heavy for the device” *haha*.</em></p><blockquote>The first one that you have to know is “not all problems need to use deep learning”</blockquote><blockquote>We don’t have to kill mosquito using bomb, right?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qzb7m_JTZd5bungsao7PKg.jpeg" /><figcaption>Photo by <a href="https://perfectial.com/author/rdemush/">Rostyslav Demush</a> on Perfectial</figcaption></figure><p><strong><em>*Case: computer vision</em></strong></p><p>We should use a suitable method for our problem, some important things to consider, such as:</p><ol><li><strong>Environment</strong>, if your project is working on a little disturbance area, then we don’t need deep learning to be our problem solver.</li><li><strong>The device</strong>, if your device is supporting you to deploy your model, deep learning isn’t your problem and vice versa. Of course <strong><em>the heavier our model the more expensive our device</em></strong> that we need.</li><li><strong>Data</strong>, To achieve high performance, deep networks require extremely large datasets. The more <strong>labeled</strong> <strong>data</strong> we have, the better our model performs. Well-annotated data can be both expensive and time-consuming to acquire. Hiring people to <em>manually</em> collect images and label them is not efficient at all. And in the deep learning era, data is very well arguably your most valuable resource. The networks achieving high performance in the latest research are often trained on <a href="http://cocodataset.org/#home">hundreds of thousands</a> and even <a href="https://en.wikipedia.org/wiki/ImageNet"><em>millions</em></a><em> </em>of samples. For many applications, such large datasets are not readily available and will be expensive and time-consuming to acquire. <strong>For smaller datasets, classical ML algorithms such as regressions, random forest, and SVM often outperform deep networks</strong>. <a href="https://towardsdatascience.com/three-reasons-that-you-should-not-use-deep-learning-15bec517b622">[1]</a></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*GvceaZWcVJM1f98Qh4WbAQ.png" /><figcaption><strong>Artificial neural networks (deep learning) improves with scale (Jeff Dean)</strong></figcaption></figure><p>One theme was undebated: Deep learning will dominate advancements in commercial AI for the unforeseeable future. Why? The short answer is that it works incredibly well for a wide variety of applications. As pointed out by <a href="https://research.google.com/pubs/jeff.html">Jeff Dean</a> (Google) during his <a href="https://www.slideshare.net/AIFrontiers/jeff-dean-trends-and-developments-in-deep-learning-research">keynote presentation</a>, deep neural networks can now outperform humans in image classification, and deep learning is used in almost every Google product.</p><p>We are able to use an alternative method to solve our problem in computer vision project or something else, of course by considering some important things that have been explained above. For example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*9-EeBYRxc6z-pobjjjNDFw.jpeg" /><figcaption><a href="https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_feature2d/py_matcher/py_matcher.html">feature matching</a> using FLANN and SIFT descriptor with ratio test <a href="https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_feature2d/py_matcher/py_matcher.html">[2]</a></figcaption></figure><blockquote>From the example above, we are able to find a query image on the training image by using another approach for find object that have similarity. That is fast and light to deploy on the low cost device, so that we don’t need the expensive device to support our project!</blockquote><p><strong>Conclusion:</strong></p><p>Solving problem in AI project is not about how great a method is, but how the method fits the needs and resources that we have, consider first then execution! “deep learning and superman are not always good”.</p><p><strong>Reference:</strong></p><p>[1] Three reasons that you should NOT use deep learning|<a href="https://towardsdatascience.com/@george.seif94?source=post_page-----15bec517b622----------------------">George Seif</a>|Towards data science|<a href="https://towardsdatascience.com/three-reasons-that-you-should-not-use-deep-learning-15bec517b622">https://towardsdatascience.com/three-reasons-that-you-should-not-use-deep-learning-15bec517b622</a> (accessed in 2 Mei 2020).</p><p>[2] Feature Matching|OpenCV|<a href="https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_feature2d/py_matcher/py_matcher.html">https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_feature2d/py_matcher/py_matcher.html</a> (accessed in 2 Mei 2020).</p><p><strong>Let’s keep in touch!</strong></p><ul><li><strong>Email:</strong> aguspray001@gmail.com</li><li><strong>LinkedIn:</strong> <a href="https://www.linkedin.com/in/agus-prayudi-ba8456139/">Agus Prayudi</a></li><li><strong>Instagram:</strong> <a href="https://www.instagram.com/aguspray/">aguspray</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef58a1af6dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“How to define your needs on the ML project before execution”]]></title>
            <link>https://medium.com/@aguspray001/how-to-define-your-needs-on-the-ml-project-before-execution-8efe1e09deb1?source=rss-7f8cc06a03d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/8efe1e09deb1</guid>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Agus Prayudi]]></dc:creator>
            <pubDate>Fri, 01 May 2020 13:10:20 GMT</pubDate>
            <atom:updated>2020-05-01T14:06:35.609Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Hopefully, this published story would give you an insight “how to build your structured work on ML project”.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*euiN4fdv_q21JkjKB68OGQ.jpeg" /></figure><blockquote>First of all, we have to know <strong>“what is machine learning”</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*np4UqBZ28KSIkfzsrcBmAA.jpeg" /><figcaption>Computer Scientist and machine learning pioneer Tom M. Mitchell Portrayed | Source: <a href="http://www.cs.cmu.edu/afs/cs.cmu.edu/user/mitchell/ftp/mlbook.html">Machine Learning, McGraw Hill, 1997, Tom M. Mitchell</a> [2]</figcaption></figure><p>The scientific field of machine learning (ML) is a branch of artificial intelligence, as defined by Computer Scientist and machine learning pioneer [<a href="https://www.nae.edu/30398.aspx">1</a>] <a href="http://www.cs.cmu.edu/~tom/">Tom M. Mitchell</a>: “<strong>Machine learning is the study of computer algorithms that allow computer programs to automatically improve through experience </strong>[<a href="http://www.cs.cmu.edu/afs/cs.cmu.edu/user/mitchell/ftp/mlbook.html">2</a>].”</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FmmXB636p_E8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DmmXB636p_E8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FmmXB636p_E8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/baeca0a102a74c4cd3b9f4fbd37b3063/href">https://medium.com/media/baeca0a102a74c4cd3b9f4fbd37b3063/href</a></iframe><p><em>Then, have you ever found some problems during doing your ML project? this is the right time to solve your problem!</em></p><p><strong>Okay, </strong>We have to start our discussion from the basics, that is “<strong><em>how to define our problem</em>s</strong>” so that you can choose a suitable method for your project! as a reference, you can use<a href="http://profsite.um.ac.ir/~monsefi/machine-learning/pdf/Machine-Learning-Tom-Mitchell.pdf"> Tom Mitchell’s machine learning formula</a>:</p><blockquote>“A computer program is said to learn from experience <em>E</em> with respect to some class of tasks <em>T</em> and performance measure <em>P</em>, if its performance at tasks in <em>T</em>, as measured by <em>P</em>, improves with experience <em>E”</em>.</blockquote><p>For example:</p><p><strong>Task</strong> (<em>T</em>): Classify an object that has a rectangular shape.</p><p><strong>Experience</strong> (<em>E</em>): A corpus of objects where some have a rectangular shape and some do not.</p><p><strong>Performance</strong> (<em>P</em>): Classification accuracy, the number of objects predicted correctly out of all objects that considered as a percentage.</p><blockquote>By measuring our needs using formula, we are having a way to solve our problem clearly. so, let’s think!</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*LWOtbXELNwFhx4nla0Pgdg.gif" /></figure><p>From the explanation above, determine our needs on the ML projects is very important to do. <strong>Don’t focus on the sophisticated method, output, etc. You can make it easier by using the formula!</strong></p><h3>References:</h3><p>[1] For pioneering contributions and leadership in the methods and applications of machine learning. | <a href="http://www.nae.edu/30398.aspx">“Prof. Tom M. Mitchell”</a>. <a href="https://en.wikipedia.org/wiki/National_Academy_of_Engineering">National Academy of Engineering</a>. Retrieved October 2, 2011.</p><p>[2] Machine Learning Definition | Tom M. Mitchell| McGraw-Hill Science/Engineering/Math; (March 1, 1997), Page 1 | h<a href="http://www.cs.cmu.edu/afs/cs.cmu.edu/user/mitchell/ftp/mlbook.html">ttp://www.cs.cmu.edu/afs/cs.cmu.edu/user/mitchell/ftp/mlbook.html</a></p><p>[3] How Machine Learning Works? | Yann LeCun | Youtube | <a href="https://www.youtube.com/watch?v=mmXB636p_E8">https://www.youtube.com/watch?v=mmXB636p_E8</a></p><h4>Let’s keep in touch</h4><ul><li><strong>Email:</strong> aguspray001@gmail.com</li><li><strong>LinkedIn:</strong> <a href="https://www.linkedin.com/in/agus-prayudi-ba8456139/">Agus Prayudi</a></li><li><strong>Instagram:</strong> <a href="https://www.instagram.com/aguspray/">aguspray</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8efe1e09deb1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>