<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Gusti Triandi Winata</title>
    <description>The latest articles on DEV Community by Gusti Triandi Winata (@sanggusti).</description>
    <link>https://dev.to/sanggusti</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F745714%2F3973a65e-b6c2-49a0-8e2b-28c02b7c0a9d.jpeg</url>
      <title>DEV Community: Gusti Triandi Winata</title>
      <link>https://dev.to/sanggusti</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sanggusti"/>
    <language>en</language>
    <item>
      <title>Into to Federated Learning</title>
      <dc:creator>Gusti Triandi Winata</dc:creator>
      <pubDate>Mon, 25 Nov 2024 09:09:12 +0000</pubDate>
      <link>https://dev.to/sanggusti/into-to-federated-learning-2ghj</link>
      <guid>https://dev.to/sanggusti/into-to-federated-learning-2ghj</guid>
      <description>&lt;p&gt;Day 1 of 30 Days of Federated Learning Code.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/company/openmined/posts/?feedView=all" rel="noopener noreferrer"&gt;OpenMined&lt;/a&gt; currently handling events that called curious learner to learn about Federated Learning from 20 November to 20 December and here I am also as participants that wanted to get into the learning journey as well.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://federated.withgoogle.com/" rel="noopener noreferrer"&gt;comic from google about Federated Learning&lt;/a&gt; shows a really insightful terminology and necessity of Federated Learning in Machine Learning systems regarding the privacy on the data side.&lt;/p&gt;

&lt;p&gt;Data Privacy defines how a particular piece of information/data should be handled or who has authorized access based on its relative importance. With the introduction to AI (Machine Learning and Deep Learning), a lot of personal information can be extracted from these models, which can cause irreparable damage to the people whose personal data has been exposed. So, here comes the need to preserve this data while implementing various machine learning models.&lt;/p&gt;

&lt;p&gt;Federated Learning which is also known as collaborative learning is a deep learning technique where the training takes place across multiple decentralized edge devices (clients) or servers on their personal data, without sharing it with other clients, thus keeping the data private. It aims at training a machine learning algorithm, say, deep neural networks on multiple devices (clients) having local datasets without explicitly exchanging the data samples.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyt1shf60sat2ovlk43yc.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyt1shf60sat2ovlk43yc.jpeg" alt="Image description" width="720" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Federated learning makes it possible for AI algorithms to gain experience from a vast range of data located at different sites. This approach enables several organizations to collaborate on the development of models but without having to share sensitive data with each other.&lt;/p&gt;

&lt;p&gt;There are two types of Federated Learning:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Centralized federated learning: In this setting, a central server is used to orchestrate the different steps of algorithms and coordinate all the participating nodes during the learning process. The server is responsible for the nodes selection at the beginning of the training process and for the aggregation of the received model updates (weights). It is the bottleneck of the system.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Decentralized federated learning: In this type, nodes are able to coordinate themselves to obtain the global model. This setting prevents single point failures as the model updates are exchanged only between interconnected nodes.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;As the learning commitment goes, here I put a daily blogs in this profile and I hope anyone find this learning logs to be informative and useful.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://towardsdatascience.com/preserving-data-privacy-in-deep-learning-part-1-a04894f78029" rel="noopener noreferrer"&gt;Preserving Data Privacy in Deep Learning | Part 1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://federated.withgoogle.com/" rel="noopener noreferrer"&gt;Federated Learning by Google&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.linkedin.com/company/openmined/posts/?feedView=all" rel="noopener noreferrer"&gt;OpenMined&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://courses.openmined.org/courses" rel="noopener noreferrer"&gt;Course by OpenMined&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>30daysofflcode</category>
      <category>federatedlearning</category>
      <category>privacy</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Your Getting Started Template Repository for Continuous and Automated Machine Learning Project with GitHub Actions</title>
      <dc:creator>Gusti Triandi Winata</dc:creator>
      <pubDate>Thu, 09 Dec 2021 04:23:59 +0000</pubDate>
      <link>https://dev.to/sanggusti/your-getting-started-template-repository-for-continuous-and-automated-machine-learning-project-with-github-actions-49l3</link>
      <guid>https://dev.to/sanggusti/your-getting-started-template-repository-for-continuous-and-automated-machine-learning-project-with-github-actions-49l3</guid>
      <description>&lt;p&gt;A starting template for continuous ML projects where data kept growing, models kept learning and services deployed continuously.&lt;/p&gt;

&lt;p&gt;You can use this template for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Initiate your ML projects&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;.dvc&lt;/code&gt; to track data &amp;amp; save models&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;cml&lt;/code&gt; to automate training and track experiment by pull requests&lt;/li&gt;
&lt;li&gt;Set model serving to endpoint and frontend example then deploy your models continuously&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  My Workflow
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Motivation
&lt;/h4&gt;

&lt;p&gt;! Mention:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;model stuck in research&lt;/li&gt;
&lt;li&gt;model didn't get to production, repetitive task on modelling&lt;/li&gt;
&lt;li&gt;machine assignment for training, mention cheaphead machine that burns when using their own machine for training&lt;/li&gt;
&lt;li&gt;experiment tracking for reliability&lt;/li&gt;
&lt;li&gt;data and models that grows time to time that needs its own version control&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzcaz0928ulanr47smebt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzcaz0928ulanr47smebt.png" alt="Image description" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Had to have a reliable getting started template for machine learning project since most of project that had data version control, experiment management, deployment as a service, serving to sample frontend and collaboration with a &lt;em&gt;yaml&lt;/em&gt; hyperparameter tuning file to ease experiment tracking.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa8fg8f189b1xdehkpyg2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa8fg8f189b1xdehkpyg2.png" alt="Image description" width="800" height="225"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Deliver actions diagrams, how it works specifically and how it would help with automating the project on specific events on repository.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn2xaa4gwjp8717q7m1v6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn2xaa4gwjp8717q7m1v6.png" alt="Image description" width="800" height="288"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using github script, definition, and how it compares to another framework&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fee5zmam40ueod4uoeonr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fee5zmam40ueod4uoeonr.png" alt="Image description" width="800" height="851"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;DIY Deployments/Wacky Wildcards&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Yaml File or Link to Code
&lt;/h3&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.dev.to%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/sanggusti" rel="noopener noreferrer"&gt;
        sanggusti
      &lt;/a&gt; / &lt;a href="https://github.com/sanggusti/cml-streamlit-template" rel="noopener noreferrer"&gt;
        cml-streamlit-template
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      A Template Repository for Continuous Machine Learning Project with GitHub Actions and display it live with deployment on Streamlit
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;cml-streamlit-template&lt;/h1&gt;

&lt;/div&gt;
&lt;p&gt;A Template Repository for Continuous Machine Learning Project with GitHub Actions and display it live with deployment on Streamlit&lt;/p&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/sanggusti/cml-streamlit-template" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h3&gt;
  
  
  Additional Resources / Info
&lt;/h3&gt;

&lt;p&gt;[Note:] # (Be sure to link to any open source projects that are using your workflow!)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/sanggusti/write-docker-actions" rel="noopener noreferrer"&gt;https://github.com/sanggusti/write-docker-actions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/iterative/cml_dvc_case" rel="noopener noreferrer"&gt;https://github.com/iterative/cml_dvc_case&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dvc.org/doc/start/data-and-model-versioning" rel="noopener noreferrer"&gt;https://dvc.org/doc/start/data-and-model-versioning&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://lab.github.com/" rel="noopener noreferrer"&gt;https://lab.github.com/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;[Reminder]: # (Submissions are due on December 8th, 2021 (11:59 PM PT or 2 AM ET/6 AM UTC on December 9th).&lt;/p&gt;

</description>
      <category>actionshackathon21</category>
    </item>
  </channel>
</rss>
