<?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: Gradient Thoughts</title>
    <description>The latest articles on DEV Community by Gradient Thoughts (@gradient_thoughts_fe659a6).</description>
    <link>https://dev.to/gradient_thoughts_fe659a6</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%2F3578228%2F0390457d-ac0b-4876-b585-46b254d2ed8c.png</url>
      <title>DEV Community: Gradient Thoughts</title>
      <link>https://dev.to/gradient_thoughts_fe659a6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gradient_thoughts_fe659a6"/>
    <language>en</language>
    <item>
      <title>Training the Same Neural Network with Different Optimizers</title>
      <dc:creator>Gradient Thoughts</dc:creator>
      <pubDate>Fri, 02 Jan 2026 05:40:17 +0000</pubDate>
      <link>https://dev.to/gradient_thoughts_fe659a6/training-the-same-neural-network-with-different-optimizers-14kj</link>
      <guid>https://dev.to/gradient_thoughts_fe659a6/training-the-same-neural-network-with-different-optimizers-14kj</guid>
      <description>&lt;p&gt;I've trained the same neural network by changing only the optimizers and got some really interesting results. &lt;strong&gt;Same Model, Same Data, Varying Optimizers: What Actually Changes?&lt;/strong&gt; &lt;br&gt;
Check it out in my latest blog below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://medium.com/p/498c4a37748c" rel="noopener noreferrer"&gt;https://medium.com/p/498c4a37748c&lt;/a&gt;&lt;/p&gt;

</description>
      <category>deeplearning</category>
      <category>ai</category>
      <category>discuss</category>
      <category>performance</category>
    </item>
    <item>
      <title>Hosting your Machine Learning Model with Flask and Docker</title>
      <dc:creator>Gradient Thoughts</dc:creator>
      <pubDate>Wed, 22 Oct 2025 05:03:39 +0000</pubDate>
      <link>https://dev.to/gradient_thoughts_fe659a6/hosting-your-machine-learning-model-with-flask-and-docker-478</link>
      <guid>https://dev.to/gradient_thoughts_fe659a6/hosting-your-machine-learning-model-with-flask-and-docker-478</guid>
      <description>&lt;p&gt;Developing and training a machine learning model is only half the journey. The real impact comes when your model steps out of the local Python environment and starts interacting with the real world. By deploying it as an API, you enable seamless integration with web applications, dashboards, or even mobile apps — transforming your standalone model into a practical, usable solution.&lt;/p&gt;

&lt;p&gt;Check out my step-by-step guide to make your ML model fully functional and  an integral part of the application development workflow.&lt;/p&gt;

&lt;p&gt;Medium Blog: 

&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://medium.com/@hello.gradientthoughts/building-and-hosting-a-machine-learning-model-with-flask-and-docker-1cd4f89cf256" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;medium.com&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;




&lt;p&gt;P.S.&lt;br&gt;
You are highly encouraged to check out the GitHub repository as well, containing all the required files and scripts.&lt;br&gt;


&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Pranav-Bhatlapenumarthi" rel="noopener noreferrer"&gt;
        Pranav-Bhatlapenumarthi
      &lt;/a&gt; / &lt;a href="https://github.com/Pranav-Bhatlapenumarthi/Deploy_ML" rel="noopener noreferrer"&gt;
        Deploy_ML
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Designed and deployed a production-ready Flask API hosting a trained Machine Learning model on Render. Containerized the application using Docker for environment consistency and easy deployment.
    &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;Deploy_ML&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/8d7c0956f2425d54cbe8fcefae0646c58d79f0d60e27403a3a26d7b0b50cb5fe/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507974686f6e2d332e31302d626c7565"&gt;&lt;img src="https://camo.githubusercontent.com/8d7c0956f2425d54cbe8fcefae0646c58d79f0d60e27403a3a26d7b0b50cb5fe/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507974686f6e2d332e31302d626c7565" alt="Python"&gt;&lt;/a&gt;
&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/75a1c30e858403287578ff06ece130e62d0177dc405a1b0401cb8ee1db9dffc8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4465706c6f7965642532306f6e2d52656e6465722d627269676874677265656e"&gt;&lt;img src="https://camo.githubusercontent.com/75a1c30e858403287578ff06ece130e62d0177dc405a1b0401cb8ee1db9dffc8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4465706c6f7965642532306f6e2d52656e6465722d627269676874677265656e" alt="Render"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A web-based Machine Learning API built with Flask that serves real-time predictions from a trained model. The API is containerised with Docker and deployed on &lt;a href="https://render.com" rel="nofollow noopener noreferrer"&gt;Render&lt;/a&gt;, making it accessible for integration with frontend applications or other services.&lt;/p&gt;
&lt;p&gt;For a step-by-step description of the application, check out this hands-on demonstration: &lt;a href="https://medium.com/@hello.gradientthoughts/building-and-hosting-a-machine-learning-model-with-flask-and-docker-1cd4f89cf256" rel="nofollow noopener noreferrer"&gt;https://medium.com/@hello.gradientthoughts/building-and-hosting-a-machine-learning-model-with-flask-and-docker-1cd4f89cf256&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Serve ML predictions:&lt;/strong&gt; Host a trained model and provide predictions via a RESTful API.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;JSON-based endpoints:&lt;/strong&gt; Accepts feature inputs in JSON format.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Error handling:&lt;/strong&gt; Returns informative error messages for invalid requests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CORS enabled:&lt;/strong&gt; Supports frontend integration from other domains.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dockerized:&lt;/strong&gt; Ensures environment consistency and easy deployment.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Project Structure&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;
&lt;pre class="notranslate"&gt;&lt;code&gt;Deploy_ML/
│
├── app/
│   ├── main.py         # Flask application
│   ├── model.py        # Model loading and prediction
│
├── models/
│   └── model.joblib    # Trained ML model
│
├── src/
│   └── main_model.py   # Script for data preprocessing and model training
|
├── f1_dnf.csv          # Dataset to train&lt;/code&gt;&lt;/pre&gt;…&lt;/div&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Pranav-Bhatlapenumarthi/Deploy_ML" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;




</description>
      <category>machinelearning</category>
      <category>docker</category>
      <category>programming</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
