Skip to main content

Capstone Project - The Battle of Neighborhoods

 Capstone Project - The Battle of Neighborhoods 


1. Introduction:


Having good neighbors is important because it makes our life in a neighborhood safer, happier and more fun. We also tend to have more peace of mind. Although we can choose our friends but not our neighbors, we must remember that we get what we give.

This Capstone Project is to help people in exploring better facilities around their neighborhood. It will help people making decision on selecting their neighborhood out of numbers of other neighborhoods in Scarborough, Toronto.

Lots of people are migrating to various states of Canada and needed lots of research for good housing prices and reupdated schools for their children. This project is for those people who are looking for better neighborhoods. For ease of accessing to Café, School, Super market, medical shops, grocery shops, mall, theatre, hospital, like minded people, etc.

This Capstone Project aim to create an analysis of features for a people migrating to Scarborough to search a best neighborhood as a comparative analysis between neighborhoods. The features include median housing price and better school according to ratings, crime rates of that particular area, road connectivity, weather conditions, good management for emergency, water resources both fresh and waste water and excrement conveyed in sewers and recreational facilities.

It will help people to get awareness of the area and neighborhood before moving to a new city, state, country or place for their work or to start a new fresh life.

2. Process of Data  

Data collection is not easy. It takes time and a lot of effort. Sadly, Kaggle data sets are not always sufficient. Therefore, one must create their own data sets.

We will need data about different venues in different neighborhoods of that specific borough.

In order to gain that information we will use “Foursquare” locational information. Foursquare is a location data provider with information about all manner of venues and events within an area of interest. Such information includes venue names, locations, menus and even photos. As such, the foursquare location platform will be used as the sole data source since all the stated required information can be obtained through the API.

After finding the list of neighborhoods, we then connect to the Foursquare API to gather information about venues inside each and every neighborhood. For each neighborhood, we have chosen the radius to be 100 meter.

The data retrieved from Foursquare contained information of venues within a specified distance of the longitude and latitude of the postcodes. The information obtained per venue as follows:

1. Neighborhood

2. Neighborhood Latitude

3. Neighborhood Longitude

4. Venue

5. Name of the venue e.g. the name of a store or restaurant

6. Venue Latitude

7. Venue Longitude

8. Venue Category

3. Methodology  Process

                                            Clustering Approach:

To compare the similarities of two cities, we decided to explore neighborhoods, segment them, and group them into clusters to find similar neighborhoods in a big city like New York and Toronto. To be able to do that, we need to cluster data which is a form of unsupervised machine learning: k-means clustering algorithm.

                                                    Work Flow:

Using credentials of Foursquare API features of near-by places of the neighborhoods would be mined. Due to http request limitations the number of places per neighborhood parameter would reasonably be set to 100 and the radius parameter would be set to 500.

would be set to 500.

4.Process of  Results 


The Location:

Scarborough is a popular destination for new immigrants in Canada to reside. As a result, it is one of the most diverse and multicultural areas in the Greater Toronto Area, being home to various religious groups and places of worship. Although immigration has become a hot topic over the past few years with more governments seeking more restrictions on immigrants and refugees, the general trend of immigration into Canada has been one of on the rise.

Foursquare API:

This Capstone project have used Four-square API as its prime data gathering source as it has a database of millions of places, especially their places API which provides the ability to perform location search, location sharing and details about a business.

5.Discussion 

                                        Problem Which Tried to Solve:

The major purpose of this project, is to suggest a better neighborhood in a new city for the person who are shifting there. Social presence in society in terms of like minded people. Connectivity to the airport, bus stand, city center, markets and other daily needs things nearby.


  • 6. Conclusion 

In this Capstone project, using k-means cluster algorithm I separated the neighborhood into 10(Ten) different clusters and for 103 different latitude and longitude from dataset, which have very-similar neighborhoods around them. Using the charts above results presented to a particular neighborhood based on average house prices and school rating have been made.

I feel rewarded with the efforts and believe this course with all the topics covered is well worthy of appreciation.
This project has shown me a practical application to resolve a real situation that has impacting personal and financial impact using Data Science tools.
The mapping with Folium is a very powerful technique to consolidate information and make the analysis and decision better with confidence.



7
.Plots




Comments

Popular posts from this blog

MOTORCYCLE ENGINE CLICK ON BELOW LINK TO WATCH A VIDEO  HOW ENGINE WORKS? A  Honda Super Cub  engine. The most popular motorcycle in history, with over 60 million produced. A  motorcycle engine  is an engine that powers a  motorcycle . Motorcycle engines are typically  two-stroke  or  four-stroke   internal combustion engines , but other engine types, such as  Wankels  and  electric motors , have been used in small numbers. Although some  mopeds , such as the  VéloSoleX , had friction drive to the front tire, a motorcycle engine drives the rear wheel, power being sent to the driven wheel by belt, chain or shaft. Most engines have a gearbox with up to six ratios. Reverse gear is occasionally found on heavy  tourers , for example the  Honda GL1600 , and  sidecar  motorcycles, such as the  Ural . The rider changes gears on most motorcycles using a foot-pedal and manual clutch, but early models had hand-levers. More recently, some have automatic or semi-automatic gear