<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Arfa on Medium]]></title>
        <description><![CDATA[Stories by Arfa on Medium]]></description>
        <link>https://medium.com/@atx.ai?source=rss-727809c275c8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*55m4HGWofX_3vF2qB1ruuQ.png</url>
            <title>Stories by Arfa on Medium</title>
            <link>https://medium.com/@atx.ai?source=rss-727809c275c8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 02:18:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@atx.ai/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[ EnviroTrace: Measure Your Carbon Footprint and Reduce It]]></title>
            <link>https://medium.com/@atx.ai/envirotrace-measure-your-carbon-footprint-and-reduce-it-f43538881d62?source=rss-727809c275c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/f43538881d62</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[stable-diffusion]]></category>
            <category><![CDATA[climate-change]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[party-rock]]></category>
            <dc:creator><![CDATA[Arfa]]></dc:creator>
            <pubDate>Sat, 23 Mar 2024 11:36:03 GMT</pubDate>
            <atom:updated>2024-04-07T06:46:03.031Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*0_oWXKXAEjasoDcPLsDn1w.png" /></figure><h3><strong>The year is 2050 and you stand in the polluted landscape of your home city wearing a protective mask and suit. The air is full of toxic particles that could damage your lungs if you take it off. The water that was once clear and sparkling is so polluted now that it lies stagnant — a myriad of chemical blues and greens. The trees and crops cannot survive in this “new natural” environment. The birds have long stopped singing.</strong></h3><p><strong>The above scenario might sound much like a dystopian fantasy, but it is not too far off from some of the current conditions faced by residents of some of the most polluted cities in the world: New Delhi, Dhaka, Lahore and Hotan.</strong></p><h3>What Inspired EnviroTrace:</h3><p>I started building this app to enable individuals to make daily choices that can help reduce their “carbon footprint”. Carbon footprint is the amount of carbon dioxide (CO2) emissions an individual’s activities release into the environment. 🌍</p><h3>Community Impact:</h3><p>This app can help anyone willing to modify their lifestyle to do their part to help save the planet.</p><p>All you need to do is enter some information related to your location and daily routine to get an estimate of your carbon footprint and recommendations to reduce it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eGTSBkFT_TTAF65P_cZluw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ryj9eqtDCJMohmWw3uRiPA.png" /></figure><h3>Try EnviroTrace here: <a href="https://partyrock.aws/u/arfa/bMWinjTaP/EnviroTrace">https://partyrock.aws/u/arfa/bMWinjTaP/EnviroTrace</a></h3><h3>Read more about EnviroTrace here: <a href="https://devpost.com/software/envirotrace">https://devpost.com/software/envirotrace</a></h3><h3>Demo: <a href="https://www.youtube.com/watch?v=--t698A_mxQ">EnviroTrace (youtube.com)</a></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f43538881d62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Classification of Traffic Signs Using Deep Learning]]></title>
            <link>https://medium.com/swlh/classification-of-traffic-signs-using-deep-learning-d6c79e95db5f?source=rss-727809c275c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6c79e95db5f</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[convolutional-network]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[self-driving-cars]]></category>
            <dc:creator><![CDATA[Arfa]]></dc:creator>
            <pubDate>Thu, 10 Sep 2020 14:09:56 GMT</pubDate>
            <atom:updated>2024-04-30T11:05:26.849Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Classification of Traffic Signals Using Deep Learning</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7APuC3ktqxPNnO0IadUoLQ.jpeg" /><figcaption><a href="https://www.roboticsbusinessreview.com/unmanned/unmanned-ground/pbs-science-show-nova-shines-its-spotlight-on-self-driving-cars/">Source</a></figcaption></figure><p><strong>Traffic-sign recognition</strong> (TSR) is a technology which is used by a vehicle to recognize the traffic signs that are placed on the road e.g. “ Turn right ahead”, “Speed limit”, or “Stop” etc. This technology can be implemented using Convolutional Neural Networks (CNNs).</p><p>This technology is important because a prompt response to real-time traffic events can prevent road accidents. This article will explain all the steps taken to design a Deep Learning model.</p><h3>1. Importing Libraries and Dataset</h3><p>Key python libraries are imported using the follow code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*5TTxKEzF9imeNrKyRnFPvA.png" /></figure><p>The <strong>dataset</strong> used is a <a href="http://benchmark.ini.rub.de/?section=gtsrb&amp;subsection=dataset">German Traffic Sign Dataset</a>. We will use around 34,800 images for training dataset, 12630 images for test dataset and 4410 images for validation dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*b3ddyDULMVviFCpLtu_87Q.png" /></figure><h3>2. Displaying the Dataset</h3><p>Display the dataset using the following code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*yD-ktJwXh_-cYkHWO-57Ag.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*hRRubTo7C6h8AyT0XAXpMQ.png" /></figure><h3>3. Normalization of Images</h3><p>Data is shuffled to prevent the neural network from learning the order of images. RGB pixels are averaged by dividing by 3. Then, RGB images must be transformed to Grayscale before performing Normalization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*xRXSXQX1j4DkhDuT178-Vg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*czUmQWXPCpm4zQWh6V9yzw.png" /></figure><p>The gray scale and normalized images can then be visualized.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*aKlvb1Ccaq5XKIwC1Ajxew.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/277/1*t9QVmcfZ9kF7bATQVVqN6A.png" /></figure><h3>4. Building a CNN Model</h3><p>Convolutions are applied to extract features from the images.</p><p><strong>Input:</strong></p><p>As input, a CNN takes tensors of shape (image_height, image_width, color_channels), here color_channels will be 1 since we have converted colored images to gray-scale ones.</p><p><strong>CNN Architecture:</strong></p><p>The code below defines the convolution base using a common pattern: a stack of <a href="https://www.tensorflow.org/api_docs/python/tf/keras/layers/Conv2D">Conv2D</a> and <a href="https://www.tensorflow.org/api_docs/python/tf/keras/layers/MaxPool2D">MaxPooling2D</a> layers.</p><p><strong>ReLU </strong>is used in the<a href="https://deepai.org/machine-learning-glossary-and-terms/relu"> hidden layers</a> as it can make the training speed of deep neural networks faster as compared to traditional activation functions. If the input is positive, the derivative of ReLu is 1 which is a constant, thus deep neural networks do not need to take extra time for computation of error terms during training phase.</p><p><a href="https://machinelearningmastery.com/pooling-layers-for-convolutional-neural-networks/#:~:text=Max%20Pooling%20Layer&amp;text=The%20results%20are%20down%20sampled,vision%20tasks%20like%20image%20classification."><strong>Average pooling</strong> </a>involves calculating the average for each patch of the feature map. This means that each square of the feature map is down sampled to the average value in the square. <strong>Dropout</strong> is used to reduce over-fitting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*VwzNxqAWuRo2JPxvcMYu2A.png" /></figure><p>Output tensor from the convolutional base (of shape (10,10, 16)) is fed into Conv2D layer, which outputs a tensor (of shape (5,5,16)) which is flattened first-as Dense layers take vectors as input (which are 1D)- and then fed into Dense layers to perform classification.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*2T8dGkZx0b3asd3L9XDX_Q.png" /></figure><p>The datset has 43 output classes, so you use a final Dense layer with 43 outputs and a <a href="https://deepai.org/machine-learning-glossary-and-terms/softmax-layer">softmax activation</a>, which assigns decimal probabilities to each class in a multi-class problem. These decimal probabilities must add up to 1.0.</p><h3><strong>5. Training the Deep CNN Model</strong></h3><p><strong>Adam optimizer </strong>is used since its uses performs the best on average, while compiling the CNN.compile, along with loss= <a href="https://datascience.stackexchange.com/questions/41921/sparse-categorical-crossentropy-vs-categorical-crossentropy-keras-accuracy#:~:text=Use%20sparse%20categorical%20crossentropy%20when,0.5%2C%200.3%2C%200.2%5D)."><strong>sparse-categrical_crossentropy</strong></a><strong> </strong>. since our classes are mutually exclusive, meaning each sample belongs exactly to one class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*quqrIKBQrLgcyWdmqSFSKQ.png" /></figure><h3><strong>6. Evaluating Performance</strong></h3><p>CNN.evaluate is used to assess the performance of a CNN, here we can see around 80% test accuracy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*8BobFe2AR5NHUB5FMs9tcA.png" /></figure><p><strong>Training and Validation Loss:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*lcYxjHVlOWsH5ZwIqTo9hQ.jpeg" /></figure><p><strong>Training and Validation Accuracy:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*d5PP5JWY56TJMxAuhPVmDg.jpeg" /></figure><p><a href="https://scikit-learn.org/0.16/auto_examples/model_selection/plot_confusion_matrix.html"><strong>Plotting a Confusion Matrix</strong></a></p><p>A <strong>Confusion Matrix </strong>is used to evaluate the quality of the output of a classifier on a dataset. In this plot, the diagonal elements represent the number of points for which the predicted label is equal to the true label, while off-diagonal elements are those that are mislabeled by the classifier. The higher the diagonal values of the confusion matrix the better, indicating many correct predictions. True labels are along the y-axis while predicted labels are on the x axis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*TXRJF0gUp-puuxJYsyOb2A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sszyS1TJyqHtE6fWFKEuQg.png" /></figure><p><strong>Displaying the Output Images with Classes:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*_mrDhZDHC6tNdTlCZja3-w.png" /></figure><p>The above output shows that, if an image of traffic signs is input, then it can be classified accurately.</p><p><strong>References</strong>:</p><ul><li>Citation J. Stallkamp, M. Schlipsing, J. Salmen, and C. Igel. The German Traffic Sign Recognition Benchmark: A multi-class classification competition. In Proceedings of the IEEE International Joint Conference on Neural Networks, pages 1453–1460. 2011. Coursera Project Network</li></ul><ul><li><a href="https://deepai.org/machine-learning-glossary-and-terms/softmax-layer">Softmax Function</a></li><li><a href="https://www.tensorflow.org/tutorials/images/cnn">Convolutional Neural Network (CNN) | TensorFlow Core</a></li><li><a href="https://deepai.org/machine-learning-glossary-and-terms/relu">ReLu</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6c79e95db5f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/classification-of-traffic-signs-using-deep-learning-d6c79e95db5f">Classification of Traffic Signs Using Deep Learning</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>