<?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: Mohammed Faisal Khan</title>
    <description>The latest articles on DEV Community by Mohammed Faisal Khan (@faisalkhan4k).</description>
    <link>https://dev.to/faisalkhan4k</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%2F1282394%2F84c66c8a-eb71-408c-bb63-0737466d9d09.png</url>
      <title>DEV Community: Mohammed Faisal Khan</title>
      <link>https://dev.to/faisalkhan4k</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/faisalkhan4k"/>
    <language>en</language>
    <item>
      <title>Predicting Traffic in the City of Buffalo Using a Neural Network</title>
      <dc:creator>Mohammed Faisal Khan</dc:creator>
      <pubDate>Tue, 03 Mar 2026 04:18:33 +0000</pubDate>
      <link>https://dev.to/faisalkhan4k/predicting-traffic-in-the-city-of-buffalo-using-a-neural-network-kh</link>
      <guid>https://dev.to/faisalkhan4k/predicting-traffic-in-the-city-of-buffalo-using-a-neural-network-kh</guid>
      <description>&lt;p&gt;Every year, transportation departments spend significant resources physically surveying roads to measure traffic. Many roads go unmeasured. We built a Neural Network that predicts whether any road in the Buffalo-Niagara region is Low, Medium, or High traffic — no survey needed.&lt;/p&gt;

&lt;p&gt;What it does&lt;br&gt;
Given a road's location, type, direction, and region, the model instantly classifies its traffic level with 75% accuracy(WIP). City planners can use this to prioritize road repairs and signal upgrades. Businesses can use it to evaluate street-level traffic before opening a new location.&lt;/p&gt;

&lt;p&gt;How we built it&lt;br&gt;
We trained a feedforward Neural Network in PyTorch on 28,567 real road measurements from Open Data Buffalo. Key steps included log-transforming AADT to handle skew, rule-based feature engineering to reduce high-cardinality columns like road names and municipalities, and adding a custom distance-from-Buffalo feature to capture spatial traffic patterns.&lt;/p&gt;

&lt;p&gt;Challenges&lt;br&gt;
The biggest challenge was handling high-cardinality categorical columns with 80+ unique values. We solved this using domain-driven binning — grouping road names into types (highway, avenue, street) and municipalities into geographic regions, which reduced noise and improved model convergence significantly.&lt;/p&gt;

&lt;p&gt;Accomplishments&lt;br&gt;
Crossed the 75% accuracy threshold on unseen test data with a lean 4,515-parameter model — proving that simple, well-engineered features outperform complex architectures on structured tabular data.&lt;/p&gt;

&lt;p&gt;What we learned&lt;br&gt;
Feature engineering matters more than model complexity. Spending time cleaning and transforming the data — log transforms, geographic groupings, distance features — had a bigger impact on accuracy than changing the network architecture.&lt;/p&gt;

&lt;p&gt;Built with&lt;br&gt;
Python, PyTorch, Scikit-learn, Pandas, NumPy, Matplotlib, Seaborn, Open Data Buffalo&lt;/p&gt;

</description>
      <category>deeplearning</category>
      <category>data</category>
      <category>programming</category>
      <category>ai</category>
    </item>
    <item>
      <title>Machine Learning</title>
      <dc:creator>Mohammed Faisal Khan</dc:creator>
      <pubDate>Sun, 20 Apr 2025 13:47:35 +0000</pubDate>
      <link>https://dev.to/faisalkhan4k/machine-learning-emb</link>
      <guid>https://dev.to/faisalkhan4k/machine-learning-emb</guid>
      <description></description>
      <category>machinelearning</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
