<?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 Arijit Basu on Medium]]></title>
        <description><![CDATA[Stories by Arijit Basu on Medium]]></description>
        <link>https://medium.com/@arijitbasu93?source=rss-3c7eb9194c15------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*oloNJBPBmFdmRP9KKO4nTw.png</url>
            <title>Stories by Arijit Basu on Medium</title>
            <link>https://medium.com/@arijitbasu93?source=rss-3c7eb9194c15------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 16:35:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arijitbasu93/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[SBI Card Dishonor Fees: A Growing Concern]]></title>
            <link>https://medium.com/@arijitbasu93/sbi-card-dishonor-fees-a-growing-concern-a60ea2d277e3?source=rss-3c7eb9194c15------2</link>
            <guid isPermaLink="false">https://medium.com/p/a60ea2d277e3</guid>
            <category><![CDATA[india]]></category>
            <category><![CDATA[credit-card-fraud]]></category>
            <category><![CDATA[capitalism]]></category>
            <dc:creator><![CDATA[Arijit Basu]]></dc:creator>
            <pubDate>Thu, 02 Jan 2025 19:12:00 GMT</pubDate>
            <atom:updated>2025-01-02T19:44:23.775Z</atom:updated>
            <content:encoded><![CDATA[<p>SBI Card has been facing criticism from some customers regarding the imposition of dishonor fees, particularly for users who have not completed their Know Your Customer (KYC) formalities. This issue is further compounded by reports of these fees being levied even on users with newly issued cards, suggesting a potential lapse in internal KYC updates.</p><p>The controversy stems from the fact that automatic payments, often enabled for convenience, can inadvertently trigger these fees if the user’s KYC is incomplete. While the bank may argue that these fees are outlined in the terms and conditions, many customers feel that the onus of ensuring KYC completion should primarily lie with the card issuer, especially in cases of new card issuance.</p><p>This practice has raised concerns about potential revenue generation through these fees, leading to accusations of unfair practices. Customers are demanding greater transparency and a more proactive approach from SBI Card in addressing KYC requirements and preventing these unexpected charges.</p><p>Please leave comments if you are facing similar issues with SBI credit card.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a60ea2d277e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dog Breed Classification using Transfer Learning]]></title>
            <link>https://medium.com/@arijitbasu93/dog-breed-classification-using-transfer-learning-689aaeb03a29?source=rss-3c7eb9194c15------2</link>
            <guid isPermaLink="false">https://medium.com/p/689aaeb03a29</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[bottleneck]]></category>
            <category><![CDATA[convolution-neural-net]]></category>
            <category><![CDATA[udacity]]></category>
            <category><![CDATA[transfer-learning]]></category>
            <dc:creator><![CDATA[Arijit Basu]]></dc:creator>
            <pubDate>Mon, 12 Aug 2019 21:46:31 GMT</pubDate>
            <atom:updated>2019-08-14T15:23:39.107Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A Udacity DSND project to classify Dog breeds using Transfer Learning with CNN.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*in7KDHmvBe11Bk7xKHbSgg.jpeg" /></figure><blockquote>In this project, We use the bottleneck features of VGG-16 and Inception-V3 to train a dog breed classifier. We train a CNN from scratch and compare the outputs of the two approaches. Finally, we see how the dog classifier works on human images.</blockquote><h3>TRAINING A CNN MODEL FROM SCRATCH</h3><p>The task of assigning breed to dogs from images is considered exceptionally challenging. To see why, consider that <em>even a human</em> would have great difficulty in distinguishing between a Brittany and a Welsh Springer Spaniel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*V0wlfH9q5QCP9q3PmjrYSg.png" /></figure><p>Likewise, recall that Labradors come in yellow, chocolate, and black. Your vision-based algorithm will have to conquer this high intra-class variation to determine how to classify all of these different shades as the same breed.</p><h4>MODEL SUMMARY</h4><p>I utilised max pooling to reduce the dimensionality. Running the CNN without the pooling layers makes it slow and the accuracy is much lower. Pooling makes the CNN run faster and also reduces over fitting. Pooling is safe in this case since it’s likely that the neighbouring pixels are similar and down sampling will not reduce the classifiers ability to detect the image.</p><p>I increased the filter selection from 8 to 16 to 32 to 64 as is <a href="https://www.pyimagesearch.com/2018/12/31/keras-conv2d-and-convolutional-layers/">standard practice in CNN s</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*dWgcJfnQQx7KUr4szkHvgA.png" /></figure><p>We have trained the CNN model using the architecture as shown in the figure.</p><p>There are a total of 133 breeds of dogs to classify.</p><p>We have used ‘rmsprop’ optimiser and ‘categorical_crossentropy’ as the loss function.</p><p>We used an epoch value of 5 to train this model.</p><p>The model does not perform very well. Its accuracy is about 2 %. This is better than random but their is a lot of room to improve. This is where transfer learning kicks in.</p><h4>VGG-16 and Inception-V3</h4><p>The reason the model may not be performing poorly is because we may have too little data. We have 133 classes and around 8500 images.</p><p>A more refined approach would be to leverage a network pre-trained on a large data set. Such a network would have already learned features that are useful for most computer vision problems, and leveraging such features would allow us to reach a better accuracy than any method that would only rely on the available data. We will use the VGG-16 architecture and the Inception-V3 architecture.</p><p>We used the bottleneck features of both this architectures and added our own layers to them in an attempt to increase the accuracy.</p><h4>VGG-16 Model Architecture</h4><figure><img alt="Layers added to VGG-16" src="https://cdn-images-1.medium.com/max/674/1*dT0wOvUQS92-0R0kTkPLuQ.png" /><figcaption>Layers added to VGG-16 bootstrap features</figcaption></figure><p>The model uses the the pre-trained VGG-16 model as a fixed feature extractor, where the last convolution output of VGG-16 is fed as input to our model. We only add a global average pooling layer and a fully connected layer which is equipped with a soft max.</p><p>The VGG-16 Architecture improves the accuracy from 2 % to 41 %. We can already see the benefits of transfer learning in this example.</p><h4>Inception-V3 Model Architecture</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*Cn7Zu8uhFXi24QucYvznNg.png" /><figcaption>Layers added to Inception-V3 bootstrap features</figcaption></figure><p>We use a similar architecture to the VGG-16 and add an additional drop out layer to this model. The drop out layer helps us to improve the accuracy and speed up training.</p><p>This architecture out performs the above architectures with a test accuracy of 84 %. Let us see a few examples how our predictions look like.</p><h3>CONCLUSION</h3><p>We were able to increase the accuracy of our CNN model from 4 % to 84 % using transfer learning.</p><p>Here are a few example output of the classifier:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fUHC-41f3v7d20aV03i8Ww.jpeg" /><figcaption>Output examples</figcaption></figure><p>We can see the classifier is doing a decent job in classifying the images. As a fun exercise, you can pass this classifier to human images and check which breed of dog the human resembles.</p><p>We can continue to fine tune the model by changing the hyper parameters and increasing the training data set to further improve the accuracy. The accuracy of 80 % is way too low to use in real world applications so we should work on improving it further.</p><p>You can find the implementation of this discussions <a href="https://github.com/ArijitBasu/dog-app">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=689aaeb03a29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding CRISP-DM by Analysis Seattle Airbnb Data]]></title>
            <link>https://medium.com/@arijitbasu93/understanding-crisp-dm-by-analysis-seattle-airbnb-data-2295ca6f393a?source=rss-3c7eb9194c15------2</link>
            <guid isPermaLink="false">https://medium.com/p/2295ca6f393a</guid>
            <category><![CDATA[airbnb]]></category>
            <category><![CDATA[crisp-dm]]></category>
            <category><![CDATA[udacity-nanodegree]]></category>
            <category><![CDATA[datascience-certification]]></category>
            <dc:creator><![CDATA[Arijit Basu]]></dc:creator>
            <pubDate>Sun, 30 Jun 2019 22:54:15 GMT</pubDate>
            <atom:updated>2019-06-30T22:56:03.802Z</atom:updated>
            <content:encoded><![CDATA[<h3>Understanding CRISP-DM by Analysing Seattle Airbnb Data</h3><p><em>A Udacity DSND project using CRISP-DM to Analyse Seattle Airbnb Dataset.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cgwIR4q1IiX8Bqc9" /><figcaption>Photo by <a href="https://unsplash.com/@kmuza?utm_source=medium&amp;utm_medium=referral">Carlos Muza</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>As part of the Data Science course in Udacity, I evaluated AirBnB Seattle property listings from 2016 following the CRISP-DM process. The data I used in this analysis can be found at this URL: <a href="http://insideairbnb.com/get-the-data.html">http://insideairbnb.com/get-the-data.html</a>. CRISP-DM remains the top methodology for data mining, analytics and Data Science projects.</blockquote><h3>UNDERSTANDING CRISP-DM</h3><p><strong>CRISP-DM</strong> stands for Cross-Industry Standard Process for Data Mining and the whole includes 6 steps — business understanding, data understanding, data preparation, modelling, evaluation, and deployment.</p><p>The first step as part of the CRISP-DM methodology is business understanding. Focuses on understanding the project objectives and requirements from a business perspective, and then converting this knowledge into a preliminary plan.</p><h3>BUSINESS <strong>UNDERSTANDING</strong></h3><blockquote>Airbnb provides a platform for hosts to accommodate guests with short-term lodging and tourism-related activities. Guests can search for lodging using filters such as lodging type, dates, location, and price. As of mid-2018, guests have the ability to search for specific types of homes, such as bed and breakfasts, unique homes, and vacation homes. Some hosts also require a scan of government-issued identification before accepting a reservation. Guests have the ability to chat with hosts through a secure messaging system. Hosts provide prices and other details for their rental or event listings, such as the allowed number of guests, home type, rules, and amenities. Pricing is determined by the host, with recommendations from Airbnb.</blockquote><p>With the respect of the main business of Airbnb, we are interested in solving the following questions:</p><ol><li>How does listing availability and price change over the course of the year in Seattle?</li><li>Which neighbourhood has the most listings? Which neighbourhoods have the highest listing prices?</li><li>Which features affect the Pricing of a property the most?</li></ol><p>We need to look at the data available and how we can use it to answer this questions.</p><h3>DATA UNDERSTANDING</h3><p>Let us understand the data. We have 3 primary files:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NUMBd8wliI-MNIROGgiOdg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*XbtZvzdcOUWwEvcJpNgqTg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4UHHzloC3IgwKwFNMJIVKQ.png" /><figcaption><strong>listings.csv, calender.csv,reviews.csv</strong></figcaption></figure><ul><li><strong>listings.csv</strong>: Detailed Listings data for Seattle. This contains listing ids, details about the listing, details about their host, the location and the price for each listing.</li><li><strong>calender.csv</strong>: Detailed Calendar Data for listings in Seattle. Contains availability</li><li><strong>reviews.csv</strong>: including unique id for each reviewer and detailed comments.</li></ul><h3>DATA PREPARATION</h3><p>This part of the methodology focuses on preprocessing the data, transforming the data to a more usable form and filter out the irrelevant data. The preprocessing includes dealing with missing values, currency columns, and categorical columns.</p><p>We remove the $ symbol from the prices, create dummy values for the categorical data and drop the columns that are not relevant to our business requirements.</p><h3>DATA ANALYSIS</h3><p>We analyse the data to start understanding our business questions.</p><h4>How does listing availability and price change over the course of the year in Seattle?</h4><p>We look at the availability and price and aggregate the data on date. This helps us to analyse the availability and price trends throughout the year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v99yvCQB_Mnz9wFaALRTEw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lTc8I5OcGt8f0_lq1AGecg.png" /><figcaption>Availability and Price by date</figcaption></figure><p>For Seattle, availability climbs steadily from Jan — April, then has a sudden dip, then climbs again from April to July, drops again, and then finally climbs until the end of the year and if the same pattern is followed as compared to previous year, it will dip sharply again.</p><p>The price has a weekly pattern as well as seasonal pattern. The price increases till July, keeps constant between July and September and drops from January to September.</p><h4>Which neighbourhood has the most listings? Which neighbourhoods have the highest listing prices?</h4><p>We look at which neighbourhood has maximum number of listings posted in Airbnb. We look at how prices vary with neighbourhoods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cH8uMx3fIUZ_ZAh9cZcmyQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I_Drt9wPapX5NODAwCVDWQ.png" /><figcaption>Listings and Prices by Neighbourhood</figcaption></figure><p>We can observe that the Capitol hill and Downtown area has maximum number of listings.</p><p>Magnolia, Queen Anne and Downtown have the highest listing prices. Knowing the level of affluence of neighbourhoods beforehand would help one to hypothesise which neighbourhoods have the highest listing prices.</p><p>We can also observe that there is a direct correlation between number of listings and the prices in the area.</p><p>To answer the third question, We can build a Machine Learning model to determine the price of a listing.</p><h3>DATA MODELING</h3><p>We can predict a <em>Linear Regression model </em>for predicting the price of a listing. The coefficients of the model will give a good idea of what factors affect pricing the most.</p><h4>Which features affect the Pricing of a property the most?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*eAAkLFLFtszC2qdzwQ_T3A.png" /><figcaption>Coefficients of different features sorted in descending order</figcaption></figure><p>On analysing the coefficients, we can see that the prices are higher in places that accommodates more people and has more number of bedrooms.</p><p>We can also see how certain property types are cheaper.</p><p>The model also gives us an idea how different zip codes and streets have higher/lower prices.</p><p>The data also shows that the listings that have higher prices receive more reviews every month.</p><p>We can see certain abnormalities in the data that may not make sense. We can fix it by going back to the pre processing step and further transform the data to fix this abnormalities or analyse it further to make sense of this abnormalities.</p><h3>EVALUATION AND DEPLOYMENT</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yw8XOqT18fa9VxyRyRHTGQ.png" /><figcaption>MSE and r2 score for the LR model</figcaption></figure><p>There are many model evaluation technique like Accuracy, Sensitivity, Specificity, F-Score, AUC, R-Sq, RMSE (Root Mean Square Error) and the list keeps going. Which evaluation metrics to choose completely depends on the evaluation criteria, final model desired outcome , business requirement and the model algorithm used.</p><p>Once the model is evaluated properly, it is deployed to production.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2295ca6f393a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>