<?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 Falah Novayanda Adlin on Medium]]></title>
        <description><![CDATA[Stories by Falah Novayanda Adlin on Medium]]></description>
        <link>https://medium.com/@falahadlin?source=rss-fc231b935610------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0T2SW3bBhciZXLb6wWdCmw.png</url>
            <title>Stories by Falah Novayanda Adlin on Medium</title>
            <link>https://medium.com/@falahadlin?source=rss-fc231b935610------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 20:45:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@falahadlin/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[Dashboard Executive Overview — Customer & Product in Coffee Shop with Power BI]]></title>
            <link>https://falahadlin.medium.com/dashboard-executive-overview-customer-product-in-coffee-shop-with-power-bi-6a9be163a621?source=rss-fc231b935610------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a9be163a621</guid>
            <dc:creator><![CDATA[Falah Novayanda Adlin]]></dc:creator>
            <pubDate>Sun, 26 Mar 2023 10:58:05 GMT</pubDate>
            <atom:updated>2023-03-26T10:58:05.179Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dashboard Executive Overview — Customer &amp; Product in Coffee Shop with Power BI</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7PXgxsHvtD_o18X7dNZdLQ.png" /><figcaption>Dashboard Executive Overview — Customer &amp; Product in Coffee Shop with Power BI</figcaption></figure><ul><li>Diperoleh bahwa total customer coffe shop pada bulan April sebesar 2.245 customer. Dengan diperolah total sales sebanyak Rp. 3 M dengan 71.758 produk di 3 coffe shop yang ada.</li><li>Diketahui pada grafik daily total customer di 3 cofee shop tersebut berdasarkan product group bahwa total customer dari tiap harinya pada bulan April berpola cukup fluktuatif, kemudian dilihat bahwa beberapa hari di awal bulan produk terjual cukup tinggi kemudian menuju pertengahan bulan melandai lalu menuju alhir bulan kemabli naik signifikan. Hal ini terjadi dimana target market 3 coffe shop ini adalah pekerja kantoran maka pada awal bulan dan akhir bulan yang mana baru mendapatkan gajian per bulan nya. Dengan diketahui total customer di cofee shop terbanyak pada hari Senin tanggal 1 April 2019 sebesar 1.033 customer. Hal tersebut menunjukan di akhir bulan dimana kemungkinan mayoritas customer merupakan pekerja kantoran yang baru mendapatkan gajian per bulannya.</li><li>Diperoleh dari hasil analisis clustering bahwa segmentasi customer coffe shop berdasarkan total sales dan jumlah order terdapat 4 cluster. Dimana hasil karakteristik cluster yang diperoleh kurang baik. Hal ini terjadi mungkin saja metode default cluster pada power BI kurang baik. Sehingga baiknya dapat dilakukan analisis lebih lanjut menggunakan metode cluster dengan meachine learning.</li><li>Selanjutnya diperoleh hasil analisis forecasting untuk total sales di 3 coffe shop tersebut pada periode 1 Mei 2019 hingga 5 Mei 2019 sebesar Rp. 79.680.114. Hasil tersebut dapat dijadikan target total sales sebagai parameter keberhasilan dalam hasil penjualan di 3 coffe shop tersebut.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Zn2jRQ6n-yeMUfiBlp2-Q.png" /></figure><ul><li>Terdapat kolom baru dengan kalkulasi terhadap kolom yang sudah ada. Seperti kolom Total Sales dan Cluster.</li><li>Creating Query SQL for data set:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uJWFp9zMbvPhv1odpP-dLg.png" /></figure><ul><li>Validasi report dilakukan dengan membandingkan data pada dashboard menggunakan tableau dengan dashboard menggunakan tableau. Ada perbedaan perhitungan karena pada tableu merupakan hasill akhir pembulatan Pembuktiannya seperti berikut:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/781/1*72R2AQqx_m-EWVxjX8wxaA.png" /></figure><ul><li>Seluruh hasil grafik sudah sama antara report dashboard menggunakan tableau dan power bi. Tetapi pada grafik forecasting terdapat perbedaan hasil karen kemungkinan metode forecasting yang digunakan berbeda-beda tiap default tableau dengan power BI.</li></ul><p>Reference:</p><ul><li>data set: Mini Project Rakamin Academy (<a href="https://www.rakamin.com/">https://www.rakamin.com/</a>)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a9be163a621" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dashboard Executive Overview — Sales & Product in Coffee Shop in Power BI]]></title>
            <link>https://falahadlin.medium.com/dashboard-executive-overview-sales-product-in-coffee-shop-in-power-bi-f4592b16ed4f?source=rss-fc231b935610------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4592b16ed4f</guid>
            <dc:creator><![CDATA[Falah Novayanda Adlin]]></dc:creator>
            <pubDate>Sun, 26 Mar 2023 10:39:33 GMT</pubDate>
            <atom:updated>2023-03-26T10:40:44.183Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Dashboard Executive Overview — Sales &amp; Product in Coffee Shop With Power BI</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tj_rRQ2Nz5w9_7ADSmnntQ.png" /></figure><ul><li>Diperoleh bahwa total sales transaksi coffe shop pada bulan April sebesar Rp. 3.000.000.000. Dengan diperolah total product yang terjual sebanyak 71.758 produk dalam 58.547 orderan di 3 coffe shop yang ada.</li><li>Diketahui pada grafik daily total produk terjual berdasarkan product group bahwa total produk terjual dari tiap harinya pada bulan April berpola cukup fluktuatif, kemudian dilihat bahwa beberapa hari di awal bulan dan di akhir bulan produk terjual cukup tinggi signifikan. Hal ini terjadi dimana target market 3 coffe shop ini adalah pekerja kantoran maka pada awal bulan dan akhir bulan yang mana baru mendapatkan gajian per bulan nya. Dengan diketahui total produk terjual tertinggi pada hari Sabtu tanggal 27 April 2019 sebesar 2.441 produk yang terjual. Hal tersebut menunjukan di hari wekend dan kemungkinan mayoritas customer merupakan pekerja kantoran yang baru mendapatkan gajian per bulannya.</li><li>Pada Grafik Totally Product by Product Group diketahui pada product group yang memiliki total produk terjual terbanyak pada product group beverage, food, Add-ons, dst. Hal tersebut terjadi karena product group beverages dan food dimana terdapat produk-produk utama minuman dan makananan di dalam coffe shop. Sedangkan diketahui product group yang memiliki total produk terjual yang paling rendah dibandingkan prduct group lainnya yaitu merchandise dan whole bean/teas. Untuk melihat lebih detail pada 2 group tersebut selanjutnya dapat dilihat pada grafik berikutnya. Hal ini terjadi karena produk-produk pada product group merchandise dan whole bean/teas bukan merupakan produk utama yang dikonsumsi oleh customer coffe shop. Sehingga harus dilakukan cara agar meningkatkan penjualan produk tersebut, yang akan dijelaskan pada grafik selanjutnya.</li><li>Pada Grafik Totally Product by Product Name &amp; Product Category menjelaskan bahwa pada prodct group merchandise di product category branded yang merupakaan product terjual yang terendah yaitu produk “I Need My bean! Diner Mug”. Sedangkan pada prodct group whole bean/teas di product category coffe beans yang merupakaan product terjual yang terendah yaitu produk “primo espresso roast”. Sehingga strategi yang dapat dilakukan untuk meningkatkan penjualan pada product group merchandise yaitu menghilangkan ketersedian produk “I Need My bean! Diner Mug” dengan meganti produk merchandise yang sedang trend dan sesuai fungsi target marketnya saat ini, misal memproduksi tumbler untuk dikantor.</li><li>Dapat diketahui bahwa total produk dengan total customer memiliki korelasi positif berarti total produk yang terjual di cofee shop tersebut semakin tinggi atau rendah maka jumlah customer di coffe shop tersebut juga semakin tinggi atau rendah. Sehingga jika ingin mengetahui lebih detail apakah terdapat hubungan dan pengaruh antar variabel tersebut maka perlu dilakukannya analisis statistik inferensia lebih lanjut. Seperti menggunakan analisis korelasi dan regresi dengan uji asumsinya.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*ID-w8EdXfXzpnTGuCCNjpg.png" /></figure><ul><li>Kemudian pada grafik Totally Product by Product Group ditambahkan tootlip grafik totally product by product name yang menunjukan lebih detail produk mana yang paling sedikit dari product group tersebut. Dimana produk mug yang paling sedikit terjual.</li></ul><p>Reference:</p><ul><li>data set: Mini Project Rakamin Academy (<a href="https://www.rakamin.com/">https://www.rakamin.com/</a>)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4592b16ed4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dashboard Executive Overview — Customer & Product in Coffe Shop]]></title>
            <link>https://falahadlin.medium.com/dashboard-executive-overview-customer-product-in-coffe-shop-ae5a65d0ef45?source=rss-fc231b935610------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae5a65d0ef45</guid>
            <dc:creator><![CDATA[Falah Novayanda Adlin]]></dc:creator>
            <pubDate>Sun, 26 Mar 2023 04:45:23 GMT</pubDate>
            <atom:updated>2023-03-26T10:42:24.345Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dashboard Executive Overview — Customer &amp; Product in Coffee Shop with Tableau</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Npm7-JfaCXQuQM7wYUi1Og.png" /><figcaption>Dashboard Executive Overview — Customer &amp; Product in Coffe Shop</figcaption></figure><ul><li>Diperoleh bahwa total customer coffe shop pada bulan April sebesar 2.245 customer. Dengan diperolah total sales sebanyak Rp. 2.810.538.600 dengan 71.758 produk di 3 coffe shop yang ada.</li><li>Diketahui pada grafik daily total customer di 3 cofee shop tersebut berdasarkan product group bahwa total customer dari tiap harinya pada bulan April berpola cukup fluktuatif, kemudian dilihat bahwa beberapa hari di awal bulan produk terjual cukup tinggi kemudian menuju pertengahan bulan melandai lalu menuju alhir bulan kemabli naik signifikan. Hal ini terjadi dimana target market 3 coffe shop ini adalah pekerja kantoran maka pada awal bulan dan akhir bulan yang mana baru mendapatkan gajian per bulan nya. Dengan diketahui total customer di cofee shop terbanyak pada hari Senin tanggal 1 April 2019 sebesar 1.033 customer. Hal tersebut menunjukan di akhir bulan dimana kemungkinan mayoritas customer merupakan pekerja kantoran yang baru mendapatkan gajian per bulannya.</li><li>Diperoleh dari hasil analisis clustering ke-1 bahwa segmentasi customer coffe shop berdasarkan total sales dan jumlah order terdapat 3 cluster. Dimana cluster 1 menunjukan total sales cenderung rendah dan jumlah order juga rendah. Kemudian cluster 2 menunjukan total sales cenderung sedang dan jumlah order juga sedang. Lalu cluster 3 menunjukan total sales cenderung tinggi dan jumlah order juga tinggi.</li><li>Diperoleh dari hasil analisis clustering ke-1 bahwa segmentasi customer coffe shop berdasarkan total sales dan total produk terdapat 2 cluster. Dimana cluster 1 menunjukan total sales cenderung rendah dan total produk juga rendah. Kemudian cluster 2 menunjukan total sales cenderung tinggi dan total produk juga tinggi.</li><li>Selanjutnya diperoleh hasil analisis forecasting untuk total sales di 3 coffe shop tersebut pada periode 1 Mei 2019 hingga 5 Mei 2019 sebesar Rp. 93.791.246. Hasil tersebut dapat dijadikan target total sales sebagai parameter keberhasilan dalam hasil penjualan di 3 coffe shop tersebut.</li></ul><p>Reference:</p><ul><li>data set: Rakamin Academy (<a href="https://www.rakamin.com/">https://www.rakamin.com/</a>)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae5a65d0ef45" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dashboard Executive Overview — Sales & Product in Coffe Shop]]></title>
            <link>https://falahadlin.medium.com/dashboard-executive-overview-sales-product-in-coffe-shop-f2024443bbe?source=rss-fc231b935610------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2024443bbe</guid>
            <dc:creator><![CDATA[Falah Novayanda Adlin]]></dc:creator>
            <pubDate>Sun, 26 Mar 2023 04:12:58 GMT</pubDate>
            <atom:updated>2023-03-26T10:41:28.232Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dashboard Executive Overview — Sales &amp; Product in Coffe Shop with Tableau</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Dk57GgSkmFuf5BHqTA6SmQ.png" /><figcaption>Dashboard Executive Overview — Sales &amp; Product in Coffe Shop</figcaption></figure><ul><li>Diperoleh bahwa total sales transaksi coffe shop pada bulan April sebesar Rp. 2.810.538.600 Orderan. Dengan diperolah total product yang terjual sebanyak 71.758 produk dalam 58.547 orderan di 3 coffe shop yang ada.</li><li>Diketahui pada grafik daily total produk terjual berdasarkan product group bahwa total produk terjual dari tiap harinya pada bulan April berpola cukup fluktuatif, kemudian dilihat bahwa beberapa hari di awal bulan dan di akhir bulan produk terjual cukup tinggi signifikan. Hal ini terjadi dimana target market 3 coffe shop ini adalah pekerja kantoran maka pada awal bulan dan akhir bulan yang mana baru mendapatkan gajian per bulan nya. Dengan diketahui total produk terjual tertinggi pada hari Sabtu tanggal 27 April 2019 sebesar 2.441 produk yang terjual. Hal tersebut menunjukan di hari wekend dan kemungkinan mayoritas customer merupakan pekerja kantoran yang baru mendapatkan gajian per bulannya.</li><li>Pada Grafik Totally Product by Product Group diketahui pada product group yang memiliki total produk terjual terbanyak pada product group beverage, food, Add-ons, dst. Hal tersebut terjadi karena product group beverages dan food dimana terdapat produk-produk utama minuman dan makananan di dalam coffe shop. Sedangkan diketahui product group yang memiliki total produk terjual yang paling rendah dibandingkan prduct group lainnya yaitu merchandise dan whole bean/teas. Untuk melihat lebih detail pada 2 group tersebut selanjutnya dapat dilihat pada grafik berikutnya. Hal ini terjadi karena produk-produk pada product group merchandise dan whole bean/teas bukan merupakan produk utama yang dikonsumsi oleh customer coffe shop. Sehingga harus dilakukan cara agar meningkatkan penjualan produk tersebut, yang akan dijelaskan pada grafik selanjutnya.</li><li>Pada Grafik Totally Product by Product Name &amp; Product Category menjelaskan bahwa pada prodct group merchandise di product category branded yang merupakaan product terjual yang terendah yaitu produk “I Need My bean! Diner Mug”. Sedangkan pada prodct group whole bean/teas di product category coffe beans yang merupakaan product terjual yang terendah yaitu produk “primo espresso roast”. Sehingga strategi yang dapat dilakukan untuk meningkatkan penjualan pada product group merchandise yaitu menghilangkan ketersedian produk “I Need My bean! Diner Mug” dengan meganti produk merchandise yang sedang trend dan sesuai fungsi target marketnya saat ini, misal memproduksi tumbler untuk dikantor.</li><li>Dapat diketahui bahwa total produk dengan total customer memiliki korelasi positif berarti total produk yang terjual di cofee shop tersebut semakin tinggi atau rendah maka jumlah customer di coffe shop tersebut juga semakin tinggi atau rendah. Sehingga jika ingin mengetahui lebih detail apakah terdapat hubungan dan pengaruh antar variabel tersebut maka perlu dilakukannya analisis statistik inferensia lebih lanjut. Seperti menggunakan analisis korelasi dan regresi dengan uji asumsinya.</li></ul><p>Reference:</p><ul><li>data set: Rakamin Academy (<a href="https://www.rakamin.com/">https://www.rakamin.com/</a>)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2024443bbe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Executive Overview — Customer & Product Part 2]]></title>
            <link>https://falahadlin.medium.com/executive-overview-customer-product-part-2-8433dc8079a5?source=rss-fc231b935610------2</link>
            <guid isPermaLink="false">https://medium.com/p/8433dc8079a5</guid>
            <dc:creator><![CDATA[Falah Novayanda Adlin]]></dc:creator>
            <pubDate>Sun, 01 May 2022 08:43:32 GMT</pubDate>
            <atom:updated>2022-06-09T06:24:22.351Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Dashboard Executive Overview — Customer &amp; Product</strong> Part 2</h3><p>Pada pelatihan digitaltalent Kominfo dengan platform Rakamin pada program FGA Kominfo divisi Business Intelligence terdapat studi kasus yang cukup menarik. Dalam studi kasus tersebut diminta untuk analisa pada data dengan 3 view utama yaitu Pegawai, Pelanggan, dan Produk. Sehingga saya membuat dashboard ke dua dengan judul Executive Overview — Customer &amp; Product sebagai berikut:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*CjiSqsv2oN-1fPF3_DJePQ.png" /></figure><p><a href="https://public.tableau.com/views/ExecutiveOverview-CustomerProductPart2/DashboardCustomer?:language=en-US&amp;:display_count=n&amp;:origin=viz_share_link">https://public.tableau.com/views/ExecutiveOverview-CustomerProductPart2/DashboardCustomer?:language=en-US&amp;:display_count=n&amp;:origin=viz_share_link</a></p><p>Diperoleh bahwa jumlah Customer dari seluruh produk sebanyak 2,417 customer dengan jumlah Sales sebanyak $1,7 Juta, dimana dengan jumlah produk terjual sebanyak 16,523 produk.</p><p>Dari seluruh State yang ada, California yang merupakan State yang memiliki jumlah customer order tertinggi yaitu sebanyak 295 customer.</p><p>Diketahui bahwa jumlah customer tertinggi berdasarkan product category dan customer type yaitu pada product category Olive oil dengan customer type Individual sebanyak 1.585 customer.</p><p>Kemudian dari waktu ke waktu jumlah customer mengalami perubahan yang fluktuatif berdasarkan kategori customer yang ada, dari bulan Februari 2019 hingga Januari 2021 diketahui bahwa jumlah customer yang tetap paling banyak memperoleh jumlah customer yaitu kategori customer Individual.</p><p>Terdapat korelasi antara Quantity (jumlah produk) dengan Jumlah Customer terhadap tiap customer type yang ada, diperoleh bahwa product name yang memiliki jumlah produk dan Jumlah Customer yang tertinggi pada customer type business yaitu Extra Virgin Olive Oil — Bold 12pk, Chili Extra Virgin Olive Oil 12pk, dan Extra Virgin Olive Oil — Delicate 12pk.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8433dc8079a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dashboard Executive Overview — Sales & Product Part 1]]></title>
            <link>https://falahadlin.medium.com/dashboard-executive-overview-sales-product-part-1-c3cd474ebe16?source=rss-fc231b935610------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3cd474ebe16</guid>
            <dc:creator><![CDATA[Falah Novayanda Adlin]]></dc:creator>
            <pubDate>Fri, 29 Apr 2022 03:42:57 GMT</pubDate>
            <atom:updated>2022-05-01T08:29:24.648Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dashboard Executive Overview — Sales &amp; Product Part 1</h3><p>Pada pelatihan digitaltalent Kominfo dengan platform Rakamin pada program FGA Kominfo divisi Business Intelligence terdapat studi kasus yang cukup menarik. Dalam studi kasus tersebut diminta untuk analisa pada data dengan 3 view utama yaitu Pegawai, Pelanggan, dan Produk. Sehingga saya membuat dashboard pertama dengan judul Executive Overview — Sales &amp; Product sebagai berikut:</p><p><a href="https://public.tableau.com/views/ExecutiveOverview-SalesProductPart1/DashboardSales?:language=en-US&amp;:retry=yes&amp;:display_count=n&amp;:origin=viz_share_link">https://public.tableau.com/views/ExecutiveOverview-SalesProductPart1/DashboardSales?:language=en-US&amp;:retry=yes&amp;:display_count=n&amp;:origin=viz_share_link</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Bn5vesTdAr7jQphrRChTzA.png" /></figure><p>Diperoleh bahwa jumlah sales dari seluruh produk sebesar $1,7 Juta dengan jumlah produk sebanyak 16,523 produk, dimana dengan jumlah customer sebanyak 1,4127 customer.</p><p>Dari seluruh State yang ada, Texas yang merupakan State yang memiliki jumlah sales order tertinggi yaitu sebesar $234,689.</p><p>Diketahui bahwa jumlah sales tertinggi berdasarkan product category yaitu pada category Olive oil sebesar $1.533.164.</p><p>Kemudian dari waktu ke waktu jumlah sales mengalami perubahan yang fluktuatif berdasarkan kategori produk yang ada, dari bulan Februari 2019 hingga Januari 2021 diketahui bahwa jumlah sales yang tetap paling banyak memperoleh jumlah sales yaitu kategori Olive Oil.</p><p>Terdapat korelasi antara Quantity (jumlah produk) dengan Jumlah Customer terhadap tiap Product Category yang ada, diperoleh bahwa product name yang memiliki jumlah produk dan Jumlah Customer yang tertinggi pada category Olive Oil yaitu Basil Extra Virgin Olive Oil 12pk, Chili Extra Virgin Olive Oil 12pk, dan Extra Virgin Olive Oil — Bold 12pk.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3cd474ebe16" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Infografik Potensi UMKM Minuman Herbal saat Pandemi Covid-19]]></title>
            <link>https://falahadlin.medium.com/infografik-potensi-umkm-minuman-herbal-saat-pandemi-covid-19-bf101328931d?source=rss-fc231b935610------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf101328931d</guid>
            <dc:creator><![CDATA[Falah Novayanda Adlin]]></dc:creator>
            <pubDate>Sat, 30 Oct 2021 06:03:25 GMT</pubDate>
            <atom:updated>2021-11-01T13:45:55.642Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B6ybV8YExK2Gz6eSz2Uo9g.png" /><figcaption><a href="https://public.tableau.com/views/PotensiUMKMMinumanHerbalDiShopee/Dashboard1?:language=en-US&amp;publish=yes&amp;:display_count=n&amp;:origin=viz_share_link">https://public.tableau.com/views/PotensiUMKMMinumanHerbalDiShopee/Dashboard1?:language=en-US&amp;publish=yes&amp;:display_count=n&amp;:origin=viz_share_link</a></figcaption></figure><h3>Assalamua’laikum,</h3><p>Halo teman-teman, pada artikel sebelumnya penulis sudah melakukan scraping data, preprocessing data dan visualisasi data untuk data penjualan buku novel di e-commerce shopee. Untuk pembahasannya dapat di lihat di link berikut <a href="https://falahadlin.medium.com/scraping-dan-analisis-data-visualisasi-terhadap-data-e-commerce-novel-dengan-tableau-d56a0c291570">https://falahadlin.medium.com/scraping-dan-analisis-data-visualisasi-terhadap-data-e-commerce-novel-dengan-tableau-d56a0c291570</a>.</p><p>Untuk saat ini penulis akan membagi hasil dari scraping data dan analisis data deskriptif atau visualisasi data untuk bagaimana melihat karakteristik potensi produk minuman herbal. Dimana penulis menggunakan data miner untuk mensraping data dan aplikasi tableau untuk visualisasi data.</p><p>Dengan dilalukan analisis data mining dengan mengoalah data Penjualan Minuman Herbal di e-commerce Shopee dengan visualisasi data dimana diperoleh karakteristik pada potensi produk minuman herbal. Penulis akan menjelaskan interpretasi atau insight yang ada per grafik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*KLbgcEYxI6Y_xhCrgoV7iA.png" /></figure><p>Terdapat beberapa jenis minuman herbal yaitu sebanyak 22 jenis yang terdapat di website e-commerce shopee. Dimana dari 22 jenis minuman herbal, penjualan yang paling terbanyak terjual dalam 5 peringkat secara berurut adalah M Biopro, Temulawak, Wedang Secang, Kunyit Asem dan Kunyit. Dimana yang paling banyak terjual yaitu M biopro sebanyaj 6.500 produk yang terjual. M Biopro merupakan Formula Fermentasi Herbal dengan kandungan bakteri baik (probiotik) untuk menjaga kesehatan tubuh manusia. M-BioPro dibuat dari bahan-bahan alami yang kaya manfaat antara lain: -Air Kelapa -Tumbuhan Sarang Semut -Akar Pepaya -Daun Ketepeng -Ekstrak Kulit Manggis -Madu -Propolis –dll. Dengan khasiat untuk tubuh sehat dan bahan baku yang bermacam-macam maka M Biopro digemari banyak konsumen apalagi seperti pandemi saat ini. Kemudian terdapat Temulawak, Wedang Secang, Kunyit Asem, dan Kayu Secang yang dimana merupakan jamu tradisional yang memiliki penjualan cukup banyak. Sehingga 5 jenis Minuman herbal ini dapat dijadikan referensi untuk dijadikan bisnis baru dimana dengan modal tidak cukup besar karena bahan baku untuk membuat minuman herbal tersebut dapat mudah diperoleh di pasar tradisiional.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*cJjoNqnI6bnx9z_WG7MotQ.png" /></figure><p>Dari 22 Jenis Minuman Herbal tersebut pendapatan yang diperoleh paling banyak pada produk 5 jenis ini yaitu M Biopro, Hizb, Temulawak, Aloevera, Kunyit Asam, Kunyit. Dibandingkan dengan data Penjualan dimana jenis minuman yang berbanding lurus dari data pendapatan adalah M Biopro, Temulawak dan Kunyit Asam. Berarti jika penjualan semakin tinggi maka pendapatan pun tinggi juga dengan konstan. Dikarenakan harga jual produk tersebut terjangkau dan sesuai dari kualitas produk minuman herbal tersebut sehigga konsumen tertarik untuk membeli produk tersebut.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*9z2UGhs1nN63Gf17Gjr4RQ.png" /></figure><p>Adapaun terdapat 16 kota asal toko minuman herbal di Shopee. Dimana toko minuman herbal yang terbanyak berada di Kota Jakarta Barat sebanyak 21.21% kemudian Kota Surabaya sebanyak 12.12% lalu Jakarta Utara 9.09%, dan seterusnya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8eCYcv0aPhchLtvLGx0Png.png" /></figure><p>Dari 16 kota yang merupakan asal toko minuman herbal di shopee, dimana terdapat 3 peringkat toko yang memiliki jumlah terjual dan pendapat produk minuman herbal yang berbanding lurus. Dimana Kab. Cilacap, Jakarta Barat dan Kota Bandung. Berarti kota tersebut memiliki toko yang potensial menjual minuman herbal dikarenakan kemungkinan biaya produksi lebih murah, bahan baku lebih mudah diapat dan murah sehingga dapat menjual produk minuman herbal dengan jumlah terjual dan pendalatan yang cukup banyak.</p><p>Adapun kesimpulan yang diperoleh yaitu:</p><p>●Diketahui terdapat 8.48% penduduk usia kerja yang terdampak Covid-19 yaitu penduduk Berkerja dengan pengurangan Jam Kerja, penduduk Pengaguran Karena Covid-19, Penduduk Sementara Tidak Berkerja dan penduduk Bukan Angkatan Kerja.</p><p>●Hal ini terjadi karena kebijakan pemerintah pada saat itu lebih berfokus pada menanggulangi penyebaran covid-19 dan tidak memperhatikan pada perekonomian masyarakat.</p><p>●Diketahui bahwa Tingkat Pengagguram Terbuka (TPT) dari jenis kelaminnya terbanyak yaitu laki-laki, sedangkan TPT berdasarkan tempat tinggal terbanyak yaitu dari perkotaan.</p><p>●Semakin rendah pendidikan akhirnya maka upah buruh pun semakin rendah.</p><p>●Provinsi Jawa padahal merupakan pusat industri logistik di indonesia dengan memiliki upah minimum kategori rendah sedangkan beberapa daerah timur Indonesia seperti Papua, Maluku, Sulawesi memiliki upah minimum tinggi.</p><p>●Terdapat jenis minuman M-Biopro , Temulawak, Wedang Secang, Kunyit Asem, dan Kayu Secang yang dimana memiliki penjualan cukup banyak. Sehingga 5 jenis Minuman herbal ini dapat dijadikan referensi untuk dijadikan bisnis baru dimana dengan modal tidak cukup besar karena bahan baku untuk membuat minuman herbal tersebut dapat mudah diperoleh di pasar tradisiional.</p><p>●Dibandingkan dengan data Penjualan dimana jenis minuman yang berbanding lurus dari data pendapatan adalah M Biopro, Temulawak dan Kunyit Asam. Berarti jika penjualan semakin tinggi maka pendapatan pun tinggi juga dengan konstan. Dikarenakan harga jual produk tersebut terjangkau dan sesuai dari kualitas produk minuman herbal tersebut sehigga konsumen tertarik untuk membeli produk tersebut.</p><p>●Dimana toko minuman herbal yang terbanyak berada di Kota Jakarta Barat sebanyak 21.21%.</p><p>●Kab. Cilacap, Jakarta Barat, dan Bandung memiliki toko yang potensial menjual minuman herbal dikarenakan kemungkinan biaya produksi lebih murah, bahan baku lebih mudah diapat dan murah sehingga dapat menjual produk minuman herbal dengan jumlah terjual dan pendalatan yang cukup banyak.</p><p>Mungkin ini saja yang dapat penulis sharing dari hasil analisis deskriptif untuk potensi UMKM minuman herbal saat pandemi Covid-19.</p><p>Referensi :</p><p>1. <a href="https://sikapiuangmu.ojk.go.id/FrontEnd/CMS/Article/20601">https://sikapiuangmu.ojk.go.id/FrontEnd/CMS/Article/20601</a></p><p>2. <a href="https://www.kompas.com/tren/read/2021/01/31/120400765/5-bisnis-rumahan-yang-menjanjikan-di-masa-pandemi-covid-19?page=all">https://www.kompas.com/tren/read/2021/01/31/120400765/5-bisnis-rumahan-yang-menjanjikan-di-masa-pandemi-covid-19?page=all</a></p><p>3. <a href="https://foto.bisnis.com/view/20200624/1256985/penjualan-minuman-herbal-meningkat-2-kali-lipat-saat-masa-pandemi-covid-19">https://foto.bisnis.com/view/20200624/1256985/penjualan-minuman-herbal-meningkat-2-kali-lipat-saat-masa-pandemi-covid-19</a></p><p>4. <a href="https://www.tableau.com/products/desktop/download">https://www.tableau.com/products/desktop/download</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf101328931d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SVM Classification Analysis of Heart Disease Data with R Part 2]]></title>
            <link>https://falahadlin.medium.com/analisis-klasifikasi-svm-terhadap-data-heart-disease-penyakit-jantung-part-2-682ae8f0619?source=rss-fc231b935610------2</link>
            <guid isPermaLink="false">https://medium.com/p/682ae8f0619</guid>
            <dc:creator><![CDATA[Falah Novayanda Adlin]]></dc:creator>
            <pubDate>Thu, 12 Aug 2021 08:46:37 GMT</pubDate>
            <atom:updated>2021-08-15T11:28:20.152Z</atom:updated>
            <content:encoded><![CDATA[<h3>Assalamua’laikum,</h3><p>Hello statisticians, this article continues the previous article which discusses the analysis of the classification data of the ANN method for Heart Disease data. So, for this article the author will try to use the SVM method classification. Where the accuracy results will be compared with the analysis of the ANN method, that has been done previously .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DCKZltnoJATTx8VTx4p27Q.jpeg" /><figcaption>source : <a href="https://www.freepik.com/">https://www.freepik.com/</a></figcaption></figure><p>Support Vector Machine is a relatively new technique (1995) for making predictions, both in the case of classification and regression, which is very popular in recent times. The support vector machine is in the same class as the Neural Network in terms of functions and problem conditions that can be solved, both of which are included in the supervised learning class. Both scientists and practitioners have done a lot of research by applying this technique to solve real problems in life. Both in the problem of gene expression analysis, finance, weather to the medical field, it is proven that in many implementations of support vector machines, it gives better results than neural networks, especially in terms of the solutions achieved. Theoretically the Support Vector Machine was developed for classification problems with two classes in an effort to find the best hyperplane. Hyperplane is a separator function between two classes in the input space. (Nurhayati, 2015)</p><p>Heart Disease data set is from 1988 and consists of four databases: Cleveland, Hungary, Switzerland, and Long Beach V. This data contains 76 attributes, including predicted attributes, but all published experiments refer to the use of a subset of these 14 attributes. . The &quot;target&quot; field refers to the patient&#39;s presence or diagnosis of heart disease. This is an integer with a value of 0 = negative heart disease and 1 = positive heart disease. Where the number of data objects there are 303 data. The data link is as follows <a href="https://www.kaggle.com/ronitf/heart-disease-uci.">https://www.kaggle.com/ronitf/heart-disease-uci.</a></p><p>The first step, install the packages that will be used in the SVM analysis and activate the packages with the library command as follows:</p><pre>library(e1071)<br>library(caret)<br>library(devtools)<br>library(datasets)<br>library(rgl)<br>library(misc3d)</pre><p>Then, input the heart disease data in the form of a csv file with the following syntax:</p><pre>heart_deseases= read.csv(file.choose(), header = TRUE, sep = “,”)</pre><p>Next, I want to first see the data frame, structure, variable name, and variable factor of the target data heart disease as follows:</p><pre>str(heart_deseases)<br>View(heart_deseases)<br>names(heart_deseases)<br>summary(heart_deseases)<br>factor(heart_deseases$target)</pre><p>So, that the heart disease data set will be displayed as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*a39jCCYBsPEq1KNab_HTzw.png" /></figure><p>You can also see a summary of the data as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*qHYeja0RmnFCwXFf3zC-Dg.png" /></figure><p>As well as, known factors in the target variable as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*S5FfXT9gBvv7Don1WzhnFw.png" /></figure><p>Then, divide the portion of the heart disease data into 2 parts, namely 65% ​​of data for training data, 35% of testing data as follows:</p><pre>n=round(nrow(heart_deseases)*0.65)<br>n<br>set.seed(123)<br>sample=sample(seq_len(nrow(heart_deseases)), size = n)<br>train=heart_deseases[sample,] # terhadap data training<br>test=heart_deseases[-sample,] # terhadap data test</pre><p>Next, we will build a Support Vector machine model with a data train using the kernel polynomial type as follows:</p><pre>data.svm&lt;-svm(factor(target) ~., data = train, kernel=’polynomial’)<br>data.svm<br>summary(data.svm)</pre><p>So, that the SVM model has been formed for data classification. After the SVM model is formed, the model can be used as a classification or prediction tool for the Y (target) variable, namely the diagnosis of heart disease. Then, that predictions are made using testing data as follows:</p><pre>databaru=test[,-14]<br>databaru.pred = predict(data.svm, newdata=databaru, decision.values=T)<br>databaru.pred<br>##<br>databaru.dv = attr(databaru.pred,’decision.values’)<br>databaru.dv</pre><p>So that the prediction of heart disease diagnosis is obtained from 13 heart disease factors as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/142/1*ejAZ4UJZmjRC-kSSjXMI2w.png" /><figcaption>Predict Diagnosa</figcaption></figure><p>From the output, it is explained that if the predictive value is negative as in the second data, the value is -0.12007287, then the predicted diagnosis is 0 (positive heart disease), whereas if the predictive value is positive as in the 92nd data, the value is 0.08987262, then the diagnosis is predicted to be 1 (negative heart disease).</p><p>To see more clearly, see if the predictions obtained from the SVM model are true or not from the original data, then the model testing is carried out as follows:</p><pre>prediksi&lt;-predict(data.svm, test)<br>prediksi<br>table(prediksi)</pre><p>The results of the prediction or validation of the classification can be obtained in the following output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/1*DFCtdx-z-2XTSMh4-LXmcg.png" /></figure><p>From the output, it is explained that if the predicted value is 1 as in the 2nd data, then it is predicted that the diagnosis is positive heart disease, whereas if the predicted value is 0 as in the 92nd data, it is predicted that the diagnosis is negative heart disease.</p><p>The last step is to validate the svm model to see the level of accuracy obtained with the Confusion Matrix as follows:</p><pre>confusionMatrix(prediksi, factor(test$target))</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/351/1*ZnnuGdbMmfz-xA-iDYmz0g.png" /></figure><p>From the output, it is known that the results of the SVM classification obtained prediction results that showed 54 correct for class 1 (positive heart disease) and 18 wrong predictions for class 0 (negative heart disease). ) as many as 31 and wrong predictions for class 1 (positive heart disease) as many as 3. It is known that the level of accuracy obtained is 0.8019 or 80.19% of the predicted accuracy is measured. Where the accuracy results are quite good.</p><p>Where we see the level of accuracy with the ANN method of heart disease data classification is 0.7619 or 76.19% of the predicted accuracy measured. So that the best method used for the classification of heart disease diagnoses on heart disease data is the SVM method with an accuracy rate of 0.8019 or 80.19%.</p><p>Reference:</p><ol><li><a href="https://www.kaggle.com/ronitf/heart-disease-uci.">https://www.kaggle.com/ronitf/heart-disease-uci</a></li><li><a href="https://www.youtube.com/watch?v=RKZoJVMr6CU">https://www.youtube.com/watch?v=RKZoJVMr6CU</a></li><li><a href="https://medium.com/@986110101/support-vector-machines-using-r-95a93d13136a">https://medium.com/@986110101/support-vector-machines-using-r-95a93d13136a</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=682ae8f0619" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Neural Network Classification Analysis of Heart Data Disease with R Part 1]]></title>
            <link>https://falahadlin.medium.com/analisis-klasifikasi-neural-network-terhadap-data-heart-disease-penyakit-jantung-part-1-bc065b516877?source=rss-fc231b935610------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc065b516877</guid>
            <dc:creator><![CDATA[Falah Novayanda Adlin]]></dc:creator>
            <pubDate>Sat, 24 Jul 2021 13:21:49 GMT</pubDate>
            <atom:updated>2021-08-15T11:53:03.727Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*94J7wCRBIQh1q2YhX6vPMg.jpeg" /><figcaption>source : <a href="https://www.freepik.com/">https://www.freepik.com/</a></figcaption></figure><h3>Assalamua’laikum,</h3><p>Hello statisticians, in this article we will try to practice data analysis using classification with the Neural Network Analysis (ANN) method of Heart Disease data. Where for part 2 and so on, other classification methods will be used for Heart Disease data as well, so we will compare which method is the best to use.</p><p>Artificial Neural Network (ANN) is an information processing system that has characteristics similar to biological neural networks. ANN is formed as a generalization of the mathematical model of biological neural networks. ANN is determined by 3 things:</p><ol><li>The pattern of connections between neurons (called network architecture)..</li><li>Method for determining the weight of the link (training/learning method/algorithm).</li><li>Activation function.</li></ol><p>Heart Disease data set is from 1988 and consists of four databases: Cleveland, Hungary, Switzerland, and Long Beach V. This data contains 76 attributes, including predicted attributes, but all published experiments refer to the use of a subset of these 14 attributes. . The “target” field refers to the patient’s presence or diagnosis of heart disease. This is an integer with a value of 0 = negative heart disease and 1 = positive heart disease. Where the number of data objects there are 303 data. The data link is as follows <a href="https://www.kaggle.com/ronitf/heart-disease-uci.">https://www.kaggle.com/ronitf/heart-disease-uci.</a></p><p>The first step, we install and activate the packages that are used where there are three packages in R Studio with the following syntax:</p><pre>library(dplyr)<br>library(neuralnet)<br>library(caret)</pre><p>Then, the author enters the data with the read.scv command with the syntax object_data = read.csv(file.choose(), header = TRUE, sep = “,”) then selects the diabetes data file as shown in the image below:</p><pre># Input Data <br>heart_deseases= read.csv(file.choose(), header = TRUE, sep = “,”</pre><p>Next, the author displays the data with a syntax view (object name) as shown in the image below:</p><pre>View(heart_deseases)</pre><p>So, from all these variables the author wants to see descriptive statistics in order to find out whether custom missing value data is detected or not with a syntax summary (object name) as shown in the image below:</p><pre>summary(heart_deseases)</pre><p>Then, it can be seen that the descriptive statistics of all variables are known to have no variables that have missing value data, so they can be analyzed further. After that, the author standardizes the data so that the scale of the data units for each variable is the same, then by using the command loop function standardization of the min max method, the syntax is as follows:</p><pre># distandarisasi<br>for (i in names(heart_deseases[,-1])) {<br> heart_deseases[i] &lt;- (heart_deseases[i] — min(heart_deseases[i]))/(max(heart_deseases[i]) — min(heart_deseases[i]))<br>}<br>heart_deseases</pre><p>Next, the author divides the portion for training data by 65% and testing data by 35% by using the command until where previously set.seed with a value of 123 then the syntax is as follows:</p><pre># Data Partition = data dipisah 65% data training dan 35% data testing<br>set.seed(123)<br>ind &lt;- sample(2, nrow(heart_deseases), replace = TRUE, prob = c(0.65, 0.35))<br>training &lt;- heart_deseases[ind==1,] <br>testing &lt;- heart_deseases[ind==2,]</pre><p>Then, the author performs a neural networks analysis modeling with training data where there are 5 hidden layers with the neuralnet command, the syntax n &lt;- neuralnet(target~.,data = training, hidden = 7,err.fct = “ce”,linear.output = FALSE)) then a plot will be displayed with the plot command as follows:</p><pre># Model Neural Networks dengan data training<br>library(neuralnet)<br>set.seed(321)<br>n &lt;- neuralnet(target~.,<br> data = training,<br> hidden = 5,<br> err.fct = “ce”,<br> linear.output = FALSE)<br>plot(n)</pre><p>After that, the author sees predictions with testing data with a syntax like this:</p><pre># Prediction<br>output &lt;- compute(n, testing[,-1])<br>head(output$net.result)<br>head(training[1,])</pre><pre># data independen asli<br>results &lt;- data.frame(DataAsli=testing$target, Prediksi=output$net.result)<br>results</pre><pre># prediksinya<br>library(caret)<br>roundedresults &lt;- sapply(results, round, digits=0)<br>roundedresults</pre><p>Next, the author evaluates the model formed by knowing the accuracy and level of goodness of the results of the analysis, using the confusionMatrix (prediction) syntax as follows:</p><pre># Evaluasi model<br># akurasi dengan data test<br>actual &lt;- round(testing$target, digits = 0)<br>prediction &lt;- round(output$net.result, digits = 0)<br>mtab &lt;- table(actual,prediction)<br>mtab<br>confusionMatrix(mtab)</pre><p>In this section, the author will discuss the output obtained from the results of classification data analysis using the ANN method against Heart Disease data based on the dependent variable, namely the “target” variable where there are 2 classes, namely 1 = positive heart disease and 0 = negative heart disease. The data display for heart disease is as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*y7khRKR-Z8m35b9vR7GzMA.png" /><figcaption>Data set Penyakit Jantung</figcaption></figure><p>Then, standardization of data is carried out so that the scale on each dependent variable is equal, so that it is obtained as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*6XL8UMHL-bfezfaY1_2aBA.png" /><figcaption>Data set standarasisasi</figcaption></figure><p>In conducting the classification analysis with the ANN method, the data is divided for analysis. Where the first is the distribution for training data where the researcher determines the portion of 65% of all data, of which another 35% is for testing data.</p><p>Neural network analysis modeling with training data where 5 hidden layers will get the following model:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*uyddXK5Ry7LNq1c0iC4fjw.png" /><figcaption>Model ANN</figcaption></figure><p>The output above is a model that results from the analysis of the Neural Network Analysis classification method. Where to provide information that in this method the important information is the hidden layer. Information from the model is that on the input side there are 14 attributes, namely target, age, sex, cp, trestbps, chol, fpbs, restecg, thalach, exang, oldpeak, slope, ca and thal where these attributes will form the input layer (x) which given the weight values ​​x1, x2, x3, … x14. While the hidden layer 1 will also form a hidden layer (z), so that the distance between the input layer (x) and the hidden layer (z) has a weight value called the first weight matrix with the initials v11, v12, …. v15. Next, the output layer will appear called the output layer (y), where the distance between (y) and (z) can be calculated using the second weight value matrix, namely w1, w2, w3, … w5. Then the output value will be calculated which is for a positive diagnosis of heart disease or a negative heart disease.</p><p>After that, in the stage of making predictions, the ANN formed for testing data is combined with the original data from the training data. The results of the analysis can be obtained in the following outputs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*C37EDw0sOWp0icnQdXbqpA.png" /><figcaption>Prediksi</figcaption></figure><p>From the output, it is known that the results of the ANN classification show that the original data category 1 is predicted to be 1 and there are also 0.9984651. Then there is the original data category 0 which is predicted to be 0.9230630 and there is also 1.</p><p>To see more clearly the results by knowing the amount of data from each class the results of the ANN analysis can be displayed in the form of a table as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/203/1*6MyKNeMFuGycQfAVOOFdhQ.png" /><figcaption>Prediksi</figcaption></figure><p>From the output it is known that the results of the ANN classification obtained are results where the original data is known to be category 1 (positive heart disease) then it is predicted that there is 1 and there is also 0. It is also known that the original data is category 0 (negative heart disease) then predicted there is 1 and there is also 0. Then . Furthermore, to find out how the level of accuracy and goodness of the results of the ANN classification, it can be known from the confusion matrix process. The output confusion Matrix is as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*KI1hQSz0i__uf7q730u3LA.png" /><figcaption><em>Confusion Matrix</em></figcaption></figure><p>From the output, it is known that the results of the ANN classification obtained prediction results that showed 43 correct predictions for class 1 (positive heart disease) and 13 incorrect predictions for class 0 (negative heart disease). heart) as many as 37 and wrong predictions for class 1 (positive for heart disease) as many as 12.</p><p>Then, an evaluation of the formed model is carried out, it is known that the level of accuracy obtained is 0.7619 or 76.19% of the predicted accuracy measured. Where the accuracy results are quite good.</p><p>Reference:</p><ol><li>Machmudin, A. (2012). Peramalan Temperatur Udara di Kota Surabaya dengan Menggunakan ARIMA dan Artificial dengan Menggunakan ARIMA dan Artificial. <em>JURNAL SAINS DAN SENI ITS</em>, 6.</li><li><a href="https://www.kaggle.com/ronitf/heart-disease-uci">https://www.kaggle.com/ronitf/heart-disease-uci</a></li><li><a href="https://www.freepik.com/free-photo/top-view-world-heart-day-concept-with-stethoscope_9472263.htm#page=1&amp;query=Heart%20Disease&amp;position=9">https://www.freepik.com/free-photo/top-view-world-heart-day-concept-with-stethoscope_9472263.htm#page=1&amp;query=Heart%20Disease&amp;position=9</a></li><li><a href="http://ejournal.nusamandiri.ac.id/index.php/pilar/article/view/601/534">http://ejournal.nusamandiri.ac.id/index.php/pilar/article/view/601/534</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc065b516877" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Clustering metode Mix K-Prototypes untuk data Kategorik dan Numerik terhadap Penjualan Buku Novel…]]></title>
            <link>https://falahadlin.medium.com/clustering-metode-mix-k-prototypes-untuk-data-kategorik-dan-numerik-fe899fbb5255?source=rss-fc231b935610------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe899fbb5255</guid>
            <dc:creator><![CDATA[Falah Novayanda Adlin]]></dc:creator>
            <pubDate>Fri, 23 Jul 2021 12:26:17 GMT</pubDate>
            <atom:updated>2021-08-15T11:36:05.363Z</atom:updated>
            <content:encoded><![CDATA[<h3>Clustering metode Mix K-Prototypes untuk data Kategorik dan Numerik terhadap Penjualan Buku Novel with Python</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*gMzfEgrmifBpEecEn6tB4g.png" /></figure><h3>Assalamua’laikum,</h3><p>Halo statistician, pada artikel sebelumnya penulis sudah melakukan scraping data, preprocessing data dan visualisasi data untuk data penjualan buku novel di e-commerce shopee. Untuk pembahasannya dapat di lihat di link berikut <a href="https://falahadlin.medium.com/scraping-dan-analisis-data-visualisasi-terhadap-data-e-commerce-novel-dengan-tableau-d56a0c291570">https://falahadlin.medium.com/scraping-dan-analisis-data-visualisasi-terhadap-data-e-commerce-novel-dengan-tableau-d56a0c291570</a>.</p><p>Sehingga sekarang akan dilakukan analisis lebih lanjut yaitu untuk mengelompokan pembelian buku novel dari variabel harga, jumlah terjual, asal daerah toko dan genre novel dalam mebeli buku novel di e-commerce. Dimana variabel genre diperoleh dari asumsi penulis. Sehingga terdapat variabel numerik dan kategorik yang dimana untuk melakukan clustering dapat menggunakan metode k-prototypes. Clustering K-Prototypes menggunakan ukuran jarak campuran yang dicirikan oleh γ. Variabel γ merupakan parameter penimbang yang digunakan untuk menyeimbangkan proporsi dua fungsi jarak untuk data bertipe numerik dan kategorik. Dalam analisis data ini penulis menggunakan R Studio dan python.</p><p>Tahap pertama kita melakukan stndarisasi data agar skala untuk seluruh variabel sama dengan cara scaling data menggunakan syntax R Seperti berikut.</p><pre># scaling data novel<br>novel&lt;-read.delim(“clipboard”)<br>novel2&lt;-novel[,2:3] <br>View(novel2)<br># pemisahan data outlier<br>novel2&lt;-novel[,2:3] <br># standarisasi data menggunakan z-score normalization<br>data_standarisasi = scale(novel2)<br>data_standarisasi<br>write.csv(data_standarisasi, file=”D://Ada Kuliah//Data Mining//UAS//scaling_novel.csv”)</pre><p>Selanjutnya, penulis terlebih dahulu menginstall dan mengaktifkan module dan packages yang digunakan di pemograman python seperti berikut:</p><pre>pip install pulp</pre><pre>pip install kmodes</pre><pre>pip install plotnine</pre><pre>from pulp import *<br>import numpy as np<br>import pandas as pd<br>import re<br>import matplotlib.pyplot as plt<br>from IPython.display import Image<br>%matplotlib inline</pre><pre># plot<br>from plotnine import *<br>import plotnine</pre><pre># Import module for k-protoype cluster<br>from kmodes.kprototypes import KPrototypes</pre><p># boxplot<br>import seaborn as sns</p><pre>Syntax from pulp import untuk menginstall model pulp.</pre><pre>Syntax import numpy as np untuk numerical python atau operasi matematika.</pre><pre>Syntax import pandas as pd untuk menggunakan data frame dan input file csv.</pre><pre>Syntax import re untuk ekspresi tambahan tertentu.</pre><pre>Syntax import matplotlib.pyplot as plt untuk membuat plot.</pre><pre>Syntax from IPhython.display import image untuk memasukan gambar.</pre><pre>Syntax %matplotlib inline untuk membuat hasil plot berada di satu baris.</pre><pre>Syntax from plotnine import untuk menginstall model plotnine.</pre><pre>Syntax import plotnine untuk membuat plot.</pre><pre>Syntax from kmodes.kprototypes import KPrototypes untuk menginstall model K-Prototypes.</pre><pre>Syntax import seaborn as sns untuk membuat boxplot.</pre><p>Kemudian, memasukan data set penjualan buku novel dengan syntax python berikut:</p><pre># Memasukan data set DAC<br>df_buku=pd.read_csv(‘D://Ada Kuliah//Data Mining//UAS//scaling_novel_3.csv’)<br>df_buku</pre><p>Lalu, menseleksi variabel data yang diperlukan saja untuk analisis cluster dengan syntax berikut:</p><pre># menseleksi data<br>df_buku = df_buku.drop([‘judul’], axis=1)<br>df_buku</pre><p>Berikutnya, penulis membuat boxplot untuk variabel numerik yang ada yaitu variabel harga dan terjual dengan syntax berikut:</p><pre># membuat boxplot<br>sns.boxplot(x=’harga’, data=df_buku)</pre><pre># membuat boxplot<br>sns.boxplot(x=’terjual’, data=df_buku)</pre><p>Kemudian, penulis akan melihat jumlah K optimal dengan metode elbow menggunakan syntax berikut:</p><pre># Get the position of categorical columns<br>catColumnsPos = [df_buku.columns.get_loc(col) for col in list(df_buku.select_dtypes(‘object’).columns)]<br>print(‘Categorical columns : {}’.format(list(df_buku.select_dtypes(‘object’).columns)))<br>print(‘Categorical columns position : {}’.format(catColumnsPos))</pre><pre># Convert dataframe to matrix <br>dfMatrix = df_buku.to_numpy() <br>dfMatrix</pre><pre># Choose optimal K using Elbow method<br>cost = []<br>for cluster in range(1, 5):<br> try:<br> kprototype = KPrototypes(n_jobs = -1, n_clusters = cluster, init = ‘Huang’, random_state = 0)<br> kprototype.fit_predict(dfMatrix, categorical = catColumnsPos)<br> cost.append(kprototype.cost_)<br> print(‘Cluster initiation: {}’.format(cluster))<br> except:<br> break</pre><pre># Converting the results into a dataframe and plotting them<br>df_cost = pd.DataFrame({‘Cluster’:range(1, 5), ‘Cost’:cost})<br>df_cost.head()</pre><pre># menampilkan plot elbow<br>plotnine.options.figure_size = (8, 4.8)<br>(<br> ggplot(data = df_cost)+<br> geom_line(aes(x = ‘Cluster’,<br> y = ‘Cost’))+<br> geom_point(aes(x = ‘Cluster’,<br> y = ‘Cost’))+<br> geom_label(aes(x = ‘Cluster’,<br> y = ‘Cost’,<br> label = ‘Cluster’),<br> size = 10,<br> nudge_y = 1000) +<br> labs(title = ‘Optimal number of cluster with Elbow Method’)+<br> xlab(‘Number of Clusters k’)+<br> ylab(‘Cost’)+<br> theme_minimal()<br>)</pre><p>Setelah itu, penulis melakukan pembuatan model K-prototypes dengan jumlah cluster sebanyak 3 kelompok dengan syntax berikut:</p><pre># Clustering KPrototypes<br>model=KPrototypes(n_clusters=3,verbose=2,max_iter=20)<br>klaster=model.fit_predict(dfMatrix,categorical=[2, 3])</pre><p>Lalu, penulis membuat centroid terhadap data tersebut dengan syntax berikut:</p><pre># membuat centroid<br>print(model.cluster_centroids_)</pre><p>Kemudian, penulis menampilkan hasil cluster dengan syntax berikut:</p><pre># menampilkan hasil cluster<br>cluster_dict=[]<br>for c in klaster:<br> cluster_dict.append(c)</pre><p>Berikutnya, penulis menampilkan hasil data cluster dengan data frame aru dengan syntax seperti berikut:</p><pre># menampilkan hasil cluster dengan data frame baru<br>df_buku[‘cluster’]=cluster_dict<br>df_buku</pre><p>Berikutnya melihat data untuk tiap cluster yang ada dengan syntax berikut:</p><pre># cluster 1<br>df_buku[df_buku[‘cluster’]==0].head(10)</pre><pre># cluster 2<br>df_buku[df_buku[‘cluster’]==1].head(10)</pre><pre># cluster 3<br>df_buku[df_buku[‘cluster’]==2].head(10)</pre><p>Kemudian export data frame hasil cluster berupa file csv dengan syntax berikut:</p><pre># export data fram<br>df_buku.to_csv(r’D:\Ada Kuliah\Data Mining\UAS\buku_cluster.csv’, index = False)</pre><p>Berikutnya, penulis membuat profiliasi data untuk cluster yang telah terbentuk dengan syntax berikut:</p><pre># Cluster interpretation<br>df_buku.rename(columns = {‘Cluster Labels’:’Total’}, inplace = True)<br>df_buku_profilisasi=df_buku.groupby(‘cluster’).agg(<br> {<br> <br> ‘harga’: ‘mean’,<br> ‘terjual’: ‘mean’,<br> ‘genre’: lambda x: x.value_counts().index[0],<br> ‘kota_toko’: lambda x: x.value_counts().index[0],<br> }<br>).reset_index()</pre><p>Lalu, export data frame profilisasi berupa file csv dengan syntax berikut:</p><pre># export data profilisasi<br>df_buku_profilisasi.to_csv(r’D:\Ada Kuliah\Data Mining\UAS\buku_profilisasi.csv’, index = False)</pre><p>Selanjutnya penulis akan mebahas output yang diperoleh. Pertama akan diperoleh data set penjualan buku novel di e-commerce yang telah di standarisasi seperti berikut:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B62elLYIVvt3FYxHzV2wUw.png" /></figure><p>Kemudian, akan diperoleh data set yang telah dimasukan ke dalam python seperti berikut:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*AdsPVIbvFDrPIs21qPLgWw.png" /></figure><p>Lalu, akan diperoleh data set yang telah diseleksi berupa variabel numerik dan kategorik seperti berikut:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*rUmOCCuGPjImOGDc3cGqVw.png" /></figure><p>Berikutnya diperoleh boxplot untuk variabel harga dan terjual seperti berikut:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*-ik3w7cfzkkNTuOhBMOBDw.png" /><figcaption>Boxplot variabel harga</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/355/1*Du2vx2ePRXHQcBD5vHUExA.png" /><figcaption>Boxplot variabel terjual</figcaption></figure><p>Dapat dilihat bahwa pada data variabel harga dan terjual terdapat data outlier, tetapi penulis berasumsi bahwa data outlier terseut penting untuk tetap digunakan sehingga data outlier tidak dihilangkan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*2iV5o3p5Magqpo-5-7qfVw.png" /><figcaption>K-Optimal metode elbow</figcaption></figure><p>Dari gambar di atas dapat dilihat bahwa dengan metode elbow pada bagian titik k yang melandai secara signifikan yang menunjukan jumlah kluster terbaik sehingga diperoleh jumlah kluster terbaik sebanyak 3 kelompok.</p><p>Sehingga dengan jumlah K sebanyak 3 maka diperoleh hasil clustering sebagai berikut:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*3J3Ls6S5CMrABOgF-LmppQ.png" /></figure><p>Kemudian, dibentuk tabel yang menunjukan anggota kelompok pada masing-masing kelompok yang ada yaitu cluster 1, 2 dan 3. Dari hasil visualisasi cluster metode K-Prototypes terlihat bahwa dengan penetuan k metode elbow k=3 memberikan hasil pengelompokkan yang baik. Dari output pada Gambar 3.8 diperoleh anggota-anggota dalam cluster sebagai berikut:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*uRPW6vfs0oFYcYa9fKCfVA.png" /><figcaption>Tabel Anggota Kelompok</figcaption></figure><p>Berdasarkan Tabel 5.5, warna biru menunjukkan variabel numerik dengan kategori tinggi, warna kuning menunjukkan variabel numerik dengan kategori sedang dan warna merah menunjukkan variabel numerik dengan kategori rendah. Dilakukan perhitungan rataan dari setiap cluster untuk mengetahui ciri atau karakteristik masing-masing cluster berdasarkan varibel harga buku, jumlah terjual buku, kota toko dan genre buku novel, sebagai berikut:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*qlsmL2kFQGFb17T2ojQJww.png" /><figcaption>Profilisasi</figcaption></figure><p>1) Cluster 1 beranggotakan 9 judul buku novel yang memiliki variabel harga dengan kategori sedang dan pada variabel terjual dengan kategori tinggi. Dimana paling banyak tokonya berasal dari Kab. Tangerang dengan dominan bergenre romance.</p><p>2) Cluster 2 beranggotakan 73 judul buku novel yang memiliki variabel harga dengan kategori rendah dan pada variabel terjual dengan kategori sedang. Dimana paling banyak tokonya berasal dari Kota Depok dengan dominan bergenre romance.</p><p>3) Cluster 3 beranggotakan 9 judul buku novel yang memiliki variabel harga dengan kategori tinggi dan pada variabel terjual dengan kategori rendah. Dimana paling banyak tokonya berasal dari Kab. Bantul dengan dominan bergenre romance.</p><p>Referensi :</p><ol><li><a href="https://towardsdatascience.com/the-k-prototype-as-clustering-algorithm-for-mixed-data-type-categorical-and-numerical-fe7c50538ebb">The k-prototype as Clustering Algorithm for Mixed Data Type (Categorical and Numerical) | by Audhi Aprilliant | Towards Data Science</a></li><li><a href="https://www.youtube.com/watch?v=ieeSysANiSo">(198) Analisis Cluster Data Campuran Kategorik &amp; Numerik dengan Python (K-Prototypes) — YouTube</a></li><li><a href="https://www.youtube.com/watch?v=8eATPLDJ0NQ">(198) Clustering Algorithm for mixed datatypes — K-Prototypes — YouTube</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe899fbb5255" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>