원시데이터 수집 시스템
선정목록으로

Predicting the clothing insulation through machine learning algorithms: A comparative analysis and a practical approach

관련 패션 · (24) 패션(코오롱FnC)

기본 정보

저자
  1. Pablo Aparicio-Ruiz — Grupo de Ingeniería de Organización, Escuela Técnica Superior de Ingeniería, Universidad de Sevilla, Camino de los Descubrimientos S/N, 41092, Seville, Spain
  2. Elena Barbadilla-Martín — Grupo de Ingeniería de Organización, Escuela Técnica Superior de Ingeniería, Universidad de Sevilla, Camino de los Descubrimientos S/N, 41092, Seville, Spain
  3. José Guadix Martín — Grupo de Ingeniería de Organización, Escuela Técnica Superior de Ingeniería, Universidad de Sevilla, Camino de los Descubrimientos S/N, 41092, Seville, Spain
  4. Jesús Muñuzuri — Grupo de Ingeniería de Organización, Escuela Técnica Superior de Ingeniería, Universidad de Sevilla, Camino de los Descubrimientos S/N, 41092, Seville, Spain
DOI
10.1007/s12273-024-1114-9
저널
Building Simulation
발행년도
2024
발행기관
Springer Science+Business Media
피인용수
8
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s12273-024-1114-9
토픽
Textile materials and evaluations
OpenAlex ID
W4392882836

평가 내용

관련도
관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '패션 > 패션(코오롱FnC)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract Since indoor clothing insulation is a key element in thermal comfort models, the aim of the present study is proposing an approach for predicting it, which could assist the occupants of a building in terms of recommendations regarding their ensemble. For that, a systematic analysis of input variables is exposed, and 13 regression and 12 classification machine learning algorithms were developed and compared. The results are based on data from 3352 questionnaires and 21 input variables from a field study in mixed-mode office buildings in Spain. Outdoor temperature at 6 a.m., indoor air temperature, indoor relative humidity, comfort temperature and gender were the most relevant features for predicting clothing insulation. When comparing machine learning algorithms, decision tree-based algorithms with Boosting techniques achieved the best performance. The proposed model provides an efficient method for forecasting the clothing insulation level and its application would entail optimising thermal comfort and energy efficiency.

본문 55,309자

본문 펼치기
Since indoor clothing insulation is a key element in thermal comfort models, the aim of the present study is proposing an approach for predicting it, which could assist the occupants of a building in terms of recommendations regarding their ensemble.For that, a systematic analysis of input variables is exposed, and 13 regression and 12 classification machine learning algorithms were developed and compared.The results are based on data from 3352 questionnaires and 21 input variables from a field study in mixed-mode office buildings in Spain.Outdoor temperature at 6 a.m., indoor air temperature, indoor relative humidity, comfort temperature and gender were the most relevant features for predicting clothing insulation.When comparing machine learning algorithms, decision tree-based algorithms with Boosting techniques achieved the best performance.The proposed model provides an efficient method for forecasting the clothing insulation level and its application would entail optimising thermal comfort and energy efficiency. Introduction The clothing insulation level, standardized by clo, is used in thermal comfort models to represent the insulation of complete clothing ensembles when investigating thermal comfort situations and considering different metabolic rates, indoor and outdoor conditions, as well as it can also be applied when evaluating the thermal stress (ISO 2009a). Introduction The clo unit was introduced in 1941 by Gagge et al. (1941) to define the relative resistance to heat transfer by clothing.Since clothing insulation level is a variable related to thermal stress and comfort, it is a feature that influences the design process of buildings, and even ISO 7730 (ISO 2006) andEN 16798-1 (EN 2020) define standardized values for it. Introduction Currently, the ISO 7730 (ISO 2006) is used in the determination and interpretation of thermal comfort through the Predicted Mean Vote Model and the Predicted Percentage of thermally Dissatisfied occupants, where the clothing insulation level is an input parameter.EN 16798-1 (EN 2020) and ASHRAE Standard 55 (ANSI/ASHRAE 2020) include the adaptive approach, where the occupants are freely adapt to the environment through adaptation processes, which were classified by de Dear and Brager (1998) as physiological, psychological and behavioural, considering in the latter clothing changes.Additionally, ISO 11079 (ISO 2009b) considers the determination and interpretation of cold stress and defines the variable required clothing insulation (IREQ). Introduction Therefore, the clothing insulation level is a factor that is present, both in the static thermal comfort approach, and in the adaptive thermal comfort approach.In the first one, the clothing insulation level is a quantitative factor to model occupants' thermal comfort and in the adaptive comfort model, it is used to explain occupants' behaviour and adaptive actions.Moreover, it has also been studied from the perspective of the heat and mass transfer from human skin to the environment, proposing different models based on the thermophysiological response (Joshi et al. 2019;Joshi et al. 2022). Introduction The importance of the clothing level lies, not only in its relationship with thermal comfort, but it is also a decisive factor in individualized thermal comfort models and in energy consumption.Despite its relevance, the prediction of the clothing insulation level is a challenging task, since it depends on multiple factors that are interdependent and can significantly vary between individuals and situations considering environmental factors (temperature, relative humidity or air velocity), gender, cultural components or other personal factors.The same clothing insulation level may not provide the same level of thermal comfort in different environmental conditions, therefore, it is a challenging task to develop a predictive model that accounts for all these factors and their interactions.Typically, a consistent clo level (0.5 clo in summer, 1.0 clo in winter) is usually considered on thermal comfort indices, aligning with the guidelines ISO 7730 (ISO 2006) or EN 16798-1 (EN 2020), which might not represent the reality of human clothing behaviour and could lead to overheating and overcooling situations.So, there is a need to improve knowledge and understanding of human behaviour in terms of an optimal selection of their ensemble and the possibility of applying predictive models. Introduction Therefore, the clothing insulation level, would be helpful in the implementation of adaptive thermal comfort, e.g., by means of user assistance systems, that would improve the user's comfort and the energy efficiency of a building.Recommendations regarding clothing insulation level would be useful, for example, in terms of the dress code, that is, it could lead to relaxation of the clothing conventions of the workers in some companies according to the machine learning (ML) model. Introduction Previous studies (Humphreys et al. 2013) have also highlighted the importance of between-day clothing changes, showing that predictions regarding clothing insulation levels would lead to improve adaptive actions of the occupants by adjusting their clothing to the indoor environment, before entering the building or once inside.Moreover, in the work carried out by Cui and Watanabe (2014), the "Cool Biz" and "Warm Biz" initiative is exposed as a potential measure to conditioning systems load reduction.Therefore, a model that would predict how building occupants change clothes would greatly improve conditioning systems efficiency and energy savings.Additionally, the possibility of developing a system for recommending an optimal clothing ensemble is feasible thanks to studies such as the ones carried out by Li and Chen (2021) and Liu et al. (2022a). Introduction For that, the present work focuses on the study of the indoor clothing insulation levels following the research objectives explained below:  Analysing different machine learning techniques and carrying out a comparative analysis between them, regarding their performance for predicting clothing level. Proposing an approach to apply machine learning techniques for predicting the clothing insulation of the users of a building, which could also be useful for giving them advice in order to avoid the overuse of the heating, ventilating and air conditioning (HVAC) systems. Identifying the most relevant variables when predicting clothing insulation based on a case study and proposing new ones. Broaden the knowledge based on indoor clothing level, considering a new type of climate and building conditioning. Introduction The paper is structured as follows: Section 1 shows the literature review regarding the approaches and variables considered in other studies.Section 2 describes the case study in which the analysis is based on.Section 3 exposes the machine learning algorithms developed for predicting clothing insulation level, as well as the relevant parameters considered.Section 4 discusses the relevance of the input variables and the performance of the ML algorithms.Finally, Section 5 presents the main conclusions based on the results obtained. Introduction For the reasons exposed previously, clothing insulation level has been an object of study in the literature.In 1970, the work carried out by Humphreys (1970) showed a relationship between the clothing insulation level and the comfort temperature.And Nicol and Roaf (1996) exposed a connection between clothing insulation level and indoor and outdoor air temperature in 1996. Introduction Since then, various studies have focused on the analysis of the level of clothing.Table 1 shows a summary of the references that have been carried out in recent years with this objective.The type of building, their space conditioning approach, the location in where the studies were developed, as well as the technique used to analyse the clothing behaviour, are specified. Introduction Previous studies have discussed the clothing insulation level from different approaches, in terms of buildings and locations considered, input variables taken into account and techniques for it. Introduction With the rise of the Internet of Things and machine learning, more research builds on these principles to face new challenges (Joshi et al. 2019).In the field of knowledge of thermal comfort, alternative machine learning approaches have been proposed in recent years to delve into the study of thermal comfort and the variables that are related to it. Introduction In this context, some studies in the literature propose a machine learning framework to estimate the clothing insulation using vision recognition technology (Zang et al. 2019;Choi et al. 2021;Medina et al. 2022) or even analysing the material properties of different garments (Antweiler et al. 2022).However, the majority of these studies predominantly centre around thermal comfort through the thermal sensation vote, the thermal preference vote, the thermal comfort vote or the indoor comfort temperature itself (Deng and Chen 2018;Chai et al. 2020;Wang et al. 2020;Liu et al. 2022b;Yu et al. 2022).Nevertheless, there are fewer studies that use complex ML techniques for the analysis of the clothing insulation level and its connection with other variables, like indoor variables, outdoor variables or personal features (Table 2): Ngarambe et al. (2019) proposed the prediction of mean daily clothing insulation level based on values from a field study with neural networks and Duhirwe et al. (2022) developed a convolutional neural network in order to predict the occupants' clothing insulation.Therefore, this research aims to bridge this gap by introducing an analytical approach that includes 13 regression and 12 classification machine learning algorithms and by delving into the study of variables related to clothing insulation, proposing new factors not previously considered.All of that, for a new combination of type of weather and building conditioning not existing in other studies. Introduction It can be observed that most investigations carried out in terms of analysing clothing behaviour focus on statistical models considering linear regression model, multiple regression models or more complex statistical functions like logistic or logarithm.Nevertheless, the application of machine learning techniques would usually lead to better accuracy when predicting a variable under study, as well as to discover the complex relationships between output variables and input parameters (Duhirwe et al. 2022;Su et al. 2022). Introduction The whole previous studies (listed in Table 1) highlight the importance of the clothing insulation level and how it influences the comfort level in a building, which could affect the optimal indoor comfort temperature in several degrees centigrade.And although some researches consider machine learning techniques in order to analyse the clothing insulation, it is necessary to further investigate the impact that different variables have on its prediction, as well as to consider different type of buildings, climatology, and other machine learning algorithms. Introduction As for the variables that are related to clothing insulation level, Table 2 lists the key variables for understanding occupants' clothing behaviour that the references showed in Table 1 considered. Introduction Numerous references consider indoor temperature and outdoor temperature variables as main parameters linked to clothing insulation.However, indoor and outdoor features do not describe the whole human behaviour regarding clothing adaptation (Duhirwe et al. 2022;Zhao et al. 2022) therefore, it is also important to delve into the factors that are potentially linked to it. Introduction Regarding the machine learning algorithms, neural 1), but no other ML techniques have been contemplated nor there is a detailed comparative analysis between such techniques that deeply examines their development (Ngarambe et al. 2019;Duhirwe et al. 2022). Introduction It is also important to underline that the models previously obtained may be not applicable to other type of climate, conditioning approach or type of building that the ones considered in the specific studies (Wang et al. 2019a;Su et al. 2022).It is necessary to further investigate in terms of new contexts in order to reinforce the base of knowledge of adaptive actions regarding clothing behaviour (Rupp et al. 2021a). Introduction Therefore, the present study focuses on the relevant variables regarding clothing insulation and on predicting the individual clothing insulation level when users felt comfort.In particular, the comfort clothing insulation level refers to the level of clothing in which users feel comfortable when no additional adaptive actions, such as turning on the heating, ventilating and air conditioning systems would be necessary (Rupp et al. 2021b;Su et al. 2022).A systematic analysis of the variables that influence the clothing insulation level and a comparison between 13 regression ML algorithms and 12 classification ML algorithms were carried out. Introduction The investigation is focused on mixed-mode office buildings, that are not usually aim of study in the literature, compared to NV or AC buildings, and on the southwestern area of Spain, where no studies regarding the clothing insulation have been identified.Since the paper focuses on the clothing insulation level, as well as the comfort clothing ensemble for a MM building, the below analysis and results will be shown considering the whole data (defined as the MM mode) and only the data when the HVAC system was not in use (defined as the FR mode) respectively. Introduction The analysis and the results would also be useful when implementing it into a heating, ventilating and air-conditioning system of a building, so that it could assist the occupants when making decisions regarding their comfortable clothing ensembles.This advice would help the occupants to make adaptive decisions that prioritize the adaptation of clothing over the application of active actions like turning on the HVAC system for achieving thermal comfort. Case study The present work is based on data collected from a field study exposed in Barbadilla-Martín et al. (2017).Its main characteristics are explained below. Sample characteristics and climatology The field study was carried out in Seville, Spain, which is categorised within temperate climates (Csa), according to the Köppen-Geiger classification (Kottek et al. 2006).Its climatology is distinguished by mild winters and very hot summers, ranging the average daily temperature in the winter season from 10 °C to 15 °C (October-February).In the summer season (May-September), such variable usually rises up to 30 °C, with maximum values about 40 °C. Sample characteristics and climatology Eleven rooms from three office buildings were selected for the field study, two of them were mixed-mode buildings, combining natural ventilation and user-controlled backup conditioning systems, and the third building was fully conditioned. Sample characteristics and climatology The number of participants was 54, aged between 20 and 60 years.Regarding the age distribution, most participants were between 20 and 40 years old (30% of the occupants were between 20 and 30 years old, 43% between 30 and 40 years old).Nine of the participants were women.They were all performing the same sedentary office activity, which metabolic rate is 1.2 met according to ISO 7730 (ISO 2006). Data collection During the investigation, environmental variables were monitored, both indoors and outdoors, and the participants were surveyed during a whole year, in the morning and in the afternoon, as well as the thermal comfort of the occupants through surveys and additional information related to them. Data collection We measured indoor air temperature (T air ), globe temperature (T g ), relative humidity (RH), air velocity (V air ) at 15-minute intervals, by installing devices near the participants in each of the room considered in the field study.Recommendations of ISO 7726 standard (ISO 2002) regarding the specifications of monitoring equipment and their location were fulfilled.The model of each measuring device is shown in Barbadilla-Martín et al. (2017)-Table 3 as for the location and height of them. Data collection The following outdoor variables were also monitored during the field study: outdoor air temperature (T air ext ), outdoor temperature at 6 a.m.(T out 6 am ), dew point at 6 a.m.(DWPT 6am ), globe temperature (T g ext ), relative humidity (RH ext ), relative humidity at 6 a.m.(RH 6am ) and barometric pressure (atm ext ).Based on Nicol and Humphreys (2010), we calculated the outdoor running mean temperature with an alpha equal to 0.8 (T rm 0.8 ).Similarly, we also estimated the outdoor running mean relative humidity (RH rm 0.8 ), outdoor temperature at 6 a.m.(T 6amrm 0.8 ), dew point at 6 a.m.(DWPT 6am0.8 ) and relative humidity at 6 a.m.(RH 6amrm 0.8 ). Data collection We also surveyed the participants in order to collect information regarding their assessment of the indoor environment, as well as their clothing.The participants were asked to indicate their thermal sensation vote (five-points scale: warm, slightly warm, neutral, slightly cool, cool) and their thermal preference vote (five-point scale: much cooler, a bit cooler, no change, a bit warmer, much warmer). Data collection Aspects regarding to the age or the gender of the participants were also included in the questionnaire and we calculated indoor temperature comfort based on the Griffith method (T comfort ). Data collection Additionally, a clothing questionnaire form included a list of individual garments in order the participants selected their clothing level.The clothing questionnaire contained aspects related to the shirts or blouses, trousers or dress/skirts, sweaters and jackets, socks and shoes the participants were wearing (ISO 2009a).The whole questionnaires were provided to the participants through a web page, which automatically registered the date it was fulfilled (month, hour and season). Data collection In total, 3352 questionnaires were collected, but 2883 questionnaires after processing and eliminating data that contained missing values or errors were considered in the present study.Of them, 1208 questionnaires were collected when the HVAC was not in use. Clothing insulation level The insulation for each participant's ensemble was calculated by adding the insulation of their individual garments collected in the clothing questionnaire.Such method is proposed in ISO 9920 (ISO 2009a) and is widely applied in field studies (de Carvalho et al. 2013;Liu et al. 2018;Ngarambe et al. 2019). Clothing insulation level Figure 1 depicts the distribution of the intrinsic clothing insulation (Icl) as a combination of the individual garments collected in questionnaires during the sampling period.In particular, the figure presents data clothing ensembles for comfort situations (based on the thermal sensation votes between −1 and 1) for both, the building operating in mixed-mode (MM) and the data when the HVAC system was not in used (FR), showing the frequency or the number of times certain value was collected.It can be observed that the dataset is proportional and relatively balanced.According to ISO 9920 standard (ISO 2009a), the most representative clothing insulation values can be identified around 0.5 and 1, concerning the summer and winter period respectively.However, other combinations of individual garments could also be determined as optimal values for the clothing insulation, depending on the climate or the type of building, which agrees with previous studies in the literature (de Carvalho et al. 2013;Jiao et al. 2017;Ngarambe et al. 2019;Wang et al. 2019a). Clothing insulation level As stated by the ASHRAE and SCATs database (Arens et al. 2010), in general, for a certain indoor temperature, the clothing insulation changes about 0.8 clo unit, ranging from 0.4 to 1.2 clo. Methodology In the present section, the methodology for analysing the relevance of input variables regarding clothing insulation levels and the development of machine learning models for predictions are shown.The process defined in Figure 2 comprises the phases explained below. Methodology Firstly, (1.) it is necessary to formulate the problem, therefore a study database is required.The collected data are pre-processed (in this step, the treatment of the data, the data reading and the categorical values defined for each variable are justified).Secondly, (2.) in the dataset, a study of the main characteristics is carried out, in order to define an efficient and structured database.The data are processed (3.) and divided, in order to avoid overfitting or underfitting, and two dataset are used: the training dataset and the validation dataset.The training data train the model in (4.) and in (5.) such model is evaluated with the evaluation dataset, including a scored index to select the one which has the best performance.A protocol for evaluating the problem is established (in this step, the criteria for choosing the appropriate model and its adjustment to achieve the best performance are defined).After carrying out the whole phases, the selected machine learning model could be used to predict new data. Methodology Since data analysis involves missing values and inconsistencies in the data, it is important to note the relevance of the pre-processing (1. and 2.) in order to eliminate duplications and redundant information in the sample data for reliable results.During this process, prior to the training of the different models, the input for machine learning algorithms should be analysed, but the raw data need a previous process until it could be considered correct for a consistent dataset without errors.For that, first of all, missing value, anomalous and atypical values should be identified and corrected or eliminated. Methodology To deal with missing values, two general ways are usually considered (Fan et al. 2021).The first one is to simply Regarding missing values, techniques such as using a global constant to fill in for missing values, using a mean or median to fill the missing value, and using forward fill or backward fill method are commonly used. Methodology As for noisy data, data smoothing techniques such as binning, clustering, and regression can be applied (Fan et al. 2021). Methodology In the present study, we opted for not considering missing values or errors for the following analysis, by eliminating them from the original dataset. Methodology The hierarchical structure we considered in the present study for categorising the algorithms is shown in Figure 2. Methodology Firstly, algorithms based on mathematical functions contain regression models and predict a quantity, in regression problems, and label or category in classification problems.The logistic regression (LR) is a supervised ML model in regression and classification that identifies a linear connection among dependent and independent variables (Bishop 2006).Based on the classification, kernel ridge (KR) and bayesian ridge (BR) (Murphy 2012) also include weights in the models, they have a tendency to penalize the extremes of the weights.Support vector machine (SVM) can be applied to both, regression (SVR) and classification (SVC), they use different mathematical functions (kernel function) (Vapnik 1999;Tang et al. 2022).Derived from the SVM, the stochastic gradient descent (SGD) is an iterative method for optimizing by selecting a random data point, which would help to escape local minima and speeds up convergence (Mutlu and Acı 2022).Both, lineal discriminant analysis (LDA) and naïve bayes (NB), provide probabilities for class predictions (James et al. 2023).The mathematical functions involved in neural networks are fundamental to their ability to solve classification (NNc) and regression (NNr) problems.Artificial neurons, designed to mimic the behaviour of biological neurons, are organised into layers with activation functions, in general, those functions are linear function (Rocha et al. 2007). Methodology Secondly, nearest neighbours algorithms.This is a clustering model of several categories known.In this category, the K-nearest neighbours (Song et al. 2017) algorithm is the most commonly used algorithm in regression (Song et al. 2017) and classification (Zhang et al. 2017) Third category contains decision tree-based algorithms.A simple decision tree for regression (DTr) and classification (DTc) do not usually perform well enough, so the ensemble methods can be used to aggregate more trees.In this category, the random forest (RF) algorithm based on individual decision trees is the most common in regression (RFr) and classification (RFc) in the ensemble method named bagging consisting of building trees with bootstrapped samples with aggregating them (Breiman 2001;Cutler et al. 2012).Another ensemble method is boosting techniques, where gradient boost regression (GBr) and classification (GBc) (Friedman 2001) decision trees are method that combines weak learners, the individual decision trees, to obtain a stronger learner.All the trees are sequentially connected and each of them try to reduce the error of the previous tree.Due to the type of connection, this boosting technique is usually slower than others, but also more accurate.The light-gradient boosting machine regression (LGBMr) and classification (LGBMc) classifier (LGBMc) is a recent variant of previous algorithms based on trees (Ke et al. 2017).In this case, the tree grows vertically (grows tree leaf-wise) while another algorithm grows horizontally (grows level-wise) (Thai 2022).The algorithm will select the leaf with max "delta loss".When growing the same leaf, leaf-wise performs better than the level-wise algorithm.In general, it is not suitable for small datasets, due to overfitting (less 10k data).The extreme gradient boosting classifier (XGBc) and regression (XGBr) (Chen and Guestrin 2016) is a supervised predictive algorithm based on the principle of boosting.The idea behind boosting is to generate different "weak" models and improve their results in order to obtain a "stronger" model with better results.Finally, CatBoost (CBr) (Prokhorenkova et al. 2018), which name comes from "Category" and "Boosting" and builds symmetric trees, unlike XGB and LGBM.Leaves from the previous tree are split considering the following restriction: the feature-split pair for the lowest loss is considered and used for the whole nodes in a level. Methodology Likewise, the adopted sampling method is specified.For regression methods, a fundamental step in the pre-processing of the data for improving the performance of the models is to use a method which scales the input data in order to be compared at the same scale.The method we considered in the present study is StandardScaler. Methodology In the classification models, the output categorical data are handled, which requires a transformation from qualitative variables into quantitative ones.In this case, a set of labels has been defined for the clothing insulation level: Low (<0.6 clo), Medium-Low (0.6 clo-0.8clo), Medium-High (0.8 clo-1.0clo) and High (>1.0 clo).Figure 3 shows the distribution of the intrinsic clothing insulation level collected and the data distribution, based on the previous categorization. Methodology Regarding the decision of input characteristics to predict the optimal comfort clothing insulation level, it is also important to highlight the pre-processing phase in order to avoid the excess of data. Methodology An alternative, is the principal component analysis (PCA) technique, which is used to analyse large datasets (Friedman 2001) and improves finding relationships The reduction in the number of features analysed based on PCA seeks to find a small number of main components, which summarizes a large portion of the data variation (Aït-Sahalia and Xiu 2019) and simplifies the complexity of multi-dimensional spaces, while preserving their information. Methodology Regarding the sampling method, we considered the raw dataset (Luo et al. 2020). Methodology The "K-fold" cross-validation method is used in the present study for evaluating the resolution of the models.We used the 20-fold cross-validation, which has been proved to be a suitable value in the existing literature (Luo et al. 2020).Regarding the training and testing proportion, 80%-20% ratio is widely used in previous references (Gholamy et al. 2018;Wang et al. 2019b;Chai et al. 2020;Luo et al. 2020).Therefore, we considered the 80% of the dataset as training proportion. Methodology For machine learning regression models, we used as evaluation metric the R2 in order to compare the result of our study with previous investigations, due to the fact that, most of them, analyse the clothing behaviour from a statistical point of view and R2 is the variable usually provided. Methodology For machine learning classification models, accuracy and f1-score evaluation metrics were considered. Methodology The accuracy rate of the model prediction is calculated by Equation ( 1 The balance between the precision and the recall is shown by f1-score (Sokolova et al.2006), defined as follows (Equation ( 4)): Methodology Precision Recall f1 -score 2 Precision Recall Results and discussion Firstly, the present section deals with an analysis of the relevance of the input variables and their relationship with the intrinsic clothing insulation level.Secondly, the performance of the 13 regression and 12 classification ML algorithms considered is also exposed and compared in order to define a final rank with them. Exploratory data analysis: the relevance of input variables The objective of the study is predicting the clothing insulation level based on other known data, so the investigation of the relationship between the input variables and the clothing insulation level and the relevance of such features is an important challenge.As a result, and based on the references existing in the literature, a first dataset was obtained with twenty-one variables that could potentially be decisive in determining the clothing insulation level (Table 2), in which a comprehensive analysis was carried out for investigating their relevance. Exploratory data analysis: the relevance of input variables The twenty-one variables were categorised into General information, Personal information, Comfort information, Indoor environment and Outdoor environment.General category comprises information regarding the month and the time the questionnaires were collected as well as the season (spring, summer, autumn or winter).Personal information refers to the gender of the participant.Comfort information includes the comfort temperature (Tcomfort), calculated based on the Griffith method, and taking into account the indoor air temperature as well as the thermal sensation vote.Indoor environment comprises variables monitored during the field study and involves indoor air temperature (T air ), indoor relative humidity (HR), air velocity (V air ) and the temperature of a globe thermometer (T g ).Outdoor environment comprises variables monitored during the sample period and involves outdoor air temperature (T air ext ), outdoor relative humidity (HR ext ), the outdoor temperature of a globe thermometer (T g ext ), atmospheric pressure (Atm ext ), outdoor temperature at 6 a.m.(T out 6am ), dew point at 6 a.m.(DWPT 6am ) and outdoor relative humidity at 6 a.m.(RH 6am ).Additionally, we estimated the running mean temperature (T rm 0.8 ) depending on the running mean temperature of the previous day and the average temperature of the previous day and with an alpha equal to 0.8 (Nicol and Humphreys 2010).Similarly, we figured the running mean relative humidity (RH rm 0.8 ), the outdoor running mean temperature at 6 a.m.(T 6amrm 0.8 ), the running mean dew point (DWPT 6am 0.8 ) and the running mean relative humidity at 6 a.m.(RH 6amrm 0.8 ) in order to study feasible correlations with comfortable clothing insulation level and all of them with an alpha equal to 0.8. Exploratory data analysis: the relevance of input variables Initially, the correlation of the variables with the clothing insulation level was studied and shown in Table 3.After analysing the set of variables, it could be inferred that some of them could be eliminated based on the higher correlation between input variables themselves, such as: hour or the globe temperature.Other variables require a further analysis of their importance for the model, as they will be studied with the feature importance technique. Exploratory data analysis: the relevance of input variables It is observed a negative correlation between comfort clothing insulation and indoor temperature (Jiao et al. 2017;Ngarambe et al. 2019;Wang et al. 2019a;Nakagawa and Nakaya 2021;Rupp et al. 2021a;Thapa 2022;Zhuang et al. 2022), as well as with outdoor temperature and outdoor dew point temperature, which has been previously observed in previous studies (De Carli et al. 2007;Jiao et al. 2017;Liu et al. 2018;Ngarambe et al. 2019;Wang et al. 2019a;Ming et al. 2020).Indoor relative humidity and indoor air velocity seem to be slightly correlated with clothing behaviour (Schiavon and Lee 2013;Zhao et al. 2022), existing an inverse proportion with outdoor relative humidity. Exploratory data analysis: the relevance of input variables Regarding gender, there is not an agreement in the current literature.Some papers point out that gender is not a relevant variable when selection the ensemble (De Carli et al. 2007;Jiao et al. 2017), however, investigations based on a machine learning approach highlight its contribution for predicting clothing insulation (Ngarambe et al. 2019;Duhirwe et al. 2022).In the present work, although the gender is not the most relevant factor, seems to be connected with clothing behaviour. Exploratory data analysis: the relevance of input variables Outdoor variables are the factors with the strongest association with clothing insulation, higher than indoor parameters (Ngarambe et al. 2019).In particular, parameters related to outdoor temperature at 6 a.m. and dew point temperature at 6 a.m.seem to be the ones that most influence when people deciding their clothes (De Carli et al. 2007;Schiavon and Lee 2013;Ngarambe et al. 2019), followed by air temperature and running mean temperature (de Carvalho et al. 2013;Zhao et al. 2022).In the present study, it is also observed that the variables outdoor running mean temperature at 6 a.m.(T 6amrm 0.8 ) and the running mean dew point (DWPT 6am 0.8 ) seem to be better predictors of the clothing insulation level than just outdoor temperature at 6 a.m. and dew point temperature at 6 a.m.In the process of predicting clothing insulation, it is necessary an analysis to select the appropriate features for the ML models.For that, the feature importance technique was developed for the interpretability of the results.The feature importance assigns a score to each predictor based on its ability to improve predictions (Figure 4), so it is helpful for understanding what drives the model, but it does not show how that characteristic relates to the models' prediction.It is important to conduct this study of characteristics because it provides a measure of how much influences a specific predictor variable (a characteristic) on the accuracy of the models' prediction. Exploratory data analysis: the relevance of input variables For analysing the relevance of input variables, it is necessary to consider: Which of the features does the model think are most important?And which characteristics have the greatest impact on predictions?These concepts are known as "Important Feature", which shows a relevance rank of the features and "Permutation Importance" (Table 3) and they are used to calculate our input characteristics to the model. Exploratory data analysis: the relevance of input variables Based on the previous study, which results are shown in Table 3 and Figure 4, it is noted that, in the present work, the most relevant features and with the highest relevance are the running mean temperature at 6 o'clock in the morning, the indoor air temperature, the indoor relative humidity and the comfort temperature, as well as the gender and the barometric pressure.There are no special differences between the results obtained with free-running and mixed-mode data, although it can be noted that the variable "month" is more important and significant in the second one. Exploratory data analysis: the relevance of input variables It is observed that gender has a significant impact on predictions and the usefulness and impact of the temperature at 6 a.m., which agrees with the work of De Carli et al. (2007).Moreover, it could be highlighted that the indoor air temperature is an outstanding variable for the model. Principal component analysis (PCA) transformation In order to further analyse the relevance of input variables and eliminate redundant information, we also considered the PCA transformation.Based on such technique, we selected 9 components from the original 21 variables-dataset, which would represent the 88% of the variability of the problem (Figure 5).It can be seen that, in the first component, all the items have mixed signs involving 21 characteristics, which means that there is a general correlation between the characteristics. Principal component analysis (PCA) transformation PCA helps to select the components that provide the best value, although it assumes that the data are linearly dependent, and this is not always the case. Principal component analysis (PCA) transformation In the following sections, it will be analysed which models improve their performance by the application of PCA transformation. Comparison of machine learning algorithms for predicting clothing insulation level A comparison based on the performance of each algorithm was carried out.The results are presented independently, for regression and classification algorithms, considering the whole 21 input variables and applying the PCA transformation (9 input components). Regression algorithms Figure 6 depicts the accuracy of the regression models analysed, based on the R2 value and considering the whole 21 input variables.The boxplot shows the mean score of each model, including the minimum score, the first quartile, the median, the third quartile as well as the maximum score. Regression algorithms The ordinary least squares logistic regression (LR) Regarding KR and BR, the weights in the models not only have a predisposition to have the smaller absolute values, but they have a tendency to penalize the extremes of the weights.Both models have similar results to LR, R2 of 0.6 MM and 0.54 FR.So, Ridge is used to analyse any data that suffers from multicollinearity and could be considered as a good regularized of LR method.In the case of EN, its R2 was 0.33 MM and 0.18 FR, lower than LR. Regression algorithms K-nearest neighbour regressor (KNN) model obtained similar results to LR, being the accuracy of this model equal to 0.57 MM and 0.40 FR. Regression algorithms Two models obtained worse solutions than LR and KNN: decision tree (DT) and support vector machine (SVM). Regression algorithms The simple decision tree, when there are large number of features with less datasets, may perform worse than linear regression.In general cases, decision trees would achieve better average accuracy, but in the present study, its R2 was 0.51 MM and 0.36 FR.In the case of support vector machine, R2 of 0.50 MM and 0.33 FR, a similar resolution was obtained.The SVM model generally supports, both linear and non-linear solutions, and handles outliers better than LR, but in this case, the model is not better than LR. Regression algorithms The performance of random forest (RFr) (Cutler et al. 2012) is more accurate than decision tree, since a mean of R2 of 0.72 MM and 0.63 FR is observed.Similar solutions are obtained when the results are compared with Gradientboosted regression (GBr, R2: 0.72 MM, 0,64 FR), Light-gradient machine (LGBMr, R2: 0.72 MM, 0.61 FR), CatBoost (CBr, R2: 0.73 MM, 0.63 FR) or XGBoost (XGBr, The last regression model analysed is neural networks (NNr).If this model is compared to LR, LR is focused on linear dependencies, since NN deals with non-linearities.In general, when the model has some nonlinear dependencies, neural networks should perform better than LR, but in this case, the dataset has enough linear relationships and the LR, the RF, as well as the models belonging to the same family, perform all of them better than NN (R2: 0.48 MM, 0.23 FR). Regression algorithms The result of applying Principal Component Analysis is also shown in Figure 6. Regression algorithms After performing the PCA transformation as preprocessing method, it could be noted that some models enhance their performance.This is the case of K-nearest neighbour and support vector machine, but the rest of the regression algorithms did not improve the results.KR and EN were eliminated for the comparison analysis because they are used to determine multicollinearity and the method PCA penalized the resolution.point looking for its nearest neighbours and it usually achieves good results when enough information is available.Such model obtained an accuracy 0.57 MM and 0.49 FR and f1-score 0.55 MM and 0.48 FR. Classification algorithms Concerning the decision tree classifier (DTc) algorithm, it is feasible to distribute the observations based on their attributes and thus, to predict the outdoor variable with accuracy 0.60 MM, 0.55 FR value and f1-score 0.61 MM, 0.53 FR value.However, it performed worse than random forest classifier (accuracy: 0.65 MM and 0.56 FR and f1-score: 0.64 MM and 0.56 FR), which is an ensemble of decision trees combined with bagging.Random forest classifier usually achieves better results, since each tree is trained with different data and when combining their results, some errors are compensated. Classification algorithms The gradient boosting classifier (GBc) model involves different decision trees, which try to enhance the errors of the previous ones.For this reason, this algorithm leads to an improvement in the solution compared to the previous ones (accuracy: 0.66 MM, 0.55 FR and f1-score: 0.65 MM, 0.55 FR).Likewise, the extreme gradient boosting classifier (XGBc) (accuracy 0.65 MM and 0.56 FR and f1-score 0.65 MM and 0.56 FR) achieved similar results as well as the LGBM classifier (LGBMc) or light GBM classifier with accuracy 0.65 MM, 0.57 FR and f1-score 0.65 MM, 0.57 FR, probably due to its higher training speed and efficiency, and therefore precision (Ke et al. 2017). Classification algorithms It is also possible to perform classification approaches with naive bayes algorithms, which unlike the previous ones, it is based on historical probability to obtain a future probability.Accuracy 0.59 MM and 0.50 FR and f1-score 0.58 MM and 0.46 FR were achieved, considering a normal distribution or a GaussianNB method. Classification algorithms The last algorithm exposed is neural networks classifier (NNc), which accomplished worse results for classification (accuracy: 0.28 MM, 0.22 FR and f1-score: 0.12 MM, 0.09 FR) than for regression. Classification algorithms After performing the PCA technique as pre-processing method, Figure 7 also shows the results of the classification algorithms considered. Classification algorithms It can be noted that some models improved their performance with the PCA transformation, as for the linear regression and support vector machine.SGDc also enhanced its accuracy, as well as K-nearest neighbours (KNc).The rest of the classification algorithms did not improve their predictions. Classification algorithms Based on previous results in the literature, it could be firstly concluded that random forest (RFr and RFc) and other models of the same family, as gradient-boosted (GBr and GBc), light-gradient machine (LGBMr and LBMc), CatBoost (CBr and CBc) and XGBoost (XGBr and XGBc) achieve the best results, for both, regression and classification techniques.Moreover, PCA transformation enhanced the performance of certain algorithms, without detriment of their accuracy. Classification algorithms Comparing the results obtained with previous work, random forest (RFr and RFc) and gradient-boosted seem to perform better that statistical models in order to predict individual comfort clothing level of the occupants.In such kind of comparison, it is noted that different references were obtained from different experiments, dataset and data processing strategies. Classification algorithms Based on the R2 value, linear regression-based algorithms could reach an accuracy in the same order of magnitude as other machine learning algorithms.In Schiavon and Lee (2013), the multivariable linear mixed models predicted 19%-28% of the total variance based on ASHRAE Database.In Su et al. (2022), the multivariable linear mixed model could explained 57.5% of the total variance considering the Chinese Thermal Comfort Database. Classification algorithms For naturally ventilated buildings, in Wang et al. (2019a) the best performance was obtained with power statistical models, achieving a R2 of 0.557.In Nakagawa and Nakaya (2021), it raised up to 0.69 considering weighted regression analysis with binned data, being 0.14 for the raw dataset. Classification algorithms Regarding papers which contemplate mixed-mode buildings, the linear regression model for women and men developed in De Carli et al. (2007) had a R2 equal to 0.25 and 0.39 respectively.In the work carried out by Rupp et al. (2021b), the type of building ventilation was considered for predicting the ensemble insulation based on multiple linear regression analysis with an R2 of 0.22.Taking only into account the data from naturally ventilated situations, it improved up to 0.31. Classification algorithms In Ngarambe et al. (2019), the prediction of indoor clothing insulation levels was made through a deep learning approach using a deep neural network.The model obtained an accuracy of 0.90 considering mean observations, decreasing up to 0.33 for individual values. Conclusions This paper aims to delve into the study between clothing insulation levels and the variables which it is related to and, also, into the prediction of the individual clothing insulation level in which users would feel thermal comfort with.For that, it centres on an analysis of the relevance of the input for such prediction and on comparing 13 regression machine learning algorithms and 12 classification machine learning algorithms. Conclusions The main contributions of this study can be summarized as follows: Conclusions  Outdoor temperature at 6 a.m., indoor air temperature, indoor relative humidity, comfort temperature, as well as gender are the most relevant features for predicting the clothing insulation level. In particular, the outdoor running mean temperature at 6 a.m. and the running mean dew point variables seem to be better predictors for the clothing ensemble than just outdoor temperature at 6 a.m. and dew point temperature at 6 a.m.Similar to the outdoor running mean temperature variable, the outdoor temperature at 6 a.m. is an exponentially weighted running mean of the daily mean air temperature at 6 a.m., which takes into account the historical values of outdoor temperatures at 6 a.m.Likewise, an improvement of the running mean dew point is based on an exponentially weighted running mean of the daily dew point.Moreover, running mean values have been previously proved to have relationship with clothing changing (Humphreys 1979). Principal component analysis (PCA) transformation does not generally enhance the performance of the regression machine learning, nor the classification regression machine learning algorithms for the dataset.Only KNNr and SVMr (regression algorithms) and KNNc, SVMc, LRc, and SGDc (classification algorithms) slightly improved the results. Different machine learning models for classification and regression have been compared, since it is often unclear which one would perform better.It has been observed that for regression models, RFr, GBr, LGBMr, CBr and XGBr achieved the best results with a mean of R2 of 0.72 and all of them for MM mode.As for the classification models, RFc, GBc, XGBc, LGBMc performed better than the other algorithms, with a mean accuracy and f1-score of 0.65 (for MM mode). The category which comprises decision tree-based algorithms with boosting techniques, or models that improve such techniques, achieve the highest accuracy when predicting the clothing insulation.The feature importance analysis provides insights into the key factors influencing clothing insulation (Figure 4), where decision three based on boosting techniques, might bring about performance improvements and by combining multiple weak models, enhance the overall predictive power.This ensemble approach might be particularly effective for capturing subtle nuances in thermal insulation prediction, and on the other hand, decision trees can naturally handle non-linear relationships in the data. Conclusions The study reinforces the use of machine learning algorithms in order to improve the indoor comfort through passive adaptive actions regarding clothing insulation, expanding the actual knowledge based on indoor level clothing insulation considering a new combination of type of buildings and kind of building conditioning.Moreover, since systems are currently being developed that analyse users' clothing and their clothing insulation, e.g., using cameras, machine learning approach would be useful in order to predict an optimal ensemble and to assist the occupants of a building in terms of recommendations regarding their ensemble for the indoor environment, avoiding the overuse of heating, ventilating and air conditioning systems.Recommendations regarding clothing insulation level would be useful, for example, in terms of dress codes for achieving thermal comfort and energy efficiency. Limitations and future trends Analysis of clothing insulation using a thermal manikin is one of the most accurate methods to obtain it, but it is challenging and not usually included in an adaptive thermal comfort field.Some researchers have obtained thermal insulation data for a large number of garments and ensembles by experimenting with thermal manikins and extensive clothing insulation databases have aided in the development of standard insulation values for some typical garments and ensembles in regulations, such as ISO 7730 and ASHRAE 55, which are widely used in comfort studies and field experiments. Limitations and future trends Due to the above, and although traditional models obtain good results in a concise way, analysis techniques are currently being developed to obtain clo values in a rapid and easier way, but that are capable of estimating the reality of field studies in buildings, being machine learning algorithm among them. Limitations and future trends However, since machine learning is a recent area of study, there are limitations to its real application, which should be studied in the future.Likewise, gaps in research in this area are suggested below, as well as the main recommendations for future studies:  It would be advisable to carry out studies to search for solutions that simplify or facilitate data collection and the development of ML-based models. The training data of this research are based on a field study carried out during a year, which includes winter and summer periods in a Mediterranean climate and it is based on a particular climatology and type of building. Limitations and future trends Although clo was analysed with various ML algorithms, further studies would be helpful in order to consider different climatic conditions, buildings, as well as conditioning systems and age ranges (elderly and children), which should be further investigated. Future studies are recommended focused on the impact of a smaller number of input variables to further investigate variable reduction. Limitations and future trends  Moreover, given the rapid and dynamic evolution of techniques in machine learning, there is a need to expand these analyses to encompass additional methods and further explore alternative algorithms in future studies, since there are few works that present analysis of the models based on field studies. It would be also interesting to analyse the possibilities of predicting the thermal resistance distinguishing between the upper and lower part of the body, or other segments, for inclusion in new thermal comfort models. Fig. 1 Fig. 1 Distribution of the intrinsic clothing insulation level Fig. 2 Fig. 2 Flowchart of the proposed methodology Fig. 3 Fig. 3 Clothing insulation labels for classification methods Fig. 3 TP = true positives, TN = true negatives, FP = false positives and FN = false negatives.The precision and the recall are shown in Equation (2) and Equation (3 Fig. 4 Fig. 4 Feature importance and permutation importance of input variables Fig. 5 Fig. 5 Feature of each variable in each principal component Figure 7 Fig. 7 Figure 7 illustrates the performance of the classification algorithms for the whole 21 input variables dataset.The logistic regression (LR) is quite similar to linear regression, basically it is a linear regression with an activation function which would lead to predict one class or another.LR presents a good solution, with accuracy 0.56 MM, 0.46 FR and f1-score of 0.53 MM, 0.45 FR versus other models like support vector machine classifier (accuracy: 0.52 MM, 0.23 FR; f1-score: 0.4 MM, 0.09 FR) and SGDc (accuracy: 0.46 MM, 0.34 FR; f1-score 0.36 MM, 0.28 FR).The linear discriminant analysis (LDA) model (accuracy: 0.63 MM, 0.53 FR; f1 score: 0.62 MM, 0.53 FR) improved the LR model results.As for the K-nearest neighbour classifier (KNc) algorithm, it is based on classifying a certain Table 1 Previous studies regarding clothing behaviour Table 2 Key variables related to clothing behaviour Reference Input variable Morgan and de Dear 2003 Indoor temperature, Outdoor temperature, Outdoor maximum temperature De Carli et al. 2007 Indoor air temperature, Outdoor temperature at 6 a.m., Outdoor mean daily temperature, Outdoor mean temperature, Outdoor weighted value on the temperature over last 4 days de Carvalho et al. 2013 Maximum outside temperature during that day, Maximum outside temperature during previous days, Outdoor running mean temperature, Effective temperature inside (ET) Table 2 Rupp et al. 2021a Thermal sensation vote, Previous clothing insulation, Indoor operative temperature Su et al. 2022 Indoor air temperature, Climate zone, Building type Zhao et al. 2022 Age, Indoor operative temperature, 7-days running mean outdoor temperature, daily outdoor temperature Duhirwe et al. 2022 Personal factors, Building factors, Indoor and outdoor environmental factors, Thermal comfort parameters, Climate Zhuang et al. 2022 Indoor operative temperature Table 3 Relevance of input variables

섹션 본문 111문단 · 52,781자

(제목 없음)

1Since indoor clothing insulation is a key element in thermal comfort models, the aim of the present study is proposing an approach for predicting it, which could assist the occupants of a building in terms of recommendations regarding their ensemble.For that, a systematic analysis of input variables is exposed, and 13 regression and 12 classification machine learning algorithms were developed and compared.The results are based on data from 3352 questionnaires and 21 input variables from a field study in mixed-mode office buildings in Spain.Outdoor temperature at 6 a.m., indoor air temperature, indoor relative humidity, comfort temperature and gender were the most relevant features for predicting clothing insulation.When comparing machine learning algorithms, decision tree-based algorithms with Boosting techniques achieved the best performance.The proposed model provides an efficient method for forecasting the clothing insulation level and its application would entail optimising thermal comfort and energy efficiency.

Introduction

2The clothing insulation level, standardized by clo, is used in thermal comfort models to represent the insulation of complete clothing ensembles when investigating thermal comfort situations and considering different metabolic rates, indoor and outdoor conditions, as well as it can also be applied when evaluating the thermal stress (ISO 2009a).

3The clo unit was introduced in 1941 by Gagge et al. (1941) to define the relative resistance to heat transfer by clothing.Since clothing insulation level is a variable related to thermal stress and comfort, it is a feature that influences the design process of buildings, and even ISO 7730 (ISO 2006) andEN 16798-1 (EN 2020) define standardized values for it.

4Currently, the ISO 7730 (ISO 2006) is used in the determination and interpretation of thermal comfort through the Predicted Mean Vote Model and the Predicted Percentage of thermally Dissatisfied occupants, where the clothing insulation level is an input parameter.EN 16798-1 (EN 2020) and ASHRAE Standard 55 (ANSI/ASHRAE 2020) include the adaptive approach, where the occupants are freely adapt to the environment through adaptation processes, which were classified by de Dear and Brager (1998) as physiological, psychological and behavioural, considering in the latter clothing changes.Additionally, ISO 11079 (ISO 2009b) considers the determination and interpretation of cold stress and defines the variable required clothing insulation (IREQ).

5Therefore, the clothing insulation level is a factor that is present, both in the static thermal comfort approach, and in the adaptive thermal comfort approach.In the first one, the clothing insulation level is a quantitative factor to model occupants' thermal comfort and in the adaptive comfort model, it is used to explain occupants' behaviour and adaptive actions.Moreover, it has also been studied from the perspective of the heat and mass transfer from human skin to the environment, proposing different models based on the thermophysiological response (Joshi et al. 2019;Joshi et al. 2022).

6The importance of the clothing level lies, not only in its relationship with thermal comfort, but it is also a decisive factor in individualized thermal comfort models and in energy consumption.Despite its relevance, the prediction of the clothing insulation level is a challenging task, since it depends on multiple factors that are interdependent and can significantly vary between individuals and situations considering environmental factors (temperature, relative humidity or air velocity), gender, cultural components or other personal factors.The same clothing insulation level may not provide the same level of thermal comfort in different environmental conditions, therefore, it is a challenging task to develop a predictive model that accounts for all these factors and their interactions.Typically, a consistent clo level (0.5 clo in summer, 1.0 clo in winter) is usually considered on thermal comfort indices, aligning with the guidelines ISO 7730 (ISO 2006) or EN 16798-1 (EN 2020), which might not represent the reality of human clothing behaviour and could lead to overheating and overcooling situations.So, there is a need to improve knowledge and understanding of human behaviour in terms of an optimal selection of their ensemble and the possibility of applying predictive models.

7Therefore, the clothing insulation level, would be helpful in the implementation of adaptive thermal comfort, e.g., by means of user assistance systems, that would improve the user's comfort and the energy efficiency of a building.Recommendations regarding clothing insulation level would be useful, for example, in terms of the dress code, that is, it could lead to relaxation of the clothing conventions of the workers in some companies according to the machine learning (ML) model.

8Previous studies (Humphreys et al. 2013) have also highlighted the importance of between-day clothing changes, showing that predictions regarding clothing insulation levels would lead to improve adaptive actions of the occupants by adjusting their clothing to the indoor environment, before entering the building or once inside.Moreover, in the work carried out by Cui and Watanabe (2014), the "Cool Biz" and "Warm Biz" initiative is exposed as a potential measure to conditioning systems load reduction.Therefore, a model that would predict how building occupants change clothes would greatly improve conditioning systems efficiency and energy savings.Additionally, the possibility of developing a system for recommending an optimal clothing ensemble is feasible thanks to studies such as the ones carried out by Li and Chen (2021) and Liu et al. (2022a).

9For that, the present work focuses on the study of the indoor clothing insulation levels following the research objectives explained below:  Analysing different machine learning techniques and carrying out a comparative analysis between them, regarding their performance for predicting clothing level. Proposing an approach to apply machine learning techniques for predicting the clothing insulation of the users of a building, which could also be useful for giving them advice in order to avoid the overuse of the heating, ventilating and air conditioning (HVAC) systems. Identifying the most relevant variables when predicting clothing insulation based on a case study and proposing new ones. Broaden the knowledge based on indoor clothing level, considering a new type of climate and building conditioning.

10The paper is structured as follows: Section 1 shows the literature review regarding the approaches and variables considered in other studies.Section 2 describes the case study in which the analysis is based on.Section 3 exposes the machine learning algorithms developed for predicting clothing insulation level, as well as the relevant parameters considered.Section 4 discusses the relevance of the input variables and the performance of the ML algorithms.Finally, Section 5 presents the main conclusions based on the results obtained.

11For the reasons exposed previously, clothing insulation level has been an object of study in the literature.In 1970, the work carried out by Humphreys (1970) showed a relationship between the clothing insulation level and the comfort temperature.And Nicol and Roaf (1996) exposed a connection between clothing insulation level and indoor and outdoor air temperature in 1996.

12Since then, various studies have focused on the analysis of the level of clothing.Table 1 shows a summary of the references that have been carried out in recent years with this objective.The type of building, their space conditioning approach, the location in where the studies were developed, as well as the technique used to analyse the clothing behaviour, are specified.

13Previous studies have discussed the clothing insulation level from different approaches, in terms of buildings and locations considered, input variables taken into account and techniques for it.

14With the rise of the Internet of Things and machine learning, more research builds on these principles to face new challenges (Joshi et al. 2019).In the field of knowledge of thermal comfort, alternative machine learning approaches have been proposed in recent years to delve into the study of thermal comfort and the variables that are related to it.

15In this context, some studies in the literature propose a machine learning framework to estimate the clothing insulation using vision recognition technology (Zang et al. 2019;Choi et al. 2021;Medina et al. 2022) or even analysing the material properties of different garments (Antweiler et al. 2022).However, the majority of these studies predominantly centre around thermal comfort through the thermal sensation vote, the thermal preference vote, the thermal comfort vote or the indoor comfort temperature itself (Deng and Chen 2018;Chai et al. 2020;Wang et al. 2020;Liu et al. 2022b;Yu et al. 2022).Nevertheless, there are fewer studies that use complex ML techniques for the analysis of the clothing insulation level and its connection with other variables, like indoor variables, outdoor variables or personal features (Table 2): Ngarambe et al. (2019) proposed the prediction of mean daily clothing insulation level based on values from a field study with neural networks and Duhirwe et al. (2022) developed a convolutional neural network in order to predict the occupants' clothing insulation.Therefore, this research aims to bridge this gap by introducing an analytical approach that includes 13 regression and 12 classification machine learning algorithms and by delving into the study of variables related to clothing insulation, proposing new factors not previously considered.All of that, for a new combination of type of weather and building conditioning not existing in other studies.

16It can be observed that most investigations carried out in terms of analysing clothing behaviour focus on statistical models considering linear regression model, multiple regression models or more complex statistical functions like logistic or logarithm.Nevertheless, the application of machine learning techniques would usually lead to better accuracy when predicting a variable under study, as well as to discover the complex relationships between output variables and input parameters (Duhirwe et al. 2022;Su et al. 2022).

17The whole previous studies (listed in Table 1) highlight the importance of the clothing insulation level and how it influences the comfort level in a building, which could affect the optimal indoor comfort temperature in several degrees centigrade.And although some researches consider machine learning techniques in order to analyse the clothing insulation, it is necessary to further investigate the impact that different variables have on its prediction, as well as to consider different type of buildings, climatology, and other machine learning algorithms.

18As for the variables that are related to clothing insulation level, Table 2 lists the key variables for understanding occupants' clothing behaviour that the references showed in Table 1 considered.

19Numerous references consider indoor temperature and outdoor temperature variables as main parameters linked to clothing insulation.However, indoor and outdoor features do not describe the whole human behaviour regarding clothing adaptation (Duhirwe et al. 2022;Zhao et al. 2022) therefore, it is also important to delve into the factors that are potentially linked to it.

20Regarding the machine learning algorithms, neural 1), but no other ML techniques have been contemplated nor there is a detailed comparative analysis between such techniques that deeply examines their development (Ngarambe et al. 2019;Duhirwe et al. 2022).

21It is also important to underline that the models previously obtained may be not applicable to other type of climate, conditioning approach or type of building that the ones considered in the specific studies (Wang et al. 2019a;Su et al. 2022).It is necessary to further investigate in terms of new contexts in order to reinforce the base of knowledge of adaptive actions regarding clothing behaviour (Rupp et al. 2021a).

22Therefore, the present study focuses on the relevant variables regarding clothing insulation and on predicting the individual clothing insulation level when users felt comfort.In particular, the comfort clothing insulation level refers to the level of clothing in which users feel comfortable when no additional adaptive actions, such as turning on the heating, ventilating and air conditioning systems would be necessary (Rupp et al. 2021b;Su et al. 2022).A systematic analysis of the variables that influence the clothing insulation level and a comparison between 13 regression ML algorithms and 12 classification ML algorithms were carried out.

23The investigation is focused on mixed-mode office buildings, that are not usually aim of study in the literature, compared to NV or AC buildings, and on the southwestern area of Spain, where no studies regarding the clothing insulation have been identified.Since the paper focuses on the clothing insulation level, as well as the comfort clothing ensemble for a MM building, the below analysis and results will be shown considering the whole data (defined as the MM mode) and only the data when the HVAC system was not in use (defined as the FR mode) respectively.

24The analysis and the results would also be useful when implementing it into a heating, ventilating and air-conditioning system of a building, so that it could assist the occupants when making decisions regarding their comfortable clothing ensembles.This advice would help the occupants to make adaptive decisions that prioritize the adaptation of clothing over the application of active actions like turning on the HVAC system for achieving thermal comfort.

Case study

25The present work is based on data collected from a field study exposed in Barbadilla-Martín et al. (2017).Its main characteristics are explained below.

Sample characteristics and climatology

26The field study was carried out in Seville, Spain, which is categorised within temperate climates (Csa), according to the Köppen-Geiger classification (Kottek et al. 2006).Its climatology is distinguished by mild winters and very hot summers, ranging the average daily temperature in the winter season from 10 °C to 15 °C (October-February).In the summer season (May-September), such variable usually rises up to 30 °C, with maximum values about 40 °C.

27Eleven rooms from three office buildings were selected for the field study, two of them were mixed-mode buildings, combining natural ventilation and user-controlled backup conditioning systems, and the third building was fully conditioned.

28The number of participants was 54, aged between 20 and 60 years.Regarding the age distribution, most participants were between 20 and 40 years old (30% of the occupants were between 20 and 30 years old, 43% between 30 and 40 years old).Nine of the participants were women.They were all performing the same sedentary office activity, which metabolic rate is 1.2 met according to ISO 7730 (ISO 2006).

Data collection

29During the investigation, environmental variables were monitored, both indoors and outdoors, and the participants were surveyed during a whole year, in the morning and in the afternoon, as well as the thermal comfort of the occupants through surveys and additional information related to them.

30We measured indoor air temperature (T air ), globe temperature (T g ), relative humidity (RH), air velocity (V air ) at 15-minute intervals, by installing devices near the participants in each of the room considered in the field study.Recommendations of ISO 7726 standard (ISO 2002) regarding the specifications of monitoring equipment and their location were fulfilled.The model of each measuring device is shown in Barbadilla-Martín et al. (2017)-Table 3 as for the location and height of them.

31The following outdoor variables were also monitored during the field study: outdoor air temperature (T air ext ), outdoor temperature at 6 a.m.(T out 6 am ), dew point at 6 a.m.(DWPT 6am ), globe temperature (T g ext ), relative humidity (RH ext ), relative humidity at 6 a.m.(RH 6am ) and barometric pressure (atm ext ).Based on Nicol and Humphreys (2010), we calculated the outdoor running mean temperature with an alpha equal to 0.8 (T rm 0.8 ).Similarly, we also estimated the outdoor running mean relative humidity (RH rm 0.8 ), outdoor temperature at 6 a.m.(T 6amrm 0.8 ), dew point at 6 a.m.(DWPT 6am0.8 ) and relative humidity at 6 a.m.(RH 6amrm 0.8 ).

32We also surveyed the participants in order to collect information regarding their assessment of the indoor environment, as well as their clothing.The participants were asked to indicate their thermal sensation vote (five-points scale: warm, slightly warm, neutral, slightly cool, cool) and their thermal preference vote (five-point scale: much cooler, a bit cooler, no change, a bit warmer, much warmer).

33Aspects regarding to the age or the gender of the participants were also included in the questionnaire and we calculated indoor temperature comfort based on the Griffith method (T comfort ).

34Additionally, a clothing questionnaire form included a list of individual garments in order the participants selected their clothing level.The clothing questionnaire contained aspects related to the shirts or blouses, trousers or dress/skirts, sweaters and jackets, socks and shoes the participants were wearing (ISO 2009a).The whole questionnaires were provided to the participants through a web page, which automatically registered the date it was fulfilled (month, hour and season).

35In total, 3352 questionnaires were collected, but 2883 questionnaires after processing and eliminating data that contained missing values or errors were considered in the present study.Of them, 1208 questionnaires were collected when the HVAC was not in use.

Clothing insulation level

36The insulation for each participant's ensemble was calculated by adding the insulation of their individual garments collected in the clothing questionnaire.Such method is proposed in ISO 9920 (ISO 2009a) and is widely applied in field studies (de Carvalho et al. 2013;Liu et al. 2018;Ngarambe et al. 2019).

37Figure 1 depicts the distribution of the intrinsic clothing insulation (Icl) as a combination of the individual garments collected in questionnaires during the sampling period.In particular, the figure presents data clothing ensembles for comfort situations (based on the thermal sensation votes between −1 and 1) for both, the building operating in mixed-mode (MM) and the data when the HVAC system was not in used (FR), showing the frequency or the number of times certain value was collected.It can be observed that the dataset is proportional and relatively balanced.According to ISO 9920 standard (ISO 2009a), the most representative clothing insulation values can be identified around 0.5 and 1, concerning the summer and winter period respectively.However, other combinations of individual garments could also be determined as optimal values for the clothing insulation, depending on the climate or the type of building, which agrees with previous studies in the literature (de Carvalho et al. 2013;Jiao et al. 2017;Ngarambe et al. 2019;Wang et al. 2019a).

38As stated by the ASHRAE and SCATs database (Arens et al. 2010), in general, for a certain indoor temperature, the clothing insulation changes about 0.8 clo unit, ranging from 0.4 to 1.2 clo.

Methodology

39In the present section, the methodology for analysing the relevance of input variables regarding clothing insulation levels and the development of machine learning models for predictions are shown.The process defined in Figure 2 comprises the phases explained below.

40Firstly, (1.) it is necessary to formulate the problem, therefore a study database is required.The collected data are pre-processed (in this step, the treatment of the data, the data reading and the categorical values defined for each variable are justified).Secondly, (2.) in the dataset, a study of the main characteristics is carried out, in order to define an efficient and structured database.The data are processed (3.) and divided, in order to avoid overfitting or underfitting, and two dataset are used: the training dataset and the validation dataset.The training data train the model in (4.) and in (5.) such model is evaluated with the evaluation dataset, including a scored index to select the one which has the best performance.A protocol for evaluating the problem is established (in this step, the criteria for choosing the appropriate model and its adjustment to achieve the best performance are defined).After carrying out the whole phases, the selected machine learning model could be used to predict new data.

41Since data analysis involves missing values and inconsistencies in the data, it is important to note the relevance of the pre-processing (1. and 2.) in order to eliminate duplications and redundant information in the sample data for reliable results.During this process, prior to the training of the different models, the input for machine learning algorithms should be analysed, but the raw data need a previous process until it could be considered correct for a consistent dataset without errors.For that, first of all, missing value, anomalous and atypical values should be identified and corrected or eliminated.

42To deal with missing values, two general ways are usually considered (Fan et al. 2021).The first one is to simply Regarding missing values, techniques such as using a global constant to fill in for missing values, using a mean or median to fill the missing value, and using forward fill or backward fill method are commonly used.

43As for noisy data, data smoothing techniques such as binning, clustering, and regression can be applied (Fan et al. 2021).

44In the present study, we opted for not considering missing values or errors for the following analysis, by eliminating them from the original dataset.

45The hierarchical structure we considered in the present study for categorising the algorithms is shown in Figure 2.

46Firstly, algorithms based on mathematical functions contain regression models and predict a quantity, in regression problems, and label or category in classification problems.The logistic regression (LR) is a supervised ML model in regression and classification that identifies a linear connection among dependent and independent variables (Bishop 2006).Based on the classification, kernel ridge (KR) and bayesian ridge (BR) (Murphy 2012) also include weights in the models, they have a tendency to penalize the extremes of the weights.Support vector machine (SVM) can be applied to both, regression (SVR) and classification (SVC), they use different mathematical functions (kernel function) (Vapnik 1999;Tang et al. 2022).Derived from the SVM, the stochastic gradient descent (SGD) is an iterative method for optimizing by selecting a random data point, which would help to escape local minima and speeds up convergence (Mutlu and Acı 2022).Both, lineal discriminant analysis (LDA) and naïve bayes (NB), provide probabilities for class predictions (James et al. 2023).The mathematical functions involved in neural networks are fundamental to their ability to solve classification (NNc) and regression (NNr) problems.Artificial neurons, designed to mimic the behaviour of biological neurons, are organised into layers with activation functions, in general, those functions are linear function (Rocha et al. 2007).

47Secondly, nearest neighbours algorithms.This is a clustering model of several categories known.In this category, the K-nearest neighbours (Song et al. 2017) algorithm is the most commonly used algorithm in regression (Song et al. 2017) and classification (Zhang et al. 2017) Third category contains decision tree-based algorithms.A simple decision tree for regression (DTr) and classification (DTc) do not usually perform well enough, so the ensemble methods can be used to aggregate more trees.In this category, the random forest (RF) algorithm based on individual decision trees is the most common in regression (RFr) and classification (RFc) in the ensemble method named bagging consisting of building trees with bootstrapped samples with aggregating them (Breiman 2001;Cutler et al. 2012).Another ensemble method is boosting techniques, where gradient boost regression (GBr) and classification (GBc) (Friedman 2001) decision trees are method that combines weak learners, the individual decision trees, to obtain a stronger learner.All the trees are sequentially connected and each of them try to reduce the error of the previous tree.Due to the type of connection, this boosting technique is usually slower than others, but also more accurate.The light-gradient boosting machine regression (LGBMr) and classification (LGBMc) classifier (LGBMc) is a recent variant of previous algorithms based on trees (Ke et al. 2017).In this case, the tree grows vertically (grows tree leaf-wise) while another algorithm grows horizontally (grows level-wise) (Thai 2022).The algorithm will select the leaf with max "delta loss".When growing the same leaf, leaf-wise performs better than the level-wise algorithm.In general, it is not suitable for small datasets, due to overfitting (less 10k data).The extreme gradient boosting classifier (XGBc) and regression (XGBr) (Chen and Guestrin 2016) is a supervised predictive algorithm based on the principle of boosting.The idea behind boosting is to generate different "weak" models and improve their results in order to obtain a "stronger" model with better results.Finally, CatBoost (CBr) (Prokhorenkova et al. 2018), which name comes from "Category" and "Boosting" and builds symmetric trees, unlike XGB and LGBM.Leaves from the previous tree are split considering the following restriction: the feature-split pair for the lowest loss is considered and used for the whole nodes in a level.

48Likewise, the adopted sampling method is specified.For regression methods, a fundamental step in the pre-processing of the data for improving the performance of the models is to use a method which scales the input data in order to be compared at the same scale.The method we considered in the present study is StandardScaler.

49In the classification models, the output categorical data are handled, which requires a transformation from qualitative variables into quantitative ones.In this case, a set of labels has been defined for the clothing insulation level: Low (<0.6 clo), Medium-Low (0.6 clo-0.8clo), Medium-High (0.8 clo-1.0clo) and High (>1.0 clo).Figure 3 shows the distribution of the intrinsic clothing insulation level collected and the data distribution, based on the previous categorization.

50Regarding the decision of input characteristics to predict the optimal comfort clothing insulation level, it is also important to highlight the pre-processing phase in order to avoid the excess of data.

51An alternative, is the principal component analysis (PCA) technique, which is used to analyse large datasets (Friedman 2001) and improves finding relationships The reduction in the number of features analysed based on PCA seeks to find a small number of main components, which summarizes a large portion of the data variation (Aït-Sahalia and Xiu 2019) and simplifies the complexity of multi-dimensional spaces, while preserving their information.

52Regarding the sampling method, we considered the raw dataset (Luo et al. 2020).

53The "K-fold" cross-validation method is used in the present study for evaluating the resolution of the models.We used the 20-fold cross-validation, which has been proved to be a suitable value in the existing literature (Luo et al. 2020).Regarding the training and testing proportion, 80%-20% ratio is widely used in previous references (Gholamy et al. 2018;Wang et al. 2019b;Chai et al. 2020;Luo et al. 2020).Therefore, we considered the 80% of the dataset as training proportion.

54For machine learning regression models, we used as evaluation metric the R2 in order to compare the result of our study with previous investigations, due to the fact that, most of them, analyse the clothing behaviour from a statistical point of view and R2 is the variable usually provided.

55For machine learning classification models, accuracy and f1-score evaluation metrics were considered.

56The accuracy rate of the model prediction is calculated by Equation ( 1 The balance between the precision and the recall is shown by f1-score (Sokolova et al.2006), defined as follows (Equation ( 4)):

57Precision Recall f1 -score 2 Precision Recall

Results and discussion

58Firstly, the present section deals with an analysis of the relevance of the input variables and their relationship with the intrinsic clothing insulation level.Secondly, the performance of the 13 regression and 12 classification ML algorithms considered is also exposed and compared in order to define a final rank with them.

Exploratory data analysis: the relevance of input variables

59The objective of the study is predicting the clothing insulation level based on other known data, so the investigation of the relationship between the input variables and the clothing insulation level and the relevance of such features is an important challenge.As a result, and based on the references existing in the literature, a first dataset was obtained with twenty-one variables that could potentially be decisive in determining the clothing insulation level (Table 2), in which a comprehensive analysis was carried out for investigating their relevance.

60The twenty-one variables were categorised into General information, Personal information, Comfort information, Indoor environment and Outdoor environment.General category comprises information regarding the month and the time the questionnaires were collected as well as the season (spring, summer, autumn or winter).Personal information refers to the gender of the participant.Comfort information includes the comfort temperature (Tcomfort), calculated based on the Griffith method, and taking into account the indoor air temperature as well as the thermal sensation vote.Indoor environment comprises variables monitored during the field study and involves indoor air temperature (T air ), indoor relative humidity (HR), air velocity (V air ) and the temperature of a globe thermometer (T g ).Outdoor environment comprises variables monitored during the sample period and involves outdoor air temperature (T air ext ), outdoor relative humidity (HR ext ), the outdoor temperature of a globe thermometer (T g ext ), atmospheric pressure (Atm ext ), outdoor temperature at 6 a.m.(T out 6am ), dew point at 6 a.m.(DWPT 6am ) and outdoor relative humidity at 6 a.m.(RH 6am ).Additionally, we estimated the running mean temperature (T rm 0.8 ) depending on the running mean temperature of the previous day and the average temperature of the previous day and with an alpha equal to 0.8 (Nicol and Humphreys 2010).Similarly, we figured the running mean relative humidity (RH rm 0.8 ), the outdoor running mean temperature at 6 a.m.(T 6amrm 0.8 ), the running mean dew point (DWPT 6am 0.8 ) and the running mean relative humidity at 6 a.m.(RH 6amrm 0.8 ) in order to study feasible correlations with comfortable clothing insulation level and all of them with an alpha equal to 0.8.

61Initially, the correlation of the variables with the clothing insulation level was studied and shown in Table 3.After analysing the set of variables, it could be inferred that some of them could be eliminated based on the higher correlation between input variables themselves, such as: hour or the globe temperature.Other variables require a further analysis of their importance for the model, as they will be studied with the feature importance technique.

62It is observed a negative correlation between comfort clothing insulation and indoor temperature (Jiao et al. 2017;Ngarambe et al. 2019;Wang et al. 2019a;Nakagawa and Nakaya 2021;Rupp et al. 2021a;Thapa 2022;Zhuang et al. 2022), as well as with outdoor temperature and outdoor dew point temperature, which has been previously observed in previous studies (De Carli et al. 2007;Jiao et al. 2017;Liu et al. 2018;Ngarambe et al. 2019;Wang et al. 2019a;Ming et al. 2020).Indoor relative humidity and indoor air velocity seem to be slightly correlated with clothing behaviour (Schiavon and Lee 2013;Zhao et al. 2022), existing an inverse proportion with outdoor relative humidity.

63Regarding gender, there is not an agreement in the current literature.Some papers point out that gender is not a relevant variable when selection the ensemble (De Carli et al. 2007;Jiao et al. 2017), however, investigations based on a machine learning approach highlight its contribution for predicting clothing insulation (Ngarambe et al. 2019;Duhirwe et al. 2022).In the present work, although the gender is not the most relevant factor, seems to be connected with clothing behaviour.

64Outdoor variables are the factors with the strongest association with clothing insulation, higher than indoor parameters (Ngarambe et al. 2019).In particular, parameters related to outdoor temperature at 6 a.m. and dew point temperature at 6 a.m.seem to be the ones that most influence when people deciding their clothes (De Carli et al. 2007;Schiavon and Lee 2013;Ngarambe et al. 2019), followed by air temperature and running mean temperature (de Carvalho et al. 2013;Zhao et al. 2022).In the present study, it is also observed that the variables outdoor running mean temperature at 6 a.m.(T 6amrm 0.8 ) and the running mean dew point (DWPT 6am 0.8 ) seem to be better predictors of the clothing insulation level than just outdoor temperature at 6 a.m. and dew point temperature at 6 a.m.In the process of predicting clothing insulation, it is necessary an analysis to select the appropriate features for the ML models.For that, the feature importance technique was developed for the interpretability of the results.The feature importance assigns a score to each predictor based on its ability to improve predictions (Figure 4), so it is helpful for understanding what drives the model, but it does not show how that characteristic relates to the models' prediction.It is important to conduct this study of characteristics because it provides a measure of how much influences a specific predictor variable (a characteristic) on the accuracy of the models' prediction.

65For analysing the relevance of input variables, it is necessary to consider: Which of the features does the model think are most important?And which characteristics have the greatest impact on predictions?These concepts are known as "Important Feature", which shows a relevance rank of the features and "Permutation Importance" (Table 3) and they are used to calculate our input characteristics to the model.

66Based on the previous study, which results are shown in Table 3 and Figure 4, it is noted that, in the present work, the most relevant features and with the highest relevance are the running mean temperature at 6 o'clock in the morning, the indoor air temperature, the indoor relative humidity and the comfort temperature, as well as the gender and the barometric pressure.There are no special differences between the results obtained with free-running and mixed-mode data, although it can be noted that the variable "month" is more important and significant in the second one.

67It is observed that gender has a significant impact on predictions and the usefulness and impact of the temperature at 6 a.m., which agrees with the work of De Carli et al. (2007).Moreover, it could be highlighted that the indoor air temperature is an outstanding variable for the model.

Principal component analysis (PCA) transformation

68In order to further analyse the relevance of input variables and eliminate redundant information, we also considered the PCA transformation.Based on such technique, we selected 9 components from the original 21 variables-dataset, which would represent the 88% of the variability of the problem (Figure 5).It can be seen that, in the first component, all the items have mixed signs involving 21 characteristics, which means that there is a general correlation between the characteristics.

69PCA helps to select the components that provide the best value, although it assumes that the data are linearly dependent, and this is not always the case.

70In the following sections, it will be analysed which models improve their performance by the application of PCA transformation.

Comparison of machine learning algorithms for predicting clothing insulation level

71A comparison based on the performance of each algorithm was carried out.The results are presented independently, for regression and classification algorithms, considering the whole 21 input variables and applying the PCA transformation (9 input components).

Regression algorithms

72Figure 6 depicts the accuracy of the regression models analysed, based on the R2 value and considering the whole 21 input variables.The boxplot shows the mean score of each model, including the minimum score, the first quartile, the median, the third quartile as well as the maximum score.

73The ordinary least squares logistic regression (LR) Regarding KR and BR, the weights in the models not only have a predisposition to have the smaller absolute values, but they have a tendency to penalize the extremes of the weights.Both models have similar results to LR, R2 of 0.6 MM and 0.54 FR.So, Ridge is used to analyse any data that suffers from multicollinearity and could be considered as a good regularized of LR method.In the case of EN, its R2 was 0.33 MM and 0.18 FR, lower than LR.

74K-nearest neighbour regressor (KNN) model obtained similar results to LR, being the accuracy of this model equal to 0.57 MM and 0.40 FR.

75Two models obtained worse solutions than LR and KNN: decision tree (DT) and support vector machine (SVM).

76The simple decision tree, when there are large number of features with less datasets, may perform worse than linear regression.In general cases, decision trees would achieve better average accuracy, but in the present study, its R2 was 0.51 MM and 0.36 FR.In the case of support vector machine, R2 of 0.50 MM and 0.33 FR, a similar resolution was obtained.The SVM model generally supports, both linear and non-linear solutions, and handles outliers better than LR, but in this case, the model is not better than LR.

77The performance of random forest (RFr) (Cutler et al. 2012) is more accurate than decision tree, since a mean of R2 of 0.72 MM and 0.63 FR is observed.Similar solutions are obtained when the results are compared with Gradientboosted regression (GBr, R2: 0.72 MM, 0,64 FR), Light-gradient machine (LGBMr, R2: 0.72 MM, 0.61 FR), CatBoost (CBr, R2: 0.73 MM, 0.63 FR) or XGBoost (XGBr, The last regression model analysed is neural networks (NNr).If this model is compared to LR, LR is focused on linear dependencies, since NN deals with non-linearities.In general, when the model has some nonlinear dependencies, neural networks should perform better than LR, but in this case, the dataset has enough linear relationships and the LR, the RF, as well as the models belonging to the same family, perform all of them better than NN (R2: 0.48 MM, 0.23 FR).

78The result of applying Principal Component Analysis is also shown in Figure 6.

79After performing the PCA transformation as preprocessing method, it could be noted that some models enhance their performance.This is the case of K-nearest neighbour and support vector machine, but the rest of the regression algorithms did not improve the results.KR and EN were eliminated for the comparison analysis because they are used to determine multicollinearity and the method PCA penalized the resolution.point looking for its nearest neighbours and it usually achieves good results when enough information is available.Such model obtained an accuracy 0.57 MM and 0.49 FR and f1-score 0.55 MM and 0.48 FR.

Classification algorithms

80Concerning the decision tree classifier (DTc) algorithm, it is feasible to distribute the observations based on their attributes and thus, to predict the outdoor variable with accuracy 0.60 MM, 0.55 FR value and f1-score 0.61 MM, 0.53 FR value.However, it performed worse than random forest classifier (accuracy: 0.65 MM and 0.56 FR and f1-score: 0.64 MM and 0.56 FR), which is an ensemble of decision trees combined with bagging.Random forest classifier usually achieves better results, since each tree is trained with different data and when combining their results, some errors are compensated.

81The gradient boosting classifier (GBc) model involves different decision trees, which try to enhance the errors of the previous ones.For this reason, this algorithm leads to an improvement in the solution compared to the previous ones (accuracy: 0.66 MM, 0.55 FR and f1-score: 0.65 MM, 0.55 FR).Likewise, the extreme gradient boosting classifier (XGBc) (accuracy 0.65 MM and 0.56 FR and f1-score 0.65 MM and 0.56 FR) achieved similar results as well as the LGBM classifier (LGBMc) or light GBM classifier with accuracy 0.65 MM, 0.57 FR and f1-score 0.65 MM, 0.57 FR, probably due to its higher training speed and efficiency, and therefore precision (Ke et al. 2017).

82It is also possible to perform classification approaches with naive bayes algorithms, which unlike the previous ones, it is based on historical probability to obtain a future probability.Accuracy 0.59 MM and 0.50 FR and f1-score 0.58 MM and 0.46 FR were achieved, considering a normal distribution or a GaussianNB method.

83The last algorithm exposed is neural networks classifier (NNc), which accomplished worse results for classification (accuracy: 0.28 MM, 0.22 FR and f1-score: 0.12 MM, 0.09 FR) than for regression.

84After performing the PCA technique as pre-processing method, Figure 7 also shows the results of the classification algorithms considered.

85It can be noted that some models improved their performance with the PCA transformation, as for the linear regression and support vector machine.SGDc also enhanced its accuracy, as well as K-nearest neighbours (KNc).The rest of the classification algorithms did not improve their predictions.

86Based on previous results in the literature, it could be firstly concluded that random forest (RFr and RFc) and other models of the same family, as gradient-boosted (GBr and GBc), light-gradient machine (LGBMr and LBMc), CatBoost (CBr and CBc) and XGBoost (XGBr and XGBc) achieve the best results, for both, regression and classification techniques.Moreover, PCA transformation enhanced the performance of certain algorithms, without detriment of their accuracy.

87Comparing the results obtained with previous work, random forest (RFr and RFc) and gradient-boosted seem to perform better that statistical models in order to predict individual comfort clothing level of the occupants.In such kind of comparison, it is noted that different references were obtained from different experiments, dataset and data processing strategies.

88Based on the R2 value, linear regression-based algorithms could reach an accuracy in the same order of magnitude as other machine learning algorithms.In Schiavon and Lee (2013), the multivariable linear mixed models predicted 19%-28% of the total variance based on ASHRAE Database.In Su et al. (2022), the multivariable linear mixed model could explained 57.5% of the total variance considering the Chinese Thermal Comfort Database.

89For naturally ventilated buildings, in Wang et al. (2019a) the best performance was obtained with power statistical models, achieving a R2 of 0.557.In Nakagawa and Nakaya (2021), it raised up to 0.69 considering weighted regression analysis with binned data, being 0.14 for the raw dataset.

90Regarding papers which contemplate mixed-mode buildings, the linear regression model for women and men developed in De Carli et al. (2007) had a R2 equal to 0.25 and 0.39 respectively.In the work carried out by Rupp et al. (2021b), the type of building ventilation was considered for predicting the ensemble insulation based on multiple linear regression analysis with an R2 of 0.22.Taking only into account the data from naturally ventilated situations, it improved up to 0.31.

91In Ngarambe et al. (2019), the prediction of indoor clothing insulation levels was made through a deep learning approach using a deep neural network.The model obtained an accuracy of 0.90 considering mean observations, decreasing up to 0.33 for individual values.

Conclusions

92This paper aims to delve into the study between clothing insulation levels and the variables which it is related to and, also, into the prediction of the individual clothing insulation level in which users would feel thermal comfort with.For that, it centres on an analysis of the relevance of the input for such prediction and on comparing 13 regression machine learning algorithms and 12 classification machine learning algorithms.

93The main contributions of this study can be summarized as follows:

94 Outdoor temperature at 6 a.m., indoor air temperature, indoor relative humidity, comfort temperature, as well as gender are the most relevant features for predicting the clothing insulation level. In particular, the outdoor running mean temperature at 6 a.m. and the running mean dew point variables seem to be better predictors for the clothing ensemble than just outdoor temperature at 6 a.m. and dew point temperature at 6 a.m.Similar to the outdoor running mean temperature variable, the outdoor temperature at 6 a.m. is an exponentially weighted running mean of the daily mean air temperature at 6 a.m., which takes into account the historical values of outdoor temperatures at 6 a.m.Likewise, an improvement of the running mean dew point is based on an exponentially weighted running mean of the daily dew point.Moreover, running mean values have been previously proved to have relationship with clothing changing (Humphreys 1979). Principal component analysis (PCA) transformation does not generally enhance the performance of the regression machine learning, nor the classification regression machine learning algorithms for the dataset.Only KNNr and SVMr (regression algorithms) and KNNc, SVMc, LRc, and SGDc (classification algorithms) slightly improved the results. Different machine learning models for classification and regression have been compared, since it is often unclear which one would perform better.It has been observed that for regression models, RFr, GBr, LGBMr, CBr and XGBr achieved the best results with a mean of R2 of 0.72 and all of them for MM mode.As for the classification models, RFc, GBc, XGBc, LGBMc performed better than the other algorithms, with a mean accuracy and f1-score of 0.65 (for MM mode). The category which comprises decision tree-based algorithms with boosting techniques, or models that improve such techniques, achieve the highest accuracy when predicting the clothing insulation.The feature importance analysis provides insights into the key factors influencing clothing insulation (Figure 4), where decision three based on boosting techniques, might bring about performance improvements and by combining multiple weak models, enhance the overall predictive power.This ensemble approach might be particularly effective for capturing subtle nuances in thermal insulation prediction, and on the other hand, decision trees can naturally handle non-linear relationships in the data.

95The study reinforces the use of machine learning algorithms in order to improve the indoor comfort through passive adaptive actions regarding clothing insulation, expanding the actual knowledge based on indoor level clothing insulation considering a new combination of type of buildings and kind of building conditioning.Moreover, since systems are currently being developed that analyse users' clothing and their clothing insulation, e.g., using cameras, machine learning approach would be useful in order to predict an optimal ensemble and to assist the occupants of a building in terms of recommendations regarding their ensemble for the indoor environment, avoiding the overuse of heating, ventilating and air conditioning systems.Recommendations regarding clothing insulation level would be useful, for example, in terms of dress codes for achieving thermal comfort and energy efficiency.

Limitations and future trends

96Analysis of clothing insulation using a thermal manikin is one of the most accurate methods to obtain it, but it is challenging and not usually included in an adaptive thermal comfort field.Some researchers have obtained thermal insulation data for a large number of garments and ensembles by experimenting with thermal manikins and extensive clothing insulation databases have aided in the development of standard insulation values for some typical garments and ensembles in regulations, such as ISO 7730 and ASHRAE 55, which are widely used in comfort studies and field experiments.

97Due to the above, and although traditional models obtain good results in a concise way, analysis techniques are currently being developed to obtain clo values in a rapid and easier way, but that are capable of estimating the reality of field studies in buildings, being machine learning algorithm among them.

98However, since machine learning is a recent area of study, there are limitations to its real application, which should be studied in the future.Likewise, gaps in research in this area are suggested below, as well as the main recommendations for future studies:  It would be advisable to carry out studies to search for solutions that simplify or facilitate data collection and the development of ML-based models. The training data of this research are based on a field study carried out during a year, which includes winter and summer periods in a Mediterranean climate and it is based on a particular climatology and type of building.

99Although clo was analysed with various ML algorithms, further studies would be helpful in order to consider different climatic conditions, buildings, as well as conditioning systems and age ranges (elderly and children), which should be further investigated. Future studies are recommended focused on the impact of a smaller number of input variables to further investigate variable reduction.

100 Moreover, given the rapid and dynamic evolution of techniques in machine learning, there is a need to expand these analyses to encompass additional methods and further explore alternative algorithms in future studies, since there are few works that present analysis of the models based on field studies. It would be also interesting to analyse the possibilities of predicting the thermal resistance distinguishing between the upper and lower part of the body, or other segments, for inclusion in new thermal comfort models.

Fig. 1

101Fig. 1 Distribution of the intrinsic clothing insulation level

Fig. 2

102Fig. 2 Flowchart of the proposed methodology

Fig. 3

103Fig. 3 Clothing insulation labels for classification methods

104TP = true positives, TN = true negatives, FP = false positives and FN = false negatives.The precision and the recall are shown in Equation (2) and Equation (3

Fig. 4

105Fig. 4 Feature importance and permutation importance of input variables

Fig. 5

106Fig. 5 Feature of each variable in each principal component

Figure 7 Fig. 7

107Figure 7 illustrates the performance of the classification algorithms for the whole 21 input variables dataset.The logistic regression (LR) is quite similar to linear regression, basically it is a linear regression with an activation function which would lead to predict one class or another.LR presents a good solution, with accuracy 0.56 MM, 0.46 FR and f1-score of 0.53 MM, 0.45 FR versus other models like support vector machine classifier (accuracy: 0.52 MM, 0.23 FR; f1-score: 0.4 MM, 0.09 FR) and SGDc (accuracy: 0.46 MM, 0.34 FR; f1-score 0.36 MM, 0.28 FR).The linear discriminant analysis (LDA) model (accuracy: 0.63 MM, 0.53 FR; f1 score: 0.62 MM, 0.53 FR) improved the LR model results.As for the K-nearest neighbour classifier (KNc) algorithm, it is based on classifying a certain

Table 1

108Previous studies regarding clothing behaviour

Table 2

109Key variables related to clothing behaviour Reference Input variable Morgan and de Dear 2003 Indoor temperature, Outdoor temperature, Outdoor maximum temperature De Carli et al. 2007 Indoor air temperature, Outdoor temperature at 6 a.m., Outdoor mean daily temperature, Outdoor mean temperature, Outdoor weighted value on the temperature over last 4 days de Carvalho et al. 2013 Maximum outside temperature during that day, Maximum outside temperature during previous days, Outdoor running mean temperature, Effective temperature inside (ET)

110Rupp et al. 2021a Thermal sensation vote, Previous clothing insulation, Indoor operative temperature Su et al. 2022 Indoor air temperature, Climate zone, Building type Zhao et al. 2022 Age, Indoor operative temperature, 7-days running mean outdoor temperature, daily outdoor temperature Duhirwe et al. 2022 Personal factors, Building factors, Indoor and outdoor environmental factors, Thermal comfort parameters, Climate Zhuang et al. 2022 Indoor operative temperature

Table 3

111Relevance of input variables

참고문헌 64건

  1. Beyond Accuracy, F-Score and ROC: A Family of Discriminant Measures for Performance Evaluation Lecture notes in computer science · Springer Science+Business Media · 2006 10.1007/11941439_114
  2. Machine Learning : A Probabilistic Perspective 2012
  3. Developing an adaptive model of thermal comfort and preference Center for the Built Environment · 1998
  4. Greedy function approximation: A gradient boosting machine. The Annals of Statistics · Institute of Mathematical Statistics · 2001 10.1214/aos/1013203451
  5. Pattern Recognition and Machine Learning Journal of Statistical Software · Foundation for Open Access Statistics · 2007 10.18637/jss.v017.b05
  6. People's clothing behaviour according to external weather and indoor environment Building and Environment · Elsevier BV · 2007 10.1016/j.buildenv.2006.06.038
  7. Dynamic predictive clothing insulation models based on outdoor air and indoor operative temperatures Building and Environment · Elsevier BV · 2012 10.1016/j.buildenv.2012.08.024
  8. A Practical System of Units for the Description of the Heat Exchange of Man with His Environment Science · American Association for the Advancement of Science · 1941 10.1126/science.94.2445.428
  9. Weather, clothing and thermal adaptation to indoor climate Climate Research · Inter-Research Science Center · 2003 10.3354/cr024267
  10. Pioneering new indoor temperature standards: the Pakistan project Energy and Buildings · Elsevier BV · 1996 10.1016/0378-7788(95)00941-8
  11. Are ‘class A’ temperature requirements realistic or desirable? Building and Environment · Elsevier BV · 2009 10.1016/j.buildenv.2009.03.014
  12. Derivation of the adaptive equations for thermal comfort in free-running buildings in European standard EN15251 Building and Environment · Elsevier BV · 2009 10.1016/j.buildenv.2008.12.013
  13. Updating the adaptive relation between climate and comfort indoors; new insights and an extended database Building and Environment · Elsevier BV · 2013 10.1016/j.buildenv.2013.01.024
  14. Evolution of neural networks for classification and regression Neurocomputing · Elsevier BV · 2007 10.1016/j.neucom.2006.05.023
  15. World Map of the Köppen-Geiger climate classification updated Meteorologische Zeitschrift · E. Schweizerbart · 2006 10.1127/0941-2948/2006/0130
  16. Influence of weather and indoor climate on clothing of occupants in naturally ventilated school buildings Building and Environment · Elsevier BV · 2012 10.1016/j.buildenv.2012.08.005
  17. XGBoost 2016 10.1145/2939672.2939785
  18. Learning <i>k</i> for kNN Classification ACM Transactions on Intelligent Systems and Technology · Association for Computing Machinery · 2017 10.1145/2990508
  19. An efficient instance selection algorithm for k nearest neighbor regression Neurocomputing · Elsevier BV · 2017 10.1016/j.neucom.2017.04.018
  20. Field study on adaptive thermal comfort in mixed mode office buildings in southwestern area of Spain Building and Environment · Elsevier BV · 2017 10.1016/j.buildenv.2017.06.042
  21. The relationship between thermal environments and clothing insulation for elderly individuals in Shanghai, China Journal of Thermal Biology · Elsevier BV · 2017 10.1016/j.jtherbio.2017.07.002
  22. LightGBM: A Highly Efficient Gradient Boosting Decision Tree 2017
  23. The Elements of Statistical Learning Springer series in statistics · Springer Science+Business Media · 2009 10.1007/978-0-387-84858-7
  24. Why 70/30 or 80/20 Relation Between Training and Testing Sets: A Pedagogical Explanation 2018
  25. Indoor clothing insulation and thermal history: A clothing model based on logistic function and running mean outdoor temperature Building and Environment · Elsevier BV · 2018 10.1016/j.buildenv.2018.03.015
  26. CatBoost: unbiased boosting with categorical features arXiv (Cornell University) · Cornell University · 2017
  27. Artificial neural network models using thermal sensations and occupants’ behavior for predicting thermal comfort Energy and Buildings · Elsevier BV · 2018 10.1016/j.enbuild.2018.06.060
  28. Random Forests Machine Learning · Springer Science+Business Media · 2001 10.1023/a:1010933404324
  29. Optimal clothing insulation in naturally ventilated buildings Building and Environment · Elsevier BV · 2019 10.1016/j.buildenv.2019.03.029
  30. Predicting older people's thermal sensation in building environment through a machine learning approach: Modelling, interpretation, and application Building and Environment · Elsevier BV · 2019 10.1016/j.buildenv.2019.106231
  31. Analytical clothing model for sensible heat transfer considering spatial heterogeneity International Journal of Thermal Sciences · Elsevier BV · 2019 10.1016/j.ijthermalsci.2019.05.005
  32. IoT-based personal thermal comfort control for livable environment International Journal of Distributed Sensor Networks · Hindawi Publishing Corporation · 2019 10.1177/1550147719865506
  33. Prediction of indoor clothing insulation levels: A deep learning approach Energy and Buildings · Elsevier BV · 2019 10.1016/j.enbuild.2019.109402
  34. Assessing energy saving potentials of office buildings based on adaptive thermal comfort using a tracking-based method Energy and Buildings · Elsevier BV · 2019 10.1016/j.enbuild.2019.109611
  35. Dimension analysis of subjective thermal comfort metrics based on ASHRAE Global Thermal Comfort Database using machine learning Journal of Building Engineering · Elsevier BV · 2019 10.1016/j.jobe.2019.101120
  36. Comparing machine learning algorithms in predicting thermal sensation using ASHRAE Comfort Database II Energy and Buildings · Elsevier BV · 2020 10.1016/j.enbuild.2020.109776
  37. Using machine learning algorithms to predict occupants’ thermal comfort in naturally ventilated residential buildings Energy and Buildings · Elsevier BV · 2020 10.1016/j.enbuild.2020.109937
  38. CatBoost for big data: an interdisciplinary review Journal Of Big Data · Springer Science+Business Media · 2020 10.1186/s40537-020-00369-8
  39. Occupant behaviour in mixed-mode office buildings in a subtropical climate: Beyond typical models of adaptive actions Building and Environment · Elsevier BV · 2020 10.1016/j.buildenv.2020.107541
  40. Principal Component Analysis of High-Frequency Data Journal of the American Statistical Association · 2017 10.1080/01621459.2017.1401542
  41. Automatic estimation of clothing insulation rate and metabolic rate for dynamic thermal comfort assessment Pattern Analysis and Applications · Springer Science+Business Media · 2021 10.1007/s10044-021-00961-5
  42. Development of a novel method to detect clothing level and facial skin temperature for controlling HVAC systems Energy and Buildings · Elsevier BV · 2021 10.1016/j.enbuild.2021.110859
  43. A Review on Data Preprocessing Techniques Toward Efficient and Reliable Knowledge Discovery From Building Operational Data Frontiers in Energy Research · Frontiers Media · 2021 10.3389/fenrg.2021.652801
  44. Vision-based estimation of clothing insulation for building control: A case study of residential buildings Building and Environment · Elsevier BV · 2021 10.1016/j.buildenv.2021.108036
  45. Data-driven model predictive control for power demand management and fast demand response of commercial buildings using support vector regression Building Simulation · Springer Science+Business Media · 2021 10.1007/s12273-021-0811-x
  46. Investigating current trends in clothing insulation using a global thermal comfort database Energy and Buildings · Elsevier BV · 2021 10.1016/j.enbuild.2021.111431
  47. A survey of clothing insulation for university students in Japan: Effect of clothing insulation distribution between the upper and lower body in the winter Journal of Building Engineering · Elsevier BV · 2021 10.1016/j.jobe.2021.103287
  48. A three-dimensional thermoregulatory model for predicting human thermophysiological responses in various thermal environments Building and Environment · Elsevier BV · 2021 10.1016/j.buildenv.2021.108506
  49. Comfortable clothing model of occupants and thermal adaption to cold climates in China Building and Environment · Elsevier BV · 2021 10.1016/j.buildenv.2021.108499
  50. Study of thermal sensation prediction model based on support vector classification (SVC) algorithm with data preprocessing Journal of Building Engineering · Elsevier BV · 2021 10.1016/j.jobe.2021.103919
  51. Investigation of thermal comfort and adaptation among the residents of cold climate in the lower Himalayan region of eastern India Indoor and Built Environment · SAGE Publishing · 2022 10.1177/1420326x211067136
  52. Psychological adaptation to thermal environments and its effects on thermal sensation Physiology & Behavior · Elsevier BV · 2022 10.1016/j.physbeh.2022.113724
  53. Geographically extended occupant clothing behavior model using convolutional neural networks with hyperband technique Journal of Building Engineering · Elsevier BV · 2022 10.1016/j.jobe.2022.104023
  54. Machine learning for structural engineering: A state-of-the-art review Structures · Elsevier BV · 2022 10.1016/j.istruc.2022.02.003
  55. Influential factors and predictive models of indoor clothing insulation of rural residents: A case study in China's cold climate zone Building and Environment · Elsevier BV · 2022 10.1016/j.buildenv.2022.109014
  56. The Nature of Statistical Learning Theory 2000 10.1007/978-1-4757-3264-1
  57. A STUDY ON AIR-CONDITIONING LOAD CALCULATION METHOD CONSIDERING THERMAL SENSATION OF RESIDENTS Journal of Environmental Engineering (Transactions of AIJ) · 2014 10.3130/aije.79.73
  58. Feature Engineering and Selection Chapman and Hall/CRC eBooks · Informa · 2019 10.1201/9781315108230
  59. Random Forests Springer eBooks · Springer Nature · 2012 10.1007/978-1-4419-9326-7_5
  60. SVM-SMO-SGD: A hybrid-parallel support vector machine algorithm using sequential minimal optimization with stochastic gradient descent Parallel Computing · Elsevier BV · 2022 10.1016/j.parco.2022.102955
  61. Embedded Real-Time Clothing Classifier Using One-Stage Methods for Saving Energy in Thermostats Energies · Multidisciplinary Digital Publishing Institute · 2022 10.3390/en15176117
  62. Machine learning framework to predict nonwoven material properties from fiber graph representations Software Impacts · Elsevier BV · 2022 10.1016/j.simpa.2022.100423
  63. Performances of machine learning algorithms for individual thermal comfort prediction based on data from professional and practical settings Journal of Building Engineering · Elsevier BV · 2022 10.1016/j.jobe.2022.105278
  64. An Introduction to Statistical Learning Springer texts in statistics · Springer International Publishing · 2023 10.1007/978-3-031-38747-0