<?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: info_brust</title>
    <description>The latest articles on DEV Community by info_brust (@nihal347).</description>
    <link>https://dev.to/nihal347</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%2F3202308%2F6a9c4bcd-f876-41a9-84e0-49e906bfda65.jpg</url>
      <title>DEV Community: info_brust</title>
      <link>https://dev.to/nihal347</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nihal347"/>
    <language>en</language>
    <item>
      <title>The Math Behind Machine Learning &amp; Deep Learning (Explained Simply)</title>
      <dc:creator>info_brust</dc:creator>
      <pubDate>Mon, 01 Dec 2025 13:51:51 +0000</pubDate>
      <link>https://dev.to/nihal347/the-math-behind-machine-learning-deep-learning-explained-simply-37hf</link>
      <guid>https://dev.to/nihal347/the-math-behind-machine-learning-deep-learning-explained-simply-37hf</guid>
      <description>&lt;p&gt;Machine Learning can feel overwhelming when you see words like &lt;em&gt;gradients, derivatives, tensors, eigenvalues,&lt;/em&gt; or &lt;em&gt;linear transformations&lt;/em&gt;. But the truth is: ML math is built from a few core ideas that repeat everywhere.&lt;/p&gt;

&lt;p&gt;This post explains those ideas simply—no heavy formulas, just intuition you can actually understand.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. &lt;strong&gt;Linear Algebra — The Language of Data&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Machine Learning models think in &lt;strong&gt;vectors&lt;/strong&gt; and &lt;strong&gt;matrices&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;A &lt;strong&gt;vector&lt;/strong&gt; is just a list of numbers.&lt;br&gt;
Example: an image pixel → &lt;code&gt;[120, 80, 255]&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A &lt;strong&gt;matrix&lt;/strong&gt; is just a bunch of vectors stacked together.&lt;br&gt;
Example: a grayscale image → a matrix of pixel values.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Why do we need it?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It lets models combine inputs efficiently.&lt;/li&gt;
&lt;li&gt;Neural networks use matrix multiplication billions of times.&lt;/li&gt;
&lt;li&gt;GPU acceleration exists because GPUs love matrix math.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Intuition:&lt;/strong&gt;&lt;br&gt;
A matrix transformation is like stretching, rotating, or squishing your data in space so a model can separate patterns.&lt;/p&gt;


&lt;h2&gt;
  
  
  2. &lt;strong&gt;Calculus — Learning = Changing Numbers Slowly&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;At its core:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Machine Learning = adjust numbers until predictions improve.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Those numbers are &lt;strong&gt;weights&lt;/strong&gt;, and we adjust them using derivatives.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Derivative intuition:&lt;/strong&gt;&lt;br&gt;
If you’re climbing down a hill blindfolded, the derivative tells you &lt;em&gt;which way is “down”&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;This is the entire idea behind &lt;strong&gt;gradient descent&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Measure how wrong the model is (loss function).&lt;/li&gt;
&lt;li&gt;Compute how changing each weight affects the error (derivative).&lt;/li&gt;
&lt;li&gt;Move weights slightly in the direction that reduces error (gradient step).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Deep Learning is just this process repeated millions of times.&lt;/p&gt;


&lt;h2&gt;
  
  
  3. &lt;strong&gt;Statistics &amp;amp; Probability — Understanding Uncertainty&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Models don’t “know”—they &lt;strong&gt;estimate&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Probability allows ML models to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Make predictions with confidence&lt;/li&gt;
&lt;li&gt;Handle noise in data&lt;/li&gt;
&lt;li&gt;Learn patterns from randomness&lt;/li&gt;
&lt;li&gt;Build decision boundaries&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Key ideas:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Mean&lt;/strong&gt; → average trend&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Variance&lt;/strong&gt; → how scattered data is&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Distribution&lt;/strong&gt; → shape of data&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Likelihood&lt;/strong&gt; → how well parameters explain data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In classification, probability helps a model answer:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“How sure am I that this image is a cat?”&lt;/p&gt;
&lt;/blockquote&gt;


&lt;h2&gt;
  
  
  4. &lt;strong&gt;Optimization — Making the Model Better&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Most ML problems are optimization problems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;minimize loss&lt;/li&gt;
&lt;li&gt;maximize accuracy&lt;/li&gt;
&lt;li&gt;reduce error&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We use:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Gradient Descent&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adam, RMSProp&lt;/strong&gt; (smarter gradient optimizers)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Learning rate schedules&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Optimization is the engine that turns math → learning.&lt;/p&gt;


&lt;h2&gt;
  
  
  5. &lt;strong&gt;Linear Regression — The Simplest ML Model&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Linear regression is the foundation of ML.&lt;/p&gt;

&lt;p&gt;Equation intuition:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;prediction = m*x + b
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Where:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;m&lt;/code&gt; = slope (weight)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;b&lt;/code&gt; = bias (offset)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;x&lt;/code&gt; = input&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;ML generalizes this idea:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;prediction = w1*x1 + w2*x2 + w3*x3 + ... + b
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A neural network is just a massive stack of these equations layered together.&lt;/p&gt;




&lt;h2&gt;
  
  
  6. &lt;strong&gt;Neural Networks — Layers of Math&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;A neural network layer does 3 things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Multiply:&lt;/strong&gt; matrix × vector&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add:&lt;/strong&gt; bias&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Activate:&lt;/strong&gt; apply a non-linear function&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;ReLU&lt;/li&gt;
&lt;li&gt;Sigmoid&lt;/li&gt;
&lt;li&gt;Tanh&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Non-linearities let models learn complex patterns.&lt;/p&gt;

&lt;p&gt;Stacking these layers creates deep learning.&lt;/p&gt;




&lt;h2&gt;
  
  
  7. &lt;strong&gt;Backpropagation — How Neural Networks Learn&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Backpropagation is the algorithm that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Computes how wrong the network is&lt;/li&gt;
&lt;li&gt;Moves every weight in the right direction&lt;/li&gt;
&lt;li&gt;Does this efficiently for millions of parameters&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Backprop = repeated application of the chain rule from calculus.&lt;/p&gt;

&lt;p&gt;It’s the math that made Deep Learning possible.&lt;/p&gt;




&lt;h2&gt;
  
  
  8. &lt;strong&gt;Tensors — Multidimensional Matrices&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;A tensor is simply:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;0D → number&lt;/li&gt;
&lt;li&gt;1D → vector&lt;/li&gt;
&lt;li&gt;2D → matrix&lt;/li&gt;
&lt;li&gt;3D → stack of matrices&lt;/li&gt;
&lt;li&gt;4D → images over time&lt;/li&gt;
&lt;li&gt;nD → more dimensions if needed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Frameworks like PyTorch and TensorFlow operate entirely on tensors.&lt;/p&gt;




&lt;h2&gt;
  
  
  Putting It All Together
&lt;/h2&gt;

&lt;p&gt;Here’s how all the math supports ML:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Linear Algebra&lt;/strong&gt; → represent &amp;amp; transform data&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Calculus&lt;/strong&gt; → adjust weights&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Probability&lt;/strong&gt; → deal with uncertainty&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Statistics&lt;/strong&gt; → analyze data&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optimization&lt;/strong&gt; → improve performance&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tensors&lt;/strong&gt; → structure inputs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once you understand these intuitions, you understand 80% of ML math.&lt;/p&gt;




&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;You don’t need to memorize long equations to understand ML.&lt;br&gt;
You only need intuition:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;data is vectors&lt;/li&gt;
&lt;li&gt;models transform vectors&lt;/li&gt;
&lt;li&gt;learning is adjusting weights&lt;/li&gt;
&lt;li&gt;Calculus tells us how&lt;/li&gt;
&lt;li&gt;Probability measures uncertainty&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>machinelearning</category>
      <category>tutorial</category>
      <category>deeplearning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Why I’m Learning Data Analysis to Get Better at Machine Learning</title>
      <dc:creator>info_brust</dc:creator>
      <pubDate>Mon, 16 Jun 2025 10:43:06 +0000</pubDate>
      <link>https://dev.to/nihal347/why-im-learning-data-analysis-to-get-better-at-machine-learning-36o5</link>
      <guid>https://dev.to/nihal347/why-im-learning-data-analysis-to-get-better-at-machine-learning-36o5</guid>
      <description>&lt;p&gt;Hey everyone! 👋&lt;/p&gt;

&lt;p&gt;I’m currently on a journey to become a machine learning developer — but not in the way you might expect.&lt;/p&gt;

&lt;p&gt;Before diving deep into neural networks, models, and algorithms, I decided to take a detour and focus on &lt;strong&gt;data analysis&lt;/strong&gt;. And I think it’s one of the best decisions I’ve made.&lt;/p&gt;

&lt;p&gt;In this article, I want to share:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Why I chose to learn data analysis first&lt;/li&gt;
&lt;li&gt;What I’m learning&lt;/li&gt;
&lt;li&gt;How it's making me better at machine learning&lt;/li&gt;
&lt;li&gt;What tools and projects I’m using along the way&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧠 Why Data Analysis?
&lt;/h2&gt;

&lt;p&gt;It’s simple: &lt;strong&gt;machine learning is nothing without data&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Sure, models are exciting. But the truth is, even the most advanced ML algorithms won’t work if your data is messy, incomplete, or irrelevant. And that’s where data analysis comes in.&lt;/p&gt;

&lt;p&gt;Here’s what I realized:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data analysis teaches you to understand and explore data.&lt;/li&gt;
&lt;li&gt;It helps you clean and prepare data for machine learning.&lt;/li&gt;
&lt;li&gt;It trains you to ask the right questions before building a model.&lt;/li&gt;
&lt;li&gt;It prevents "garbage in, garbage out" syndrome.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So instead of just learning algorithms and training models, I wanted to first learn how to &lt;strong&gt;handle and understand data like a pro&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  🛠️ What I’m Learning
&lt;/h2&gt;

&lt;p&gt;Here’s my current learning stack and workflow:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. &lt;strong&gt;Python for Data Analysis&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;I already knew Python, so I focused on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;pandas&lt;/code&gt; – for manipulating data&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;numpy&lt;/code&gt; – for numerical operations&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;matplotlib&lt;/code&gt; &amp;amp; &lt;code&gt;seaborn&lt;/code&gt; – for data visualization&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;plotly&lt;/code&gt; – for interactive charts&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. &lt;strong&gt;SQL Basics&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Since a lot of real-world data lives in databases, I’m also learning:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Basic SELECT statements&lt;/li&gt;
&lt;li&gt;GROUP BY, ORDER BY, JOINs&lt;/li&gt;
&lt;li&gt;Filtering, aggregating, subqueries&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I’m using platforms like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://mode.com/sql-tutorial/" rel="noopener noreferrer"&gt;Mode SQL Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://leetcode.com/problemset/database/" rel="noopener noreferrer"&gt;LeetCode SQL&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. &lt;strong&gt;Exploratory Data Analysis (EDA)&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;I practice exploring datasets by:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Finding missing values&lt;/li&gt;
&lt;li&gt;Detecting outliers&lt;/li&gt;
&lt;li&gt;Understanding distributions&lt;/li&gt;
&lt;li&gt;Looking for patterns and correlations&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📊 Projects I'm Working On
&lt;/h2&gt;

&lt;p&gt;Learning by doing is the best way. Here are some small projects I’ve started:&lt;/p&gt;

&lt;h3&gt;
  
  
  🚀 Netflix Dataset (from Kaggle)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Questions: Which countries have the most Netflix shows? What genres are most common?&lt;/li&gt;
&lt;li&gt;Tools: &lt;code&gt;pandas&lt;/code&gt;, &lt;code&gt;seaborn&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🌍 COVID-19 Data
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Goal: Analyze the trend of cases and deaths over time by country&lt;/li&gt;
&lt;li&gt;Tools: &lt;code&gt;plotly&lt;/code&gt; for interactive visualizations&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🚢 Titanic Dataset (classic!)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Goal: Perform detailed EDA to understand which passengers survived and why&lt;/li&gt;
&lt;li&gt;Not building a model yet — just exploring!&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧩 How This Helps Me in Machine Learning
&lt;/h2&gt;

&lt;p&gt;Here’s what data analysis has unlocked for me:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Better Feature Engineering&lt;/strong&gt;&lt;br&gt;
I now know how to extract meaningful features from raw data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data Cleaning Superpowers&lt;/strong&gt;&lt;br&gt;
I can spot issues before they wreck my model’s performance.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Model Understanding&lt;/strong&gt;&lt;br&gt;
I can explain results better because I understand the data behind them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;More Confidence&lt;/strong&gt;&lt;br&gt;
I feel more prepared to enter machine learning with a strong foundation.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💡 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Machine learning is exciting, but it doesn’t start with models. It starts with data.&lt;/p&gt;

&lt;p&gt;If you’re also learning ML, I highly recommend starting with data analysis. You’ll:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Save time&lt;/li&gt;
&lt;li&gt;Build stronger models&lt;/li&gt;
&lt;li&gt;Understand real-world problems better&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is just the beginning of my journey. I plan to share more of my progress and projects soon!&lt;/p&gt;

&lt;p&gt;Thanks for reading 🙌&lt;br&gt;
Let’s connect — drop your thoughts, suggestions, or your own experience below!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>🚀 Build and Deploy a Fake News Detector with Flask for Free!</title>
      <dc:creator>info_brust</dc:creator>
      <pubDate>Fri, 30 May 2025 07:11:47 +0000</pubDate>
      <link>https://dev.to/nihal347/build-and-deploy-a-fake-news-detector-with-flask-for-free-526j</link>
      <guid>https://dev.to/nihal347/build-and-deploy-a-fake-news-detector-with-flask-for-free-526j</guid>
      <description>&lt;p&gt;&lt;strong&gt;Tags:&lt;/strong&gt; &lt;code&gt;#python&lt;/code&gt; &lt;code&gt;#flask&lt;/code&gt; &lt;code&gt;#machinelearning&lt;/code&gt; &lt;code&gt;#webdev&lt;/code&gt; &lt;code&gt;#project&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“In a world full of noise, let’s teach machines to detect the lies.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Hey folks! 👋&lt;br&gt;
In this post, I’ll walk you through how I built and deployed a &lt;strong&gt;Fake News Detector&lt;/strong&gt; using Python, Flask, and Machine Learning — and hosted it online &lt;em&gt;for free&lt;/em&gt;. Whether you're a student, a beginner developer, or just someone who loves real news 😄 — this one’s for you!&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 What I Built
&lt;/h2&gt;

&lt;p&gt;I created a web app that allows users to paste a news article, and it predicts whether the article is &lt;strong&gt;real or fake&lt;/strong&gt; using a trained machine learning model. Simple UI, clean prediction logic, and completely self-contained.&lt;/p&gt;




&lt;h2&gt;
  
  
  🔧 Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Python 3&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flask&lt;/strong&gt; (for the web app)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scikit-learn&lt;/strong&gt; (for ML model)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NLTK&lt;/strong&gt; (for text preprocessing)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HTML/CSS&lt;/strong&gt; (for frontend)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Render.com&lt;/strong&gt; (for free hosting)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📁 Project Structure
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;project/
│
├── app.py                  # Flask app
├── train_model.py          # ML training script
├── requirements.txt
├── /data                   # True.csv, Fake.csv
├── /models                 # Saved .pkl model + vectorizer
├── /templates/index.html   # UI
├── /static/style.css       # Basic CSS
├── /utils/text_cleaner.py  # Text preprocessing
└── README.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🧪 How It Works
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. &lt;strong&gt;Model Training&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;In &lt;code&gt;train_model.py&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I combined real and fake news datasets&lt;/li&gt;
&lt;li&gt;Preprocessed the text (lowercase, remove stopwords, lemmatize)&lt;/li&gt;
&lt;li&gt;Used &lt;strong&gt;TF-IDF&lt;/strong&gt; vectorization&lt;/li&gt;
&lt;li&gt;Trained a &lt;strong&gt;Logistic Regression&lt;/strong&gt; model&lt;/li&gt;
&lt;li&gt;Saved the model and vectorizer with &lt;code&gt;pickle&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. &lt;strong&gt;The Flask Web App&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;In &lt;code&gt;app.py&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Loads the model and vectorizer&lt;/li&gt;
&lt;li&gt;Takes user input from a text box&lt;/li&gt;
&lt;li&gt;Preprocesses the input using the same &lt;code&gt;clean_text()&lt;/code&gt; function&lt;/li&gt;
&lt;li&gt;Predicts using the trained model&lt;/li&gt;
&lt;li&gt;Displays: ✅ Real News or ❌ Fake News&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🌐 Hosting It for Free with Render
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Step-by-Step:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Pushed code to &lt;a href="https://github.com/" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Signed in at &lt;a href="https://render.com/" rel="noopener noreferrer"&gt;Render.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Chose &lt;strong&gt;New Web Service&lt;/strong&gt; &amp;gt; Linked GitHub repo&lt;/li&gt;
&lt;li&gt;Set:&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;Runtime: Python&lt;/li&gt;
&lt;li&gt;Start Command: &lt;code&gt;gunicorn app:app&lt;/code&gt;

&lt;ol&gt;
&lt;li&gt;Done! Got a live public URL&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;👉 Example: &lt;code&gt;https://fake-news-detector.onrender.com&lt;/code&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  📦 Dependencies (&lt;code&gt;requirements.txt&lt;/code&gt;)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;flask
scikit-learn
nltk
pandas
gunicorn
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🙌 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;I learned a lot through this project — from building a clean Flask UI, to saving/loading ML models, to deploying with ease.&lt;/p&gt;

&lt;p&gt;If you're looking for a project that combines &lt;strong&gt;web development + machine learning&lt;/strong&gt; and is &lt;strong&gt;hosted for free&lt;/strong&gt;, this is perfect. 🔥&lt;/p&gt;




&lt;h2&gt;
  
  
  💬 Let’s Connect
&lt;/h2&gt;

&lt;p&gt;Have questions or suggestions?&lt;br&gt;
Drop a comment or reach out to me on &lt;a href="https://github.com/Nihal743" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; / &lt;a href="https://x.com/gmac_nihal" rel="noopener noreferrer"&gt;X&lt;/a&gt; — I’d love to see your version of this project!&lt;/p&gt;




&lt;h3&gt;
  
  
  ⭐ Bonus: Want the Code?
&lt;/h3&gt;

&lt;p&gt;Check it out here:&lt;br&gt;
👉 &lt;a href="https://github.com/Nihal473/Fake-News-Detection-System" rel="noopener noreferrer"&gt;GitHub Repo&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>[Boost]</title>
      <dc:creator>info_brust</dc:creator>
      <pubDate>Tue, 27 May 2025 08:11:59 +0000</pubDate>
      <link>https://dev.to/nihal347/-3c2n</link>
      <guid>https://dev.to/nihal347/-3c2n</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/nihal347/how-to-become-a-machine-learning-engineer-from-scratch-di9" class="crayons-story__hidden-navigation-link"&gt;🧠 How to Become a Machine Learning Engineer (From Scratch)&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="/nihal347" 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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3202308%2F6a9c4bcd-f876-41a9-84e0-49e906bfda65.jpg" alt="nihal347 profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/nihal347" class="crayons-story__secondary fw-medium m:hidden"&gt;
              info_brust
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                info_brust
                
              
              &lt;div id="story-author-preview-content-2532272" 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="/nihal347" 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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3202308%2F6a9c4bcd-f876-41a9-84e0-49e906bfda65.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;info_brust&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/nihal347/how-to-become-a-machine-learning-engineer-from-scratch-di9" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;May 27 '25&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/nihal347/how-to-become-a-machine-learning-engineer-from-scratch-di9" id="article-link-2532272"&gt;
          🧠 How to Become a Machine Learning Engineer (From Scratch)
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/nihal347/how-to-become-a-machine-learning-engineer-from-scratch-di9" 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/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;1&lt;span class="hidden s:inline"&gt; reaction&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/nihal347/how-to-become-a-machine-learning-engineer-from-scratch-di9#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add 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;
            3 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>machinelearning</category>
      <category>ai</category>
      <category>career</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>🧠 How to Become a Machine Learning Engineer (From Scratch)</title>
      <dc:creator>info_brust</dc:creator>
      <pubDate>Tue, 27 May 2025 08:09:37 +0000</pubDate>
      <link>https://dev.to/nihal347/how-to-become-a-machine-learning-engineer-from-scratch-di9</link>
      <guid>https://dev.to/nihal347/how-to-become-a-machine-learning-engineer-from-scratch-di9</guid>
      <description>&lt;p&gt;Hey folks 👋&lt;/p&gt;

&lt;p&gt;So you’ve seen AI doing some wild stuff lately—writing essays, making art, even coding—and now you're wondering: “How do I get into this field and become a Machine Learning Engineer?”&lt;/p&gt;

&lt;p&gt;Good news: you don’t need a PhD or fancy math degree to start. In this post, I’ll break down what a Machine Learning Engineer actually does, what you need to learn, and how to start building cool projects ASAP. 🚀&lt;/p&gt;

&lt;p&gt;🧩 What Does a Machine Learning Engineer Do?&lt;br&gt;
A Machine Learning (ML) Engineer builds systems that learn from data. You're not just making models—you’re deploying them, scaling them, and integrating them into products.&lt;/p&gt;

&lt;p&gt;You’ll work with:&lt;/p&gt;

&lt;p&gt;🧹 Data preprocessing&lt;/p&gt;

&lt;p&gt;🏗️ Model training &amp;amp; tuning&lt;/p&gt;

&lt;p&gt;🧪 Experimentation&lt;/p&gt;

&lt;p&gt;🚀 Model deployment (MLOps)&lt;/p&gt;

&lt;p&gt;🛠️ Production-level code&lt;/p&gt;

&lt;p&gt;You sit at the intersection of software engineering and data science.&lt;/p&gt;

&lt;p&gt;🗺️ Your Roadmap to Becoming an ML Engineer&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Learn Python (if you haven’t already)
Python is the lingua franca of ML.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Start with:&lt;/p&gt;

&lt;p&gt;Python Crash Course by Eric Matthes&lt;/p&gt;

&lt;p&gt;FreeCodeCamp’s Python YouTube tutorial&lt;/p&gt;

&lt;p&gt;Also learn:&lt;/p&gt;

&lt;p&gt;Lists, dictionaries&lt;/p&gt;

&lt;p&gt;Loops &amp;amp; conditionals&lt;/p&gt;

&lt;p&gt;Functions &amp;amp; classes&lt;/p&gt;

&lt;p&gt;File I/O&lt;/p&gt;

&lt;p&gt;Libraries (NumPy, pandas)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Math for ML (But Don’t Panic!)
You don’t need to master advanced math before starting ML, but eventually, you should be comfortable with:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;🧮 Linear Algebra (vectors, matrices)&lt;/p&gt;

&lt;p&gt;📊 Probability &amp;amp; Statistics&lt;/p&gt;

&lt;p&gt;🧠 Calculus (basic derivatives for backpropagation)&lt;/p&gt;

&lt;p&gt;Resources:&lt;/p&gt;

&lt;p&gt;Khan Academy (free)&lt;/p&gt;

&lt;p&gt;3Blue1Brown’s “Essence of Linear Algebra”&lt;/p&gt;

&lt;p&gt;StatQuest on YouTube&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Learn ML Concepts and Algorithms
Start with supervised learning:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Linear Regression&lt;/p&gt;

&lt;p&gt;Logistic Regression&lt;/p&gt;

&lt;p&gt;Decision Trees&lt;/p&gt;

&lt;p&gt;Random Forest&lt;/p&gt;

&lt;p&gt;KNN&lt;/p&gt;

&lt;p&gt;SVM&lt;/p&gt;

&lt;p&gt;Then explore:&lt;/p&gt;

&lt;p&gt;Unsupervised Learning (K-means, PCA)&lt;/p&gt;

&lt;p&gt;Deep Learning (neural nets)&lt;/p&gt;

&lt;p&gt;NLP, Time Series, etc.&lt;/p&gt;

&lt;p&gt;📚 Recommended:&lt;/p&gt;

&lt;p&gt;Google’s ML Crash Course&lt;/p&gt;

&lt;p&gt;Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow by Aurélien Géron&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Get Your Hands Dirty with Projects 🧪
Nothing beats building.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Beginner ideas:&lt;/p&gt;

&lt;p&gt;Predict housing prices (regression)&lt;/p&gt;

&lt;p&gt;Spam vs. ham SMS classifier (NLP)&lt;/p&gt;

&lt;p&gt;Titanic survival classifier (Kaggle)&lt;/p&gt;

&lt;p&gt;Intermediate:&lt;/p&gt;

&lt;p&gt;Fake news detector&lt;/p&gt;

&lt;p&gt;Image classifier (cats vs. dogs)&lt;/p&gt;

&lt;p&gt;Movie recommendation system&lt;/p&gt;

&lt;p&gt;Pro tip: Share your projects on GitHub and write blog posts about them. Employers love it. 💼&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Learn Deep Learning (When Ready)
Once you’re comfortable with basic ML, go deeper.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Start with:&lt;/p&gt;

&lt;p&gt;Feedforward Neural Networks&lt;/p&gt;

&lt;p&gt;CNNs (for images)&lt;/p&gt;

&lt;p&gt;RNNs / LSTMs (for sequences)&lt;/p&gt;

&lt;p&gt;Frameworks:&lt;/p&gt;

&lt;p&gt;TensorFlow&lt;/p&gt;

&lt;p&gt;PyTorch (increasingly the industry favorite)&lt;/p&gt;

&lt;p&gt;Course recs:&lt;/p&gt;

&lt;p&gt;DeepLearning.AI’s Specialization (Coursera)&lt;/p&gt;

&lt;p&gt;Fast.ai&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Understand MLOps &amp;amp; Deployment 🛠️
ML isn't done until it's in production. Learn:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Version control (git)&lt;/p&gt;

&lt;p&gt;Model deployment (Flask/FastAPI + Docker)&lt;/p&gt;

&lt;p&gt;Model tracking (MLflow)&lt;/p&gt;

&lt;p&gt;Cloud platforms (GCP, AWS, or Azure)&lt;/p&gt;

&lt;p&gt;Example: deploy a model with FastAPI → Docker → render.com or Hugging Face Spaces.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Contribute, Collaborate, and Apply 🔍
💬 Join communities:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;r/MachineLearning&lt;/p&gt;

&lt;p&gt;Kaggle&lt;/p&gt;

&lt;p&gt;ML Discords / Slack&lt;/p&gt;

&lt;p&gt;DEV.to (obviously 😉)&lt;/p&gt;

&lt;p&gt;🛠️ Contribute to open-source projects&lt;br&gt;
💼 Apply to internships, fellowships, or contribute to AI startups&lt;br&gt;
🧑‍💻 Freelance on ML projects if possible&lt;/p&gt;

&lt;p&gt;🧠A 6-Month Starter Plan&lt;br&gt;
Month   Focus&lt;br&gt;
1   Python + Basic Math&lt;br&gt;
2   Pandas + NumPy + Scikit-learn&lt;br&gt;
3   Core ML algorithms&lt;br&gt;
4   Build projects&lt;br&gt;
5   Intro to Deep Learning (PyTorch)&lt;br&gt;
6   Deployment + Resume + GitHub portfolio&lt;/p&gt;

&lt;p&gt;🚀 Final Thoughts&lt;br&gt;
Becoming an ML Engineer isn’t easy—but it’s totally doable. Start small, build stuff, and stay consistent. The tech is evolving fast, but so can you.&lt;/p&gt;

&lt;p&gt;You don’t need to know everything. You just need to start.&lt;/p&gt;

&lt;p&gt;Let me know in the comments what stage you’re at. 👇&lt;/p&gt;

&lt;p&gt;Happy building! 🛠️&lt;/p&gt;

</description>
    </item>
    <item>
      <title>🚀 How I Built My First Python Automation Script (And You Can Too!) Hey devs! 👋</title>
      <dc:creator>info_brust</dc:creator>
      <pubDate>Mon, 26 May 2025 14:58:40 +0000</pubDate>
      <link>https://dev.to/nihal347/how-i-built-my-first-python-automation-script-and-you-can-toohey-devs-14g4</link>
      <guid>https://dev.to/nihal347/how-i-built-my-first-python-automation-script-and-you-can-toohey-devs-14g4</guid>
      <description>&lt;p&gt;Hey devs! 👋&lt;/p&gt;

&lt;p&gt;I've recently started diving into Python automation, and I wanted to share my experience building my very first script. Whether you're new to Python or just looking for a fun weekend project, this one’s for you!&lt;/p&gt;

&lt;p&gt;🛠️ The Idea&lt;br&gt;
I wanted something useful but simple—so I created a script that automatically organizes files in my Downloads folder based on file type. Think .pdf files go to a “Docs” folder, .jpg to “Images”, etc.&lt;/p&gt;

&lt;p&gt;📦 Tech Stack&lt;/p&gt;

&lt;p&gt;-Python 3.10&lt;/p&gt;

&lt;p&gt;-os and shutil modules&lt;/p&gt;

&lt;p&gt;-Runs on any OS (tested on Windows and Linux)&lt;/p&gt;

&lt;p&gt;🧠 What I Learned&lt;br&gt;
Working with file paths and directories using os&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Using shutil.move() to transfer files&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Writing clean and modular code&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Running scripts on a schedule with Task Scheduler / Cron Jobs&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;💡 Code Snippet&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;shutil&lt;/span&gt;

&lt;span class="n"&gt;DOWNLOADS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;/home/user/Downloads&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;DESTINATIONS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Images&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;.png&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;.jpg&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;.jpeg&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;.gif&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Docs&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;.pdf&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;.docx&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;.txt&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Videos&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;.mp4&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;.mov&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;filename&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;listdir&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;DOWNLOADS&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;file_path&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;DOWNLOADS&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;filename&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isfile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;file_path&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;folder&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;extensions&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;DESTINATIONS&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;filename&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lower&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;endswith&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tuple&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;extensions&lt;/span&gt;&lt;span class="p"&gt;)):&lt;/span&gt;
                &lt;span class="n"&gt;target_folder&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;DOWNLOADS&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;folder&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;makedirs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;target_folder&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;exist_ok&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                &lt;span class="n"&gt;shutil&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;move&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;file_path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;target_folder&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;filename&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
                &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Moved &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;filename&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt; to &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;folder&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                &lt;span class="k"&gt;break&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🚧 What's Next?&lt;br&gt;
I'm planning to add a GUI using Tkinter and maybe even turn it into a desktop app. Eventually, I’d love to package it and share it with non-dev friends too.&lt;/p&gt;

&lt;p&gt;✨ Final Thoughts&lt;br&gt;
Small projects like this are perfect for sharpening your skills and building confidence. If you're learning Python, I highly recommend picking something you're slightly annoyed with and automating it!&lt;/p&gt;

&lt;p&gt;Let me know what you're working on in the comments. 💬&lt;br&gt;
Feel free to fork or build on the project—I'm always open to feedback!&lt;/p&gt;

&lt;p&gt;Happy coding! 🐍💻&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Building My Portfolio: A Reflection of My Programming Journey</title>
      <dc:creator>info_brust</dc:creator>
      <pubDate>Sat, 24 May 2025 09:44:16 +0000</pubDate>
      <link>https://dev.to/nihal347/working-on-my-portfolio-5blk</link>
      <guid>https://dev.to/nihal347/working-on-my-portfolio-5blk</guid>
      <description>&lt;p&gt;n 2021, I stumbled into programming because I was curious about how games are made. I was a gamer at heart and thought, “How hard can it be to make one?” That one question changed everything.&lt;/p&gt;

&lt;p&gt;What started as a curiosity led me into a world I didn’t expect to fall in love with. I explored game development for a while, but over time, my interests shifted. Today, I’m working in the machine learning industry — and it feels like home.&lt;/p&gt;

&lt;p&gt;Why I’m Building a Portfolio Now&lt;br&gt;
Even though I’ve been coding for a few years, I never really paused to create something that represents me as a developer. I’ve built projects, worked on different ideas, learned languages and frameworks — but I never had one place to showcase all of it.&lt;/p&gt;

&lt;p&gt;So now, I’m finally doing it:&lt;br&gt;
✅ A personal portfolio&lt;br&gt;
✅ Projects that tell my story&lt;br&gt;
✅ A space that reflects how far I’ve come — and where I’m headed&lt;/p&gt;

&lt;p&gt;What It Means to Me&lt;br&gt;
My portfolio isn’t just about aesthetics or checkboxes. It’s a reminder of why I started, how I grew, and what I want to keep building. It’s a bridge between where I was (a curious gamer) and where I am now (a developer in machine learning).&lt;/p&gt;

&lt;p&gt;What’s Next?&lt;br&gt;
I’m excited to finish this up soon and link it in my bio.&lt;br&gt;
Until then, I’m polishing the layout, writing descriptions, and making sure every part of it reflects who I am as a developer and a person.&lt;/p&gt;

&lt;p&gt;If you're working on your own portfolio too, feel free to share — I’d love to see what others are building!&lt;/p&gt;

</description>
      <category>portfolio</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>I am starting to blog my programming journey.</title>
      <dc:creator>info_brust</dc:creator>
      <pubDate>Sat, 24 May 2025 09:41:46 +0000</pubDate>
      <link>https://dev.to/nihal347/i-am-starting-to-blog-my-programing-journey-4gh3</link>
      <guid>https://dev.to/nihal347/i-am-starting-to-blog-my-programing-journey-4gh3</guid>
      <description>&lt;p&gt;I intend to document my whole development journey here. Hope that it'll help me stay on track.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>python</category>
    </item>
  </channel>
</rss>
