<?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: kim40404</title>
    <description>The latest articles on DEV Community by kim40404 (@kim40404).</description>
    <link>https://dev.to/kim40404</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4079122%2F89a57f52-3617-4dfc-948d-d62a3057199c.jpg</url>
      <title>DEV Community: kim40404</title>
      <link>https://dev.to/kim40404</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kim40404"/>
    <language>en</language>
    <item>
      <title>Tough</title>
      <dc:creator>kim40404</dc:creator>
      <pubDate>Wed, 26 Aug 2026 14:23:56 +0000</pubDate>
      <link>https://dev.to/kim40404/tough-1g76</link>
      <guid>https://dev.to/kim40404/tough-1g76</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/kim40404/from-jupyter-notebook-to-production-building-an-enterprise-mlops-pipeline-for-churn-prediction-jk3" class="crayons-story__hidden-navigation-link"&gt;From Jupyter Notebook to Production: Building an Enterprise MLOps Pipeline for Churn Prediction&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/kim40404" class="crayons-avatar  crayons-avatar--l  "&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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4079122%2F89a57f52-3617-4dfc-948d-d62a3057199c.jpg" alt="kim40404 profile" class="crayons-avatar__image" width="460" height="460"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/kim40404" class="crayons-story__secondary fw-medium m:hidden"&gt;
              kim40404
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                kim40404
                
                
              
              &lt;div id="story-author-preview-content-4404544" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/kim40404" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4079122%2F89a57f52-3617-4dfc-948d-d62a3057199c.jpg" class="crayons-avatar__image" alt="" width="460" height="460"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;kim40404&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/kim40404/from-jupyter-notebook-to-production-building-an-enterprise-mlops-pipeline-for-churn-prediction-jk3" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Aug 15&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/kim40404/from-jupyter-notebook-to-production-building-an-enterprise-mlops-pipeline-for-churn-prediction-jk3" id="article-link-4404544"&gt;
          From Jupyter Notebook to Production: Building an Enterprise MLOps Pipeline for Churn Prediction
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/machinelearning"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;machinelearning&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/python"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;python&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/mlops"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;mlops&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/tutorial"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;tutorial&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/kim40404/from-jupyter-notebook-to-production-building-an-enterprise-mlops-pipeline-for-churn-prediction-jk3" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/exploding-head-daceb38d627e6ae9b730f36a1e390fca556a4289d5a41abb2c35068ad3e2c4b5.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;5&lt;span class="hidden s:inline"&gt;&amp;nbsp;reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/kim40404/from-jupyter-notebook-to-production-building-an-enterprise-mlops-pipeline-for-churn-prediction-jk3#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              &lt;span class="hidden s:inline"&gt;Add&amp;nbsp;Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            2 min read
          &lt;/small&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
    </item>
    <item>
      <title>From Jupyter Notebook to Production: Building an Enterprise MLOps Pipeline for Churn Prediction</title>
      <dc:creator>kim40404</dc:creator>
      <pubDate>Sat, 15 Aug 2026 14:48:32 +0000</pubDate>
      <link>https://dev.to/kim40404/from-jupyter-notebook-to-production-building-an-enterprise-mlops-pipeline-for-churn-prediction-jk3</link>
      <guid>https://dev.to/kim40404/from-jupyter-notebook-to-production-building-an-enterprise-mlops-pipeline-for-churn-prediction-jk3</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;One of the biggest traps in Data Science is the "Jupyter Notebook Illusion." It’s easy to train a model with 95% accuracy, but it’s completely useless if it never leaves the notebook. Recently, I challenged myself to build not just a Machine Learning model, but a fully containerized, production-ready &lt;strong&gt;Enterprise MLOps Pipeline&lt;/strong&gt; to predict Telecommunications Customer Churn.&lt;/p&gt;

&lt;p&gt;In this article, I want to share how I architected the system, handled imbalanced data, and built a "Quiet Luxury" Executive Dashboard to serve the predictions.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Architecture
&lt;/h2&gt;

&lt;p&gt;I decoupled the system into three main layers to ensure scalability:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Brain (Model &amp;amp; Tracking):&lt;/strong&gt; I used &lt;strong&gt;XGBoost&lt;/strong&gt; combined with &lt;strong&gt;SMOTE&lt;/strong&gt; to handle the severe class imbalance in churn datasets. To make sure every experiment is reproducible, I integrated &lt;strong&gt;MLflow&lt;/strong&gt; to track metrics (accuracy, f1-score) and log the model artifacts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Engine (Serving):&lt;/strong&gt; The model is served using &lt;strong&gt;FastAPI&lt;/strong&gt;, creating a low-latency RESTful API. The entire backend is containerized using &lt;strong&gt;Docker&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Eyes (Telemetry &amp;amp; UI):&lt;/strong&gt; To ensure the system's health in production, I set up &lt;strong&gt;Prometheus&lt;/strong&gt; to scrape metrics and &lt;strong&gt;Grafana&lt;/strong&gt; for real-time visualization. Finally, I built a dark-themed, interactive Web Dashboard for the executives to consume the AI predictions effortlessly.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Handling The "Black Box" Problem
&lt;/h2&gt;

&lt;p&gt;Executives don't just want a probability score; they want to know &lt;em&gt;why&lt;/em&gt;. To solve this, I integrated &lt;strong&gt;SHAP (SHapley Additive exPlanations)&lt;/strong&gt;. Now, the dashboard doesn't just say "94% risk of churn", it actually breaks down the exact features (e.g., &lt;em&gt;Month-to-month contract&lt;/em&gt;, &lt;em&gt;Fiber optic&lt;/em&gt;) that are driving that prediction.&lt;/p&gt;

&lt;blockquote&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8afo7cgqkzdkdtk7tb94.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8afo7cgqkzdkdtk7tb94.png" alt=" " width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The Result
&lt;/h2&gt;

&lt;p&gt;You can see the fully interactive architecture and the dashboard in action in my GitHub repository. I’ve open-sourced the entire codebase, including the Docker Compose setups and the UI templates.&lt;/p&gt;

&lt;blockquote&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbacvuofpk6su6yishr4c.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbacvuofpk6su6yishr4c.png" alt=" " width="799" height="437"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;👉 &lt;strong&gt;Check out the full Repository here:&lt;/strong&gt; &lt;a href="https://github.com/kim40404/mlops-churn-dicoding" rel="noopener noreferrer"&gt;https://github.com/kim40404/mlops-churn-dicoding&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you find the repository helpful, I would highly appreciate a &lt;strong&gt;Star ⭐&lt;/strong&gt;! Let me know in the comments if you have any questions about deploying XGBoost models with FastAPI or setting up MLflow.&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>python</category>
      <category>mlops</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
