Young researcher from Kaunas University of Technology (KTU), Lithuania – Domantas Didziapetris – created an artificial intelligence based solution for measuring the emotional climate in Manhattan Island, New York. After carrying out sentiment analysis of over 36 thousand tweets, he created a scale which indicates how the residents and visitors rate emotional climate of the different Manhattan neighbourhoods.
Domantas Didžiapetris
Domantas Didžiapetris

New York is one of the world’s most-visited cities. According to the official data, in 2018, New York City welcomed a record 65.2 million visitors, and the numbers are constantly growing. Manhattan, the most densely populated of the five boroughs of New York City, has the population of 2.7 million, and attracts almost 15 million tourists annually.

“Manhattan is the heart of New York City, bursting with life. And what could be a better place to test a new methodology if not the city which literally never sleeps?”, says Domantas Didziapetris from KTU Faculty of Architecture and Civil Engineering.

According to the young researcher, urban analysis methods often still use paper-based or online surveys. Yet they are not always reliable, and the results may not represent the actual situation.

“One glance at a social media platform may provide more insight on actual situation than an in-depth questionnaire. Moreover, the opinions expressed here are far more expressive and impulsive, as people tend to express joy or disappointment online the very moment they feel it. One of the best platforms to gather such data is Twitter as it limits the number of characters in a message, it is easy to depersonalize the data and the agreement to share the data is already granted once a user signs up to Twitter”, explains Didziapetris.

A couple of IT programs were written in order to process the data. Firstly, Python was used to compile a software that would gather the tweets in real time. In the period of around 4 months, more than 1 million tweets were collected, 65.447 of them had geographical coordinates. After deleting all the entries, which were from outside of Manhattan, 36.543 tweets were analysed further, classified by the community district boundaries as identified in New York City Open Data portal.

Secondly, the researcher created a program for sentiment analysis of the tweets. Two criteria were considered – subjectivity and polarity. The subjectivity indicates the factual content of the tweet and the polarity – its emotional tone. Both of the criteria can be rated from -1 to +1.

“The higher the subjectivity criteria, the less reliable is the entry. The closer the polarity is to -1, the less positive is the emotional tone of the tweet”, explains Didziapetris.

The sentiment analysis results were projected on the map, and, according to the young researcher, this clearly revealed which neighbourhoods are, so to speak, happy, and which ones – not so much. Upper West Side had the least favourable emotional climate in Manhattan.

Domantas Didžiapetris
Domantas Didžiapetris

Upper West Side is still too big of an area to draw conclusions; therefore, it was necessary to pinpoint the actual location which would need reviewing and urban development.

To complete this task, the “Urban Network Analysis Toolbox for ArcGIS”, a toolkit created by MIT in 2011, for urban network analysis was used. One of its methods – betweenness – is typically used to calculate and to estimate the potential of passer-by’s in the network. The more reachable the area is, the warmer (red) is its colour on the map.

© Asmeninis albumas

“The less reachable the area, the more abandoned it is, and the abandoned areas are usually more prone to criminal activity. After urban network analysis, one of the areas in the neighbourhood looked especially suspicious – after the visualization it turned blue and green. My hypothesis was proven right after I received the photos from the area. Simply put, it lacks safety. My supervisor, who took the photos, described the common feeling in the area as ‘unsafe’, ‘not cozy’, ‘encouraging to leave as soon as possible’, ‘old’. The really interesting thing is that this territory is nearby active and reachable buildings in the East, such as Lincoln Center, The Juilliard School”, says Didziapetris.

The research, which was presented in Domantas Didziapetris Master’s Project, was awarded by Hnit-Baltic company, Esri Inc. representative in the Baltic States. Domantas Didziapetris won an opportunity to presesnt his research to the international 18 thousand people audience of Esri User Conference 2019, which will take place in San Diego, California in July.

It is forbidden to copy the text of this publication without a written permission from DELFI.

EU adopts forest strategy to protect old forests, plant 3 billion new trees

The European Union has endorsed a new Forest Strategy for 2030 that sets out plans to protect old...

Florian Rabitz. Why do the origins of the coronavirus matter?

From the beginning of the current pandemic, the predominant scientific hypothesis has been that the...

ESA receives 80 astronaut applications from Lithuania

80 candidates from Lithuania, including 62 men and 18 women, are partaking in the European Space...

XI World Lithuanian Sports Games to take place in mid-July next year

The XI World Lithuanian Sports Games, which had been scheduled to take place this July, have been...

How tourism will look like in Lithuania this summer

“It is neither easy to forecast the tourism growth this year nor how it will be during this summer...

Top news

Border guards allowed to use mental and physical force against migrants (2)

A document signed by Lithuanian Interior Minister Agne Bilotaite on Monday evening authorized border...

Tens of irregular migrants detained and turned back at border overnight

Lithuanian border officials last night detained tens of irregular migrants at the border and turned...

394 new COVID-19 cases

On Monday, 394 new COVID-19 cases were recorded in Lithuania. In total, the country has already...

Migrants crisis: unrest starts at Rudninku training ground (1)

After the heavy rain on Monday night, illegal migrants that are placed at Rudninkų training ground...

Reconstruction of Palanga Airport: main works to begin in September

The European Commission (EC) has approved a public support measure for Palanga Airport in Lithuania...