Keywords = یادگیری ماشین
Number of Articles: 2
Classification and extraction of architectural plan features using machine learning methods; Case study: Traditional houses of Bandar Kong

Classification and extraction of architectural plan features using machine learning methods; Case study: Traditional houses of Bandar Kong

Volume 15, Issue 1, September 2024, Pages 161-174

https://doi.org/10.30475/isau.2024.359546.1970

Mona Mohtaj, Mansoureh Tahbaz, Atefeh Dehghan Touranposhti

Abstract Extended Abstract
Background and Objectives: The hot and humid region of Iran experiences extremely hot summers with high humidity, making it one of the most challenging climates globally. Analyzing the features of vernacular houses in these areas can offer valuable insights for modern housing design. One of the key challenges researchers encounter in architectural typology studies is selecting appropriate case studies. Bandar Kong, a coastal city along the Persian Gulf, features traditional houses with four main components: windcatchers, Sabat (shaded walkways), main rooms (living areas), and yards, along with non-living spaces. Understanding the organization of these elements can help develop a typology of vernacular houses in Bandar Kong.
Methods: One of the key applications of machine learning methods recently employed in architectural research is the measurement of similarity in architectural images. Categorizing and describing architectural features within each category is essential for identifying architectural types. Previous studies have utilized cosine similarity for measuring the similarity of architectural plans. Cosine similarity measurement criterion is particularly effective for evaluating sparse vectors and is commonly used in positive spaces with a range of [0,1]. Due to the diverse nature of architectural data, this method has proven effective for evaluating plan image similarities. The aim of this research is to apply machine learning techniques to select case studies and cluster the houses of Bandar Kong based on the shape and arrangement of windcatchers, sabat, courtyards, and living spaces. For this, Anaconda version 3.9 and Jupiter 6.4.5 were utilized. The cosine distance algorithm was employed to measure similarity in terms of shape and spatial relationships. The hierarchical algorithm, using the average linkage method, was used to extract and categorize the features of each plan.
Findings: According to the analysis, the architectural plans of Bandar Kong houses can be divided in 3 different clusters. Scatter diagrams of each cluster can shows characteristics of each cluster. According to the scatter diagram, the length, width, and height consistently fall within the ranges of 2.5-3.5 meters for length and width, and 9-9.5 meters for height. By analyzing the scatter diagram of the characteristics of each cluster, the following results have been extracted. In the first cluster, the windcatcher is located in the east, and the sabbat or courtyard is located on the west side of it. The main rooms are mostly located on the north side and the service spaces are located on the east and west sides. In the second cluster, the windcatcher is centrally placed on the west side of the house. Here, the plan layout tends to extend along a north-south axis, with living rooms positioned on both the west and east sides. In the third cluster, the windcatcher is located on the west side of the plan. In this category, the extension of the plans is mostly east-west. The northern side of the windcatcher typically features the Gatieh room, and in most plans in this group, the wind room connects to either the northern room or the Gatieh. According to the similarity measurement, the plans of Younesi, Golbat and Karchi houses have the highest shape similarity and spatial relationships with other plans.
Conclusion: Nowadays, with the growing volume of data and the complexity of data analysis, software solutions are increasingly used across various fields, including architecture, to minimize errors. One major challenge in architectural research is the classification and selection of case studies for analyzing architectural types. In this study, after evaluating the shape similarity and spatial relationships of architectural plans, the Younesi, Karchi, and Golbat houses were selected as case studies due to their highest similarity in both shape and spatial relations compared to other plans. Using a hierarchical classification method with average linkage, the plans were grouped into three main categories. The defining characteristics of each category were extracted from the charts and compared with the corresponding case study from each group. As a result, the Karchi house represents the first category, the Golbat house represents the second, and the Younesi house represents the third, with their respective features aligning closely with the extracted characteristics of each category.

A predictive model for analyzing users’ perception of the cities based on the Twitter; Case studies: Iran metropolitans

A predictive model for analyzing users’ perception of the cities based on the Twitter; Case studies: Iran metropolitans

Volume 14, Issue 2, December 2023, Pages 301-317

https://doi.org/10.30475/isau.2023.337531.1905

Maryam Mohammadi

Abstract Extended Abstract Background and Objectives: The examination of users’ emotions through social media has developed into an impactful domain across diverse scientific fields, appealing not only to business proprietors and politicians but also to general users. In the meantime, this field has infiltrated urban studies and has been used by urban planners and designers due to its methodology; whether in the form of research that aims solely at emotion analysis or as an integrated layer within broader research endeavors. The aim of this article is to explain this field in the analysis of urban emotions as modeling methods in order to identify the position of this field in urban studies by examining the importance of emotion and the methods of its study in the city.
Methods: This research used the supervised machine learning approach and analyzed the sentiments of tweets related to eight major cities in Iran. The data collection consists of 930 tweets that were collected in a period of 10 years from 2011 to 2022. Initially, over 5000 tweets were collected, and during the tagging process, 80% of them were excluded due to their limited relevance to the city, emphasizing tweets related to urban space. The name of cities and tourist areas were searched to establish a balance between positive and negative data. The tweets are downloaded through Twitter streaming API and the metadata along with the text, including the number of retweets, number of likes and tweet ID, language and location. The data sets have been used for machine training after standard and normalization steps. In this research, the ratio of training data to testing data is 80 to 20. According to the supervised approach, the data were labeled by the researcher with three negative, neutral, and positive labels, and where the researcher had doubts, the opinions of two other experts were used. In general, both machine learning and deep learning have been used. In order to check the validity of the model and to test it, the confusion matrix has been used.
Findings: Firstly, the machine was trained based on 3 algorithms that were used in many research related to text sentiment analysis. Based on the test results presented on the confusion matrix, the accuracy of the trained machine in determining the polarity of the text in three polarities was defined. Among the three used algorithms, support vector machine and random forest have performed better than other algorithms. Given that the model’s highest accuracy was approximately 70%, deep learning was employed to train the machine in order to assess the potential for achieving improved results. In the following, machine learning with a convolutional neural network algorithm and a hybrid algorithm were considered. At first, the machine was trained using a convolutional neural network. The results of the accuracy of the model showed that the model is predictable by up to 75%. Next, an attempt was made to improve the predictive accuracy of the model by writing a hybrid algorithm based on the convolutional neural network. The architecture of this network is such that two types of data are considered as input to the neural network, text data and other features in the data set, including location, number of retweets, number of likes, city codes and searched content (as metadata). Therefore, based on this input and output (classification based on the polarity of the text by the researcher), the machine was trained and finally tested. As depicted in the structure of the hybrid algorithm, the significance of the text is assigned a weight of 90%, while the importance of metadata is weighted 10%. It should be noted that different percentages were given to the importance of each of the inputs and the predictability accuracy of the model was checked. As the model test results show, the designed algorithm has improved the predictability of the machine by 4%.
Conclusion: In this article, sentiment analysis based on model-oriented methods - machine learning and deep learning - was scrutinized, and therefore, while comparing it with traditional methods and lexical methods, the process of urban sentiment analysis was developed and the different levels of the process were described in detail. As stated, these methods have many advantages and can be useful for analyzing the current situation or predicting different urban projects. Besides, compared to traditional methods, they are less expensive, faster and have sufficient accuracy. According to the appropriate capability of the trained machine, this machine can predict the polarity of the data. This means that by using the text data published in social networks, it is possible to analyze the feelings of users. Certainly, when these data are geodatabases, there is also the capability to geolocate emotions. This approach allows for a swift, accurate, and cost-effective general assessment of city spaces. By identifying areas where users perceive negative emotions, the reasons can be investigated and addressed accordingly. This research has been innovative in two aspects, 1) preparing a collection of data related to the sentiment of Persian language users related to the city and 2) analyzing urban sentiment in the country using machine learning in the field of urban planning and design. Some limitations of this research include limited access to all data published on Twitter using Twitter streaming API; the small amount of available and relevant data; low use of Twitter by users due to filtering; and the unavailability of financial resources to prepare and use a larger set of data.