<?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 Adil Jiwani on Medium]]></title>
        <description><![CDATA[Stories by Adil Jiwani on Medium]]></description>
        <link>https://medium.com/@adiljiwani?source=rss-13dc1fa6267e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*B-3JcZ6GG9NYJ4JD9UpuvQ.jpeg</url>
            <title>Stories by Adil Jiwani on Medium</title>
            <link>https://medium.com/@adiljiwani?source=rss-13dc1fa6267e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 02:17:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@adiljiwani/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[A CNN can tell my brothers apart better than my own family]]></title>
            <link>https://medium.com/@adiljiwani/a-cnn-can-tell-my-brothers-apart-better-than-my-own-family-8b3e2df20f5d?source=rss-13dc1fa6267e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b3e2df20f5d</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[aritificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Adil Jiwani]]></dc:creator>
            <pubDate>Tue, 19 Feb 2019 03:52:13 GMT</pubDate>
            <atom:updated>2019-02-19T03:52:13.758Z</atom:updated>
            <content:encoded><![CDATA[<h3>Background</h3><p>I have a large family. There are 9 of us living together in one house let alone the countless aunts, uncles and cousins. It’s actually a lot of fun living in a big family because you get lots of attention when you’re young and all your aunts and uncles will repeatedly tell you how much you’ve grown since you were like 2 days old. One of the downsides is that you might get mistaken for your younger brother.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*FZfSMsC02GWY8-hJ6bUSMA.jpeg" /><figcaption>From left to right: Azim, Aman, Diego, Ayan, Adil (me)</figcaption></figure><p>I have a younger brother and two younger cousins who live with me. I don’t think we look that similar but our extended family cannot seem to identify who is who. It might also have to do with the fact that all our names start with the letter ‘A’ and have four letters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*neYwJS_p-JLPpuZ6DtmQ5Q.jpeg" /><figcaption>From left to right: Azim, Adil, Aman, Ayan</figcaption></figure><p>I am currently doing an online course about deep learning and I just finished the section about convolutional neural networks(CNN) which can be used for image classification. I decided to see if a CNN can classify my family members better than my own family can.</p><h3>The Plan</h3><p>I needed lots of pictures of myself, my brother and my cousins. So I told my brother and cousins to take 100 pictures of themselves everyday for 3 days. I also needed to create a neural network that would be able to classify 4 different classes.</p><h3>The Execution</h3><p>While I was waiting for my cousin’s pictures, I decided to create a binary classifier which only classified images of my brother and I. The dataset contained a training set of 70 images and test set of 30 images for each of us. After training for about 12 hours, I got a <strong>training set accuracy of 99.16%</strong> and a <strong>test set accuracy of 71.67%</strong>. These results clearly show overfitting.</p><blockquote>Overfitting: when a model corresponds too closely to the training data which negatively impacts its performance against new data.</blockquote><p>One of the main reasons for overfitting is the low number of images in the dataset. I also learned that a 70/30 split for the training and test sets is too high for the training set which may have caused the overfitting.</p><p>To create the CNN for the 4 of us, I used Keras for the classifier. I added a convolutional layer with a <em>relu(rectifier linear unit)</em> activation function and, a pooling layer with a pool size of (2, 2). I also added another convolutional layer and Dense layers for the full connection layer with a <em>softmax</em> activation function. I used the <em>Adam optimization algorithm</em> for the optimizer and <em>categorical cross-entropy</em> for the loss function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wZ45kCmAtX4uxF9taT1ZIA.png" /><figcaption>We’re ready to train the model!</figcaption></figure><p>After getting all the images from everyone, I ran the CNN which yielded a <strong>training set accuracy of 100%</strong> and <strong>test set accuracy of 92.3%</strong>. These are phenomenal numbers considering I only used 300 pictures of each of us. For this iteration I did a 60/40 split between the training and test sets and the higher number of images helped reduce overfitting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oVB_Lvi4xpi7zHib8fUILQ.png" /><figcaption>Screenshot of the last 5 epochs: Training set accuracy in orange, test set in blue</figcaption></figure><h3>Conclusion</h3><p>To improve this model further, I would get a larger dataset which means the model can train on a larger number of images. If I had access to a dedicated GPU, I would use higher resolution images, more convolutional and pooling layers and a larger input shape for the model.</p><p>However, it turns out, a machine can differentiate between the Jiwani’s better than our own family.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b3e2df20f5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My experience as an intern at Cover]]></title>
            <link>https://medium.com/@adiljiwani/my-experience-as-an-intern-at-cover-6d19ed3318c8?source=rss-13dc1fa6267e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d19ed3318c8</guid>
            <category><![CDATA[chicken-wings]]></category>
            <category><![CDATA[cover]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[internships]]></category>
            <dc:creator><![CDATA[Adil Jiwani]]></dc:creator>
            <pubDate>Wed, 09 Jan 2019 02:35:49 GMT</pubDate>
            <atom:updated>2019-01-09T02:44:23.761Z</atom:updated>
            <content:encoded><![CDATA[<p>Disclaimer: This post is not sponsored by Cover and I wrote it because I wanted to share my experience. And no, they didn’t tell me to say that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*TJfOXoacNL6-b2UdgjpAig.jpeg" /></figure><h3><strong>About Cover</strong></h3><p>Cover is a tech company which sells insurance through their mobile app. The idea is: if you can take a picture of it, they can insure it.</p><h3>About me</h3><p>I’m a student at the University of Waterloo and I’m studying Systems Design Engineering. What I love the most about my program is that I have 6 co-op terms in which I can work and gain experience at 6 different companies. My internship at Cover was my third and I was stoked to work there as an iOS Engineer.</p><h3>Why was I excited to work for Cover?</h3><p>My first two internships were at huge financial institutions: TD Bank and Manulife Financial. There were upsides to working at a well-established company but there wasn’t the passion and excitement of a startup. Cover was the perfect company for me because I believed in the product and they were growing rapidly.</p><h3>My first day</h3><p>When worked at Cover, their office was on the 4th floor of OneEleven which is a shared office space. All the offices in the space were divided by glass walls and the hallways were labelled with street names in downtown Toronto.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/368/0*8lkWZNM1fAvobi6S.jpg" /><figcaption>Source: <a href="https://torontolife.com/city/life/inside-gigantic-tech-incubator-oneeleven-houses-30-companies-games-room-robots/">Toronto Life</a></figcaption></figure><p>As soon as I walked in, I met the team and Anand, the CTO, hands me a brand-new 15-inch MacBook Pro (with TouchBar oh yeah!). Onboarding took about as long as it took for me to unbox the MacBook which was new for me as the whole process had taken ~2 weeks at my previous internships. This was gonna be an amazing four months.</p><p>And I couldn’t be more right.</p><h3>What I worked on</h3><p>Throughout my internship, I learned a new programming language (Ruby) and a framework (Ruby on Rails). I worked on Cover’s own insurance product which was fascinating because I learned how traditional insurance companies calculate your car insurance rates. And then built it with code. Through the weekly Ruby reading group, I learned about design patterns, refactoring and test-driven development.</p><p>The designers had also created new designs for the second version of the app and I got to work on the flow users take when entering their driver’s license information. We created a method for developers to follow in the future for creating the rest of the screens in the iOS app. I learned a lot about writing clean code, MVVM architecture and collaborating with designers.</p><h3>What’s next?</h3><p>Prior to working at Cover, I had built multiple iOS apps but I had never followed a specific architecture which made my code difficult to reuse and test. I have started working on an iOS app and I am applying an MVVM architecture and other design patterns which I learned at Cover.</p><p>The best part about my time at Cover were the people who worked there. Every single person who worked there was brilliant at what they did and were always willing to help. There was a strong sense of teamwork at the company because everyone believed in the product and each other.</p><p>Huge shoutout to the people who made my internship unforgettable: Ben, Anand, Karn, Sean, Navine, Jessica and Grace!</p><p>However, my greatest accomplishment at Cover has to be beating the intern record for most chicken wings eaten in under 30 mins (26 wings).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kiKqdKz-OzsY3YlslrPAXA.jpeg" /><figcaption>Me, left, pictured devouring my first of 26 hot wings</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d19ed3318c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>