<?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 Manas Sinha on Medium]]></title>
        <description><![CDATA[Stories by Manas Sinha on Medium]]></description>
        <link>https://medium.com/@manassinha09?source=rss-c2dbe1e633bd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Manas Sinha on Medium</title>
            <link>https://medium.com/@manassinha09?source=rss-c2dbe1e633bd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 14:30:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@manassinha09/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[Exploring Food Taste Similarity in Bangalore Neighborhoods]]></title>
            <link>https://medium.com/analytics-vidhya/exploring-food-taste-similarity-in-bangalore-neighborhoods-e81929f3d9bf?source=rss-c2dbe1e633bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/e81929f3d9bf</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Manas Sinha]]></dc:creator>
            <pubDate>Thu, 16 Apr 2020 19:40:00 GMT</pubDate>
            <atom:updated>2020-04-21T17:37:21.849Z</atom:updated>
            <content:encoded><![CDATA[<p>Using k-means clustering we try to find out which neighborhoods in Bangalore have a similar food taste.</p><h3>Problem</h3><p>Bangalore is the third most populous city in India, and is home to many technology companies. According to <a href="https://www.thehindu.com/news/cities/bangalore/migrants-constitute-42-of-bengalurus-population/article28734588.ece">this article</a>, more than 42% of Bangalore’s population consists of migrants which makes the city’s population quite diverse.</p><p>Undoubtedly when there is such a large quantity of migrants, there will be a lot of diversity in the food people of the city eat. The idea of this project is to categorically segment the neighborhoods of Bangalore into major clusters and examine their cuisines. A desirable intention is to examine the neighborhood cluster’s food habits and taste. Further examination might reveal if food has any relationship with the diversity of a neighborhood.</p><p>Stakeholders would be the ones who are interested to use this quantifiable analysis to understand the distribution of different cultures and cuisines over one of the the most diverse cities in India — Bangalore. This project can also be utilized by a new food vendor who is willing to open his or her restaurant. Or by a government authority to examine and study their city’s culture diversity better.</p><h3>2. Data</h3><p>The following data sources are used to implement our project:</p><ol><li>Bangalore Neighborhoods : Which provides us with geocoded data for the city of Bangalore. The link to this database can be found <a href="https://www.kaggle.com/rmenon1998/bangalore-neighborhoods">here</a></li><li>Foursquare API:</li></ol><p>Link: <a href="https://developer.foursquare.com/docs">https://developer.foursquare.com/docs</a></p><p>Description: Foursquare API, a location data provider, will be used to make RESTful API calls to retrieve data about venues in different neighborhoods. This is the link to Foursquare Venue Category Hierarchy. Venues retrieved from all the neighborhoods are categorized broadly into “Arts &amp; Entertainment”, “College &amp; University”, “Event”, “Food”, “Nightlife Spot”, “Outdoors &amp; Recreation”, etc. An extract of an API call is as follows:</p><p>‘categories’: [{‘id’: ‘4bf58dd8d48988d110941735’,<br> ‘name’: ‘Italian Restaurant’,<br> ‘pluralName’: ‘Italian Restaurants’,<br> ‘shortName’: ‘Italian’,<br> ‘icon’: {‘prefix’: ‘<a href="https://ss3.4sqi.net/img/categories_v2/food/italian_&#39;">https://ss3.4sqi.net/img/categories_v2/food/italian_&#39;</a>,<br> ‘suffix’: ‘.png’},<br> ‘primary’: True}],<br> ‘verified’: False,<br> ‘stats’: {‘tipCount’: 17},<br> ‘url’: ‘<a href="http://eccorestaurantny.com&/#39;">http://eccorestaurantny.com&#39;</a>,<br> ‘price’: {‘tier’: 4, ‘message’: ‘Very Expensive’, ‘currency’</p><h3>The Data-set:</h3><p>Our data-set contains the geo-location data for the city of Bangalore. It gives the latitudes and longitudes for each neighborhood in Bangalore.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*C1EFvQAlBn1gqPjpZHrVBA.png" /><figcaption>How our data-set looks when put into a dataframe</figcaption></figure><p>The curated dataframe is then used to visualize by creating a map of Bangalore with neighborhoods superimposed on top. The following depiction is a map generated using python ‘folium’ library.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wlh89yY92Ixpa7P-AjULoA.png" /></figure><h3>Exploratory Data Analysis</h3><p>The merged data-frame ‘blr_venues’ has all the required information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WReA-k7QhER16dEMAJXGhw.png" /></figure><p>Now, it is important to find out how many unique categories can be curated from all the returned venues.</p><p>After performing <strong>Feature Engineering</strong> on the data, we analyzed it further and found the <strong>top 15 categories</strong> of restaurants in Bangalore.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*YNiVXuxkRst5-VSoFYebkA.png" /></figure><p>Then we visualized this finding further by checking what type of restaurants were popular in different areas:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0X3Mq5nJ2K_I6m71aWkqrA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F5z85v0rotC6quNOSufV2Q.png" /></figure><h3>Applying Machine Learning : K-means</h3><p>Now we applied the k-means machine learning algorithm(<strong>we set k=6</strong>) to cluster our neighborhoods on the basis of their food habits similarity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*HYAJow25-nO_uje_oQXNzQ.png" /></figure><p>We visualized this further by using <strong>folium </strong>t<strong>o display the different clusters.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pi4poNwgkGjCY27bmbUMSw.png" /><figcaption>Different Neighborhoods Clustered on the basis of Food Taste</figcaption></figure><h3>Results</h3><p>We found the following results after running the ML algorithm for different clusters:</p><h3>Cluster 0:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fEWepZoB2mTM_zZlQIOrEg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*bdlysKNVV0orMcXDQo4C-w.png" /></figure><p>For this cluster we find that <strong><em>Fast Food Restaurants </em>are the most popular </strong>followed by Pizza joints, Yemeni Restaurants and Andhra Restaurants.</p><h3>Cluster 1:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F-Cb0PWBxWKnIgnOBMVmgQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*N6lxJYEsrJ5-clk0j7Wqtw.png" /></figure><p>For this cluster we find that <strong><em>Pizza Joints </em>are the most popular </strong>followed by Halal Restaurants.</p><h3>Cluster 2:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m0BX__qoIjqpewnJQajCNQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*lcVTFLpo2Q4wIJ4IZ2WQKA.png" /></figure><p>For this cluster we find that <strong><em>Indian Restaurants </em>are the most popular </strong>followed by Yemeni Restaurants.</p><h3>Cluster 3:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QT-l6MwNiRnTyjJ2Zv6e_A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/994/1*svR6wgGkHZifQkN52m-hEg.png" /></figure><p>For this cluster we find that <strong><em>Indian Restaurants </em>are the most popular </strong>followed by Fast Food Restaurants.</p><h3>Cluster 4:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hwB2Yc0UDdVqMkXsww2KQw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*hui20pq1poVoZYGLTViMtg.png" /></figure><p>For this cluster we find that <strong><em>Fast Food Restaurants </em>are the most popular </strong>followed by Yemeni Restaurants.</p><h3>Cluster 5:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5LDQGvtwYnbrH5fMG74lww.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*LtBTc_ZW_O50F3vDGRVJVA.png" /></figure><p>For this cluster we find that <strong><em>Vegetarian/Vegan Restaurants </em>are the most popular </strong>followed by Karnataka Restaurants.</p><h3>Conclusion</h3><p>One application of <em>Clustering Algorithm</em>, k-Means or others, to a multi-dimensional data-set, a very inquisitive result can be curated which helps to understand and visualize the data. The neighborhoods of Bangalore were very briefly segmented into 6 clusters and upon analysis, it was possible to rename them basis upon the categories of venues in and around that neighborhood.</p><p>Using data visualization techniques after doing feature engineering on the data we find the different tastes of different neighborhood and how some of the neighborhoods are quite alike despite having a very diverse population.</p><p><strong>Link to the Jupyter Notebook can be found </strong><a href="https://nbviewer.jupyter.org/github/manassinha09/Applied-DataScience-Capstone/blob/master/Final%20Capstone%20Project/Capstone_Project_.ipynb"><strong>here</strong></a></p><h4>My Contact Details:</h4><p><a href="https://www.linkedin.com/in/manassinha09/">LinkedIn</a></p><p>Note: Further changes will be made to the article to make it more simple to understand.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e81929f3d9bf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/exploring-food-taste-similarity-in-bangalore-neighborhoods-e81929f3d9bf">Exploring Food Taste Similarity in Bangalore Neighborhoods</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can Ander Herrera be the next Manchester United Captain?]]></title>
            <link>https://medium.com/@manassinha09/can-ander-herrera-be-the-next-manchester-united-captain-d74fabb844cd?source=rss-c2dbe1e633bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/d74fabb844cd</guid>
            <category><![CDATA[manchester-united]]></category>
            <category><![CDATA[football]]></category>
            <category><![CDATA[sports]]></category>
            <category><![CDATA[premier-league]]></category>
            <category><![CDATA[soccer]]></category>
            <dc:creator><![CDATA[Manas Sinha]]></dc:creator>
            <pubDate>Tue, 18 Apr 2017 18:35:13 GMT</pubDate>
            <atom:updated>2017-04-18T18:40:26.537Z</atom:updated>
            <content:encoded><![CDATA[<p>On Sunday, Manchester United beat Chelsea 2–0, with many people expressing that it might have been the best performance post the Ferguson era, and that Mourinho outclassed Antonio Conte and re-established his status as the ‘mastermind’ of big matches.</p><p>His biggest plan was to make Ander Herrera mark Eden Hazard throughout the game and the Basque midfielder didn’t let the Portugese down as he took Hazard out of the game making the Chelsea attack toothless which could be seen by the fact that they had no shots on target. The last time that happened was also against Manchester United in 2007.</p><p>But that’s not all Herrera did, like a leader he marshalled the players on the pitch, having a go at them if they were not performing their jobs and not allowing people to switch off mid-way through the match. He was as instrumental in defense as he was in attack.For not even a moment did he leave Hazard and when he did he was made aware of that by the manager(happened only once throughout the match) in turn marking the Belgian out of the match.</p><p>He provided the through ball for Rashford leaving the Chelsea back three in a whole lot of confusion and also managed to come up with a goal a few minutes after half time. He is probably one of the most passionate players at the club, reminding me of what it feels like to be a Manchester United fan and he appreciates every second he spends at the club.</p><p>With the Carrick extention looking a lot less likely as time keeps passing, and Wayne Rooney’s future at Manchester United looking more bleak than ever, it would be wise for Mourinho to think of a new captain for next season and think pretty hard at that because his last couple of captaining choices haven’t been as some would say “fan favourites”.</p><p>There are a couple of choices such as Antonio Valencia who has been at the club for a long time and has been giving consistent performances at right back, but I do not think of him as much of a leader. The other options are Juan Mata who is as likely to stay at the club as Carrick with reports suggesting that he could be paving way for Benfica younster Talisca who is currently on loan at Besiktas.</p><p>There are some other choices such as Pogba, De Gea , Rojo but they don’t seem as likely because they are still developing into leaders.</p><p>So Ander Herrera seems the obvious choice as he has the talent, the passion and the guile to guide this club to their 21st Premier League title.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d74fabb844cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>