Research Article  Open Access
Abraham Assefa Tsehayae, Aminah Robinson Fayek, "Context Adaptation of Fuzzy Inference SystemBased Construction Labor Productivity Models", Advances in Fuzzy Systems, vol. 2018, Article ID 5802918, 16 pages, 2018. https://doi.org/10.1155/2018/5802918
Context Adaptation of Fuzzy Inference SystemBased Construction Labor Productivity Models
Abstract
Construction labor productivity (CLP) is one of the most studied areas in the construction research field, and several contextspecific predictive models have been developed. However, CLP model development remains a challenge, as the complex impact of multiple subjective and objective influencing variables have to be examined in various project contexts while dealing with limited data availability. On the other hand, lack of a framework for adapting existing or original models from one context to other contexts limits the possibility of reusing existing models. Such challenges are addressed in this paper through the development of a context adaptation framework. The framework is used to transfer the knowledge represented in fuzzy inference (FIS) based CLP models from one context to another, by using linear and nonlinear evolutionary based transformation of the membership functions combined with sensitivity analysis of fuzzy operators and defuzzification methods. Using four contextspecific CLP models developed for concreting activity under industrial, warehouse, highrise, and institutional building project contexts, the framework was implemented, and the prediction capability of the adapted models was evaluated based on their prediction similarity with the original models. The results showed that linearly adapted CLP models for industrial and institutional contexts and nonlinearly adapted CLP models for warehouse and highrise contexts provide a similar prediction capability with the original models. The proposed context adaptation framework and findings from this paper address the limitations in past context adaptation research by examining a practical contextsensitive application problem and further examining the role of fuzzy operators and defuzzification methods. The findings assist researchers and industry practitioners to take full advantage of existing FISbased models in the study of new contexts, for which data availability might be limited.
1. Introduction and Background
Construction labor productivity (CLP) has a direct and significant influence on success of construction projects; therefore, CLP has been well studied [1]. As a result, numerous predictive CLP models have been tested and developed, even though, collecting and modeling productivity data are known to require significant financial investment [2]. Existing CLP models have used various data analysis methods, including regression analysis, neural networks, expert systems, and fuzzy inference systems [1]. CLP modeling deals with a complex problem involving a large number of subjective and objective variables and is faced with limited data availability, thus, making CLP modeling an exceptional target for fuzzy inference systems. Fuzzy inference systems (FISs) have been proven to be effective tools for solving many engineering problems in biomedicine, robotics, pattern recognition, image processing, and control application areas [3]. More importantly, FISs are suitable for context adaption, whereby they can be adapted to suit other project contexts and enable users to take full advantage of existing FIS in the analysis of new contexts. Such a context adaptation process cannot be utilized with other CLP modeling approaches such as regression equations or neural networks, as the existing models have to be redeveloped or retrained before use in new contexts. Mao [4] used FIS to model labor productivity of concrete wall formwork activity. Pan [5] studied the effect of rainfall on productivity and duration of highway activities using a FIS. Fayek and Oduba [6] also used FISs to model the labor productivity of industrial pipe rigging and welding activities. Tsehayae and Fayek [7], using a system model approach, studied CLP of concreting activity under industrial, warehouse, highrise, and institutional building project contexts; the authors used a fuzzy hybrid approach, which incorporated FISs, developed using a datadriven fuzzy clustering technique, combined with a genetic algorithmbased model tuning process. However, model input variables (i.e., CLP influencing variables) used in the past FISbased CLP models and their associated impact on CLP varied from project to project, thus, making all of the developed CLP models contextspecific.
Context plays an essential role in FISbased CLP research, as it defines in which scenarios the findings of the FISbased CLP models are applicable, which implies that, under changed contexts, existing models cannot be used without some adaptation. Moreover, context adaptation of FISs has been recognized as an effective method for generating interpretable and accurate FIS models through tuning of the parameters contained in the data sets and based on the collected contextspecific information [8]. However, in the CLP modeling field, an approach for adapting such models from one context to another context is missing. Model adaptation is of particular importance for Mamdanitype FISbased models, as the fuzzy sets used in such models are highly contextspecific. In FIS, the ifthen rules are composed of fuzzy conditions (represented by the MFs of the input variables) and fuzzy conclusions (represented by the MFs of the output variables). Fuzzy sets are used to describe the respective linguistic variables, which characterize a CLP influencing variable like crew size using linguistic variables such as small crew size, medium crew size, and large crew size. An example of a CLP focused fuzzy rule is shown in the following, where the words in italics are the influencing variables or features and the linguistic variables are shown in bold. “If the crew size is small and the cooperation among craftsperson is very good and the level of interruption and disruption is low and the direct work proportion is high then construction labor productivity is high.”
A fuzzy set , representing a linguistic variable, is characterized using its membership function (MF), which represents numerically the degree to which an element belongs to the fuzzy set and fits the linguistic variable over a continuous range . In the FISbased CLP models, the input (key factors, practices, and work sampling proportions) and output (CLP) variables are partitioned using linguistic variables over their respective universe of discourse. For example, the linguistic variables could be represented using Gaussian membership functions. The function for a Gaussian MF is shown in (1), where represents the standard deviation, denoting the spread of , and represents the modal value, denoting the typical element of :
Membership functions (MFs) have many important descriptors. MFs employed in modeling endeavours are required to be normal; that is, at least one element of attains full membership () and represents a typical value of the fuzzy set. Support of fuzzy set represents all elements of that exhibit some association with the fuzzy set by having nonzero membership degrees and core of fuzzy set represents all elements of the universe that are typical to . Fuzzy inference systems consist of two main parts: a rulebase (RB) composed of the linguistic ifthen rules and a database (DB) which associates membership functions to the linguistic variables used in the RB, for example, small for crew size or high for CLP. However, it is worth noting that, in the DB parts of FISs, the concept of “small crew size” cannot be uniquely and universally defined, while concepts like “crew size under 5” can be. It is natural that construction professionals could define such fuzzy sets differently depending on the context of use, and the context itself must be properly defined using context attributes such as the contractor organization’s experience, project location, and type of projects (e.g., commercial or industrial). Thus, the exact definition of a fuzzy set like small crew size depends on a context attribute like type of project [9]. For example, industrial projects tend to have larger crew sizes as compared to commercial ones; thus, a small crew size in an industrial project could be equivalent to a medium crew size in commercial projects. On the other hand, the rulebase is assumed to be contextfree and is usually valid in any context, as the context of use affects only the meaning associated with each linguistic term used in the rules rather than the logic of the rules themselves [8, 10]. Therefore, in the context adaptation of FISs, the focus is on the linguistic variables and their respective membership functions.
Accordingly, the main objectives of this research are to develop a framework for context adaption of FISbased CLP models, test the framework using realworld problem, and improve on limitations with existing context adaptation approaches which relied on normalized MFs. This objective is critical in CLP research domain as context adaptation will enable the reuse of existing FIS models in new contexts, thereby saving model developers the considerable effort required to collect data and to develop new CLP models; it will also improve the application of existing models by construction organizations as existing models can be adapted to suit the organizations’ specific needs or contexts.
This paper begins with a literature review of the general context adaptation approaches. Then, a framework for adapting CLP models is formulated. Next, the paper illustrates the application of the framework by adapting a series of contextspecific CLP models to suit new contexts based on the field data collected for the same model features (i.e., model input and output variables) of the respective original CLP models. Then, a comparative assessment in terms of prediction accuracy and similarity between the adapted and original contextspecific models is carried out, and the effectiveness of the context adaptation framework is discussed. Finally, conclusions and areas for future research are presented.
2. Literature Review of Context Adaptation Approaches
Context plays an active part in construction research analysis as it is invariably dynamic and imperative for the development of meaningful findings [11]. Thus, context adaptation has an important application in deriving new models from existing ones. In the general computing field, most of the context adaptation research has been carried out on Mamdanitype FISs, which have been used in a wide range of areas due to their ability to handle linguistic concepts and perform accurate modeling of inputoutput relations [3]. In the context adaptation of FISs, the focus has been mainly on the linguistic variables and their respective membership functions as the rulebase is considered to be a contextfree model [12, 13]. According to Botta et al. [8], the following principles have been followed in adapting FISs: context adaptation will not modify the rulebase as the rulebase is considered to be a contextfree and universal knowledge; context adaptation will not change the number of linguistic variables and, consequently, the number of corresponding fuzzy sets defined in the rulebase; and context adaptation will not affect the sematic ordering of linguistic variables.
Context adaptation of FISs has been carried using either transformation functions or adaptive operators. Most context adaptation studies focused on the use of transformation functions [12–15]. According to Botta [3], a transformation function serves to adapt a database (DB) or fuzzy partition, which is made up of a group of MFs, each representing a linguistic term. The transformation function maps the universe of discourse of the base or original context MF to the universe of discourse of the adapted context, thereby modifying the distribution (i.e., support and core) and the shape of the MFs. Transformation functions have been commonly applied to adapt the base partition defined over a normalized universe of discourse as shown in Figure 1. However, the use of a normalized universe of discourse for the base or original MFs makes the database more general or context independent as the MFs in the DB are defined over a normalized range [12, 13]. In such a case, the universe of discourse is partitioned using common MFs like triangular, trapezoidal, or Gaussian [15] and is then adapted to another context partition defined over a universe of discourse of as shown in Figure 1. Commonly, linear and nonlinear transformation functions are used. Linear transformation functions are applied on the overall partition of the fuzzy sets and will either linearly expand or contract all the fuzzy sets (see Figure 1). However, nonlinear transformation functions are applied either to the overall partition or selected points of the fuzzy sets (refer to Figure 1), thus, changing all fuzzy sets or the breakpoints (i.e., points of intersection) of selected fuzzy sets [8].
The parameters of nonlinear transformation functions are derived using genetic algorithm or neural network based optimization approach over data collected for the new or target context using either field experiments or experts [12, 13]. Several nonlinear transformation functions have been applied. Magdalena [14] proposed a sign function for nonlinear transformation of fuzzy sets and provided an application example using cartpole balancing system control problem. Gudwin et al. [12] used a linear combination of sigmoidal functions and demonstrated the development of the functions using assumed data. Pedrycz and Gomide [16] suggested the use of piecewise linear function. According to Gudwin et al. [12], transformation functions should meet certain requirements so as to preserve ordering and normality of the base linguistic variables. In particular, they are required to fulfil continuity, nondecreasing monotonicity, and boundary conditions.
Adaptive operators are specifically designed operators that adjust the universe of discourse of the fuzzy sets and modify the core, support, and shape of fuzzy sets. According to Botta [3], the context adaptation process using adaptive operators is based on a flexible nonlinear transformation function and four orthogonal fuzzy modifiers: coreposition modifier, corewidth modifier, supportwidth modifier, and membership function shape modifier. The fuzzy modifiers are formulated using genetic algorithm based optimization process. Botta [3] tested the approach using four datasets, including a contextaware benchmarking dataset that arbitrarily assigns MFs to a universe of discourse, structure of wage dataset which includes years of experience and wage, a synthetic dataset generated using a parametric function, and fuel consumption dataset. However, adaptive operators modified the fuzzy partition in way that the order of the fuzzy sets was affected, resulting in reduced interpretability of the adapted fuzzy partition [8].
The interpretability of the adapted fuzzy partitions can be verified using coverage, normality, and distinguishability properties [8]. The adapted fuzzy partition has to cover the new or adapted context’s universe of discourse . The adapted MFs of the fuzzy sets are also required to be normal so that at least one element of the universe of discourse will have full membership. The overlap of the fuzzy sets in the adapted fuzzy partitions has to be kept to a level that each couple of fuzzy sets are distinguishable enough [3]. The overlap between fuzzy sets can be measured using a possibility measure (see (2)). In order to ensure interpretability of the adapted fuzzy partition, the overlap () among the fuzzy sets should not exceed 0.8 [17].
In the general computing field, several FIS context adaptation studies have been carried out [8, 12, 14, 18]; however, the following limitations are observed. First, transformation function based studies were applied on normalized base or original MFs defined over range, resulting in the adaptation of theoretical or context independent MFs to contextsspecific MFs. Second, most studies lacked practical application and rather focused on demonstrating the context adaptation method using benchmark datasets. Third, in FISs, not only the MFs but also the fuzzy operators and defuzzification methods are contextdependent [19]. However, past studies mainly used minimum operator for input aggregation and implication and centroid for defuzzification [3] and failed to evaluate the sensitivity of adapted models for fuzzy operators and defuzzification methods.
Similarly, in the construction research field, context adaptation is also scantly explored. Past studies have not studied context adaptation of FIS models as an approach for reusing existing models in new contexts but rather focused on the fine tuning of the FIS model parameters with the sole aim of improving the model’s accuracy. According to Awad and Fayek [20], the fine tuning of a FIS model improved the accuracy of predicting contractor’s default by tuning the MFs and weight of rules of the FIS using neural network and genetic algorithm techniques. Fayek and Oduba [6] improved the accuracy of FISbased CLP models for industrial pipe rigging and welding activities, by shifting the right, left, and both legs of the triangular and trapezoidal output MFs. Idrus et al. [21] also followed the FIS tuning approach proposed by Fayek and Oduba [6] and showed an improvement in accuracy of predicting construction project cost contingency.
3. Context Adaptation of CLP Models Using Transformation Functions
This paper provides a framework that addresses CLP modeling challenges through the use of a context adaptation framework. The context adaptation framework is based on linear and nonlinear transformation functions rather than adaptive operators, as transformation functions provide a transparent context adaptation framework for the MFs of FISbased CLP models while adaptive operators will modify the fuzzy partition, resulting in reduced interpretability of the adapted fuzzy partition. The framework, unlike past studies which focused on context independent base MFs, will focus on adapting contextspecific MFs that are defined over universe of discourse to another context defined over a universe of discourse . In addition to adapting the MFs, the framework also tests the effect of fuzzy operators and defuzzification methods on the adapted models. The following procedure is developed for context adaptation of FISbased CLP models. The underlying process in the context adaptation procedure involves the determination of a context adaptation or transformation function, using data collected from the new context, for adapting the base fuzzy set , represented by the base or base MF, to an adapted fuzzy set , represented by the adapted MF as shown in Figure 2.
The procedure for context adaptation is summarized in the following steps:(1)Identify the base fuzzy sets for a given context and for each model feature (model input and output variables) of the base contextspecific CLP model. The universe of discourse of each feature and the parameters of the MFs such as the standard deviation and modal values of Gaussian MF’s of the base fuzzy set are documented.(2)Collect data from the new context for each feature of the base model, using field data collection or experts. The documented data set (), where represents the total number of data instances of a given feature, will then be used to determine the upper and lower limits of the adapted fuzzy set , the preliminary MFs of the adapted fuzzy set , and then the appropriate context adaptation function .(3)Determine the boundary or upper and lower limits of the adapted fuzzy set . For example, using the absolute limit context determination approach [12], the lower bound is taken as the minimum data value; thus and the upper bound is taken as the maximum data value; thus .(4)Determine the preliminary MFs of the adapted fuzzy set using the collect data from the new context using either expert or datadriven MF development approaches. Expertdriven approaches such as direct (horizontal or vertical), exemplification, and pairwise comparison or datadriven approaches such as inductive reasoning and fuzzy clustering can be used. The preliminary MFs will be used to determine the nonlinear transformation function.(5)Determine the parameters of the context adaptation functions for linear and for nonlinear transformation of MFs.(6)Develop the MF of the adapted fuzzy set using either the linear or nonlinear adaptation functions as expressed in (7)Evaluate the overlap among the adapted MFs using possibility measure (see (2)) in order to ensure the distinguishability of adapted fuzzy sets.(8)Adapt the base CLP model by replacing the base MFs with the adapted MFs for each model feature (input and output variables) and evaluate the prediction ability of the adapted CLP model. FIS model accuracies can be determined using the root mean square error (RMSE) [22]. The RMSE of the adapted CLP model is calculated using (4), where is the new context’s target CLP value for the th data instance, is the corresponding predicted CLP value, and is the total number of data instances.(9)Evaluate the sensitivity of the adapted CLP model for fuzzy operators and defuzzification methods and summarize the improvement in prediction ability.(10)Determine the similarity between the adapted and base model of the new context using model agreement measures. The use of the modified Willmott agreement index is recommended to determine the similarity between models. The index is dimensionless, bounded, less sensitive to extreme values and outliers, and suitable for crosscomparison between models [23]. The Willmott agreement index is shown in (5), where represents the predicted values obtained from the adapted model, is the predicted values obtained from the base or original model of the new context, is the mean value of the predicted values from the base model of the new context, and is the total number of data instances. The value varies from 0 to 1, and a value of 1 indicates a perfect agreement between the adapted and base models.(11)Compare and contrast the agreement indices and prediction ability of the resulting adapted models for both linear and nonlinear transformation of MFs and combinations of fuzzy operators and defuzzification methods and identify the most appropriate context adaptation approach.
4. Context Adaptation of ContextSpecific Concreting Activity CLP Models
The preceding context adaptation procedure was tested using the field data collected for concrete pouring activity. The data were gathered from six building projects in the greater Edmonton area of Alberta, Canada, from June 2012 to October 2014. The projects included a mixeduse office and staff facility building, an industrial warehouse building, a commercial warehouse building, a mixed residential and community center building, a mixed commercialresidential building, and an institutional building. Concrete pouring activity was studied in three data collection cycles, where each cycle extended over a monthlong period and encompassed different weather seasons. For each data collection case, WS observations were made for the crew under study, and influencing variables (factors and practices), total manhours, and installed quantities were documented. CLP was defined as the ratio of units of output—in terms of installed quantity (m^{3})—to units of input—in terms of total labor work hours (MH)—where higher CLP values are desirable.
First, an operational definition of context for CLP modeling was developed, which was based on the context attributes that constrain the four elements of a CLP model (user, model developer, model, and prevailing environment of the model) without intervening in the model development process explicitly. Accordingly, the context attributes for each of the studied six projects were generated using the 5W1H questions approach: Who, What, Where, When, Why, and How. Among the generated context attributes, the following context attributes distinguished the six projects that were studied and, thus, were used as the key context attributes in comparing and identifying the similarity of the projects: “Who” attributes, related to the project owner’s primary driver (schedule, cost, quality, or safety), contractor team’s experience, and contractor organization’s experience; “What” attributes related to project (i.e., building) type, site layout, project safety practice, and project productivity measurement and tracking practice; and “Where” attributes related to project location.
Accordingly, projects having identical values to key context attributes were grouped together, and the project nature (building type) context variable was used to name the four unique contexts. Context 1, representing concreting in industrial buildings, includes the datasets of the first two projects (the mixeduse office and staff facility building and the industrial warehouse building). Context 2, representing concreting in Warehouse buildings, includes the dataset of the third project (a commercial warehouse building). Context 3, representing concreting in highrise buildings, includes the datasets of the fourth and fifth projects (the mixed residential and community center building and the mixed commercialresidential building). Context 4, representing concreting in institutional buildings, includes the data set of the sixth project (the institutional building). A more detailed discussion of the context attributes can be found in the study presented in the thesis work of the first author [24].
Then, four contextspecific CLP models, summarized in Table 1, were developed and optimized for predicting labor productivity of concreting (concrete pouring) activity using Mamdanitype FIS models, which were used as base or original CLP models. The models were developed using Fuzzy Means clustering and Gaussian membership functions (MFs) were used. The following FIS model parameters were optimized: the fuzzification coefficient in FCM clustering, membership function parameters, number of rules, and fuzzy operators and defuzzification methods, resulting in improved accuracy and interpretability of the four contextspecific CLP models. A more detailed discussion of the contextspecific model development process can be found in the study presented by Tsehayae and Fayek [7].
 
Note. Model features represent: crew size, craftsperson onjob training, crew composition, cooperation among craftspersons, team spirit of crew, level of interruption and disruption, fairness of work assignment, location of work scope (distance), location of work scope (elevation), congestion of work area, fairness in performance review of crew by foreman, site congestion, treatment of foremen by superintendent and project manager, uniformity of work rules by superintendent, outofsequence inspection, safety training, project safety administration and reporting, oil price fluctuation, natural gas price, concrete placement technique, structural element type, direct work proportion, preparatory work proportion, tools and equipment proportion, material handling proportion, travel proportion, and personal proportion, CLP. 
The properties of the optimized FISbased CLP models, shown in Table 1, indicate the contextspecific nature of models as they had distinctly different key influencing input variables (made up of factors, practices, and work sampling proportions), number of membership functions or number of rules, fuzzification coefficients, fuzzy operators, and defuzzification methods. The context adaptation framework presented in this paper was tested by adapting the four contextspecific CLP base models from one context to another, as shown in Figure 3. Accordingly, the industrial context CLP model is adapted to suit the warehouse, highrise, and institutional contexts using linear and nonlinear transformation functions, and a similar process is repeated for the other three contexts. The adaptation process, for each context, resulted in six adapted models: three linearly adapted models and three nonlinearly adapted models (see Figure 3). The adapted models are compared with the base model developed for the given context (refer to Table 1) using model accuracy in terms of RMSE and modified Willmott agreement indices.
In the following sections, a numerical illustration of the context adaptation framework is discussed based on the adaptation of the model output (CLP) feature from institutional to industrial context. The institutional (context 4) CLP model has 12 model features (11 input and one model, i.e., CLP variable) and seven rules, implying an equal number MFs representing the fuzzy sets . The base MFs for model output (CLP) had a universe of discourse and the mean CLP was 4.25 m^{3}/MH, with standard deviation of 2.21.
For given contextspecific CLP model, all model features’ MFs are adapted using linear and nonlinear transformation functions to three other contexts, and initial model accuracies, (where CAL represents the context adapted CLP model using linear adaptation) and (where CANL represents the context adapted CLP model using nonlinear adaptation), respectively, are established. Then, the sensitivity of the adapted models for fuzzy operators and defuzzification methods is investigated for both linear and nonlinear adapted models and final model accuracies, (where CAL represents the context adapted CLP model using linear adaptation after sensitivity analysis) and (where CAL represents the context adapted CLP model using nonlinear adaptation after sensitivity analysis), respectively, are established. Next, the agreement indices () between adapted and base models were computed for identifying the appropriate linear or nonlinear adaptation approach. Finally, the model accuracies of the adapted models are compared and the best performing context adaptation approach is identified. For the adapted MFs the following linguistic labels are used: (very low), (low), (medium low), (medium), (medium high), (high), and (very high). The parameters of the seven Gaussian MFs of the base or base model output variable are as follows: , , , , , , and .
The CLP data from industrial context (context 3) was then retrieved from collected data and had values of universe of discourse and the mean CLP was 2.69 m^{3}/MH, with standard deviation of 1.83. Next, the parameters of the context adaptation functions for linear adaptation and for nonlinear adaptation are developed, as discussed in the following subsections.
4.1. Linear Adaptation
In linear adaptation, the base MFs defined over a universe of discourse of are adapted to the contextadapted universe of discourse by means of a linear transformation function shown in (6), where is used to represent the bounds of the adapted MF:
Accordingly, the respective institutional CLP context linguistic variables are adapted to industrial CLP context linguistics variables using the linear transformation function shown in the following:
Thus, the seven MFs for CLP feature in the adapted context (industrial context) are determined by replacing the parameters of the membership function of the base fuzzy sets with adapted values based on . The parameters of the seven adapted Gaussian MFs of the CLP variable are , , , , , , and .
The results of the linear adaptation of the MFs are shown in Figure 4. The degree of overlap among the adapted MFs is not exceeding the limiting value of 0.8 [17]. A similar linear adaptation procedure was applied to the other 11 input variables of the Institutional CLP model.
Then, the MFs of the Institutional context model were replaced with the adapted ones, resulting in the linearly adapted Institutional context model for use in industrial context. The linearly adapted CLP model was used to predict CLP values of the industrial context, which had 23 data instances (refer to Table 1). The adapted model had an initial value of 1.832.
4.2. Nonlinear Adaptation
Nonlinear adaption involves the use of a nonlinear transformation function that changes the universe of discourse of the base or base MFs and also modifies the shape and distribution of the MFs in the space of the adapted universe of discourse [3]. Accordingly, the base or base MFs defined over a universe of discourse of are adapted in the contextadapted universe of discourse by means of a nonlinear transformation function , where represents the identified bounds of the adapted MFs (refer to Figure 5). The determination of the parameters of the nonlinear transformation function requires an optimization process [12].
In this research, a piecewise linear transformation function is used in order to develop an interpretable, logical, and fully invertible, where the inverse is also a function, nonlinear context adaptation process [16]. For piecewise linear transformation function , shown in Figure 5, the set of the adjustable parameters is made up of a collection of the split points and associated differences , represented as . The piecewise functions, which will be determined using an optimization process discussed below, will result in nonlinear mapping as some regions of will be contracted and some of them will be expanded, resulting in modification of the shape and distribution of the MFs in the space of the adapted universe of discourse [16].
In order to improve the effectiveness of the optimization process required for determining the parameters of the piecewise linear transformation function with limited data from new contexts, the number of split points is kept to five points, as setting a higher number will have required increased amount of data and on the other hand setting a lower number will reduce the nonlinearity of the function. According to Gudwin et al. [12], context transformation functions are expected to fulfil the following requirements: continuity, monotonicity, and boundary conditions. The use of specifically nondecreasing monotonic piecewise functions ensures that the meaning and order of the linguistic terms is not changed [10]. Additionally, setting the boundary conditions and allows for the coverage of the new context data.
4.2.1. Computation of Nonlinear Transformation Function
Once the format or type of the nonlinear transfer function is selected, the determination of the parameters of in terms of was carried out via optimization computations. The optimization process begins with the collection of MFs (linguistic terms) as the base MFs of a given model feature (model input or output variable) and the dataset () collected for the same feature, but from the new context. Then, using Fuzzy Means (FCM) clustering, the preliminary MFs representing the adapted fuzzy sets were developed using the collected dataset (). The numbers of prototypes or cluster centres for FCM clustering are set equal to the number of base or base MFs, and the commonly used fuzzification coefficient of 2.0 is used [16]. The resulting degrees of memberships of each data instance in the preliminary adapted fuzzy sets are arranged in the form of – tuples, as shown below, where the th tuple consists of that denotes a point, under consideration, in adapted universe of discourse where are the numeric values of the corresponding membership degrees of in preliminary adapted fuzzy sets , respectively:
Then, the difference between the degree of membership of from the preliminary adapted MF and the degree of membership of computed using the transformation process was computed for each MF and for the respective data instance. This difference between the preliminary adapted fuzzy sets and the adapted MFs developed using the nonlinear transformation functions formed the objective function of the optimization process. The objective function was calculated using sum of squared differences as shown in the following:
Thus, the determination of the nonlinear transformation function involved the minimization of the objective function with respect to parameters of . The solution of this constrained nonlinear minimization optimization problem can be effectively developed using genetic algorithm, as the objective function is nonlinear and nonconvex (has multiple feasible regions), as the use of the traditional gradient based optimization techniques, such as generalized reduced gradient approach, will only lead to local optimum solutions [12]. Accordingly, an optimization process using genetic algorithm was used, and the parameters of the nonlinear transformation function were used for real coding of the chromosome in the genetic optimization process. The objective of the genetic search was to minimize the objective function , and the fitness value of each solution was determined by calculating . Then, the genetic operations of reproduction, crossover, and mutation were performed. Each operation generated new sets of chromosomes, representing a new solution that meets the optimization constraints. The solution chromosomes are checked according to the following nonlinear context adaptation constraints. The parameters of the nonlinear transformation function must be greater than zero. Boundary conditions for coverage of the new context data are defined over and using the base or base MF range of : , , , and . The th split value must not be greater than that of the th split value . The th difference value must not be greater than that of the th difference value . In the genetic optimization process, initial population of 100 solutions was randomly generated, and mutation rate of 0.075 and stopping criteria based on convergence value of 0.0001 was used.
4.2.2. Computational Results for Nonlinear Adaptation of CLP Models
The numerical illustration of the nonlinear context adaptation of the output feature (CLP) from institutional to industrial context is discussed here. As discussed above, the seven base fuzzy sets for CLP variable and associated MFs from institutional context were first documented. Next the CLP dataset () collected from the industrial context is retrieved and had values of universe of discourse of . Using Fuzzy Means (FCM) clustering, the preliminary MFs of the adapted fuzzy sets were developed, where the number of prototypes for FCM clustering was set at seven, equal to the original number of MFs. Then, using genetic algorithm based optimization, the parameters of the nonlinear piecewise transformation function were developed, and the resulting parameters were .
Thus, the seven MFs for CLP variable in the adapted context (industrial context) were determined by replacing the parameters of the membership function of the base fuzzy sets with adapted values based on . The results of the nonlinear adaptation of the MFs are shown in Figure 6.
The parameters of the seven nonlinearly adapted Gaussian MFs of the CLP variable were , , , , , , and . The results shown in Figure 6 indicate that the shape of some of the MFs has contracted, the distribution of the MFs over the universe of discourse have been modified, and in some cases the degree of overlap among the adapted sets was higher than the recommended maximum value of 0.8 [17]. Such changes of MFs will naturally reduce the interpretability of the adapted models; however, this is a common problem witnessed in nonlinear adaptation of fuzzy systems [15].
A similar nonlinear adaptation procedure was applied to the remaining 11 input variables of the institutional CLP model. Then, the MFs of the institutional context model were replaced with the adapted ones, resulting in the nonlinearly adapted institutional context model for use in industrial context. The nonlinearly adapted CLP model was used to predict CLP values of the industrial context, which had 23 data instances (refer to Table 1). The adapted model had an initial value of 2.742.
4.3. Sensitivity Analysis of Adapted Models for Fuzzy Operators and Defuzzification Methods
The sensitivity of the linearly and nonlinearly adapted CLP models was then further evaluated by changing the fuzzy operators and defuzzification methods. The following options of fuzzy operators and defuzzification methods were tested: for input aggregation [MIN (minimum) and PROD (product)], for implication [MIN (minimum) and PROD (product)], for rule aggregation [MAX (maximum), SUM (sum of each rule’s output set), and PROBOR (probabilistic OR)], and for defuzzification [CENTROID, BISECTOR, MOM (middle of maximum), LOM (largest of maximum), and SOM (smallest of maximum)]. The sensitivity options were varied one at a time, and a total of 30 unique combinations were tested. The options and results for linearly adapted institutional context model, which was linearly adapted to suit industrial context, are shown in Table 2.

For each linear and nonlinear adapted CLP model, the final adapted model’s (i.e., after sensitivity analysis) accuracy measures of and of 1.832 and 2.738, respectively, were determined based on the best combination of the listed options of fuzzy operators and defuzzification methods. The results yielding the lowest and values, shown in bold in Table 2, provided the best adapted fuzzy operators and defuzzification methods for adapted CLP models. Finally, the agreement index between the adapted and the base model, described in Table 3, was computed using the modified Willmott index (see (5)). Accordingly, the appropriate context adaptation approach was the linearly adapted model, as it had an agreement index of 0.340, while the nonlinearly adapted model had an agreement index of only 0.142.

5. Results and Discussion
The linear and nonlinear context adaptation framework was tested and validated using the four contextspecific CLP models, as shown in Figure 3, by comparing the prediction results of the context adapted models with the actual field data of the new context. The results of the context adaptation process, summarized for each context, are presented in the following sections.
5.1. Industrial Context CLP Models
For the industrial context, six adapted models were developed from warehouse, highrise, and institutional contexts based on linear and nonlinear adaptation process. The base CLP model for industrial context had an RMSE value of 1.162. In Table 3 the results of the adaptation process are shown, where the initial RMSE values represent the accuracy of the adapted models in predicting the CLP values of the Industrial context, and the final RMSE values represent the accuracy of the adapted models after sensitivity analysis. The best performing fuzzy operators and defuzzification methods are also shown in Table 3.
Based on the agreement indices of the six adapted models, as shown in Table 3, the model linearly adapted from institutional context has the highest agreement with the base model of the industrial context with an agreement index value of 0.340 and RMSE value of 1.832. The model nonlinearly adapted from institutional context has the least agreement with the base model with an agreement index value of 0.142 and RMSE value of 2.738. Additionally, the linearly adapted models from all three contexts, as compared to the nonlinearly adapted models, had better agreement indices with the base model; the models also had a higher accuracy based on RMSE values. However, it should be noted that, in terms of model accuracy, none of the adapted models performed better than the base model.
5.2. Warehouse Context CLP Models
For the warehouse context, six adapted models were developed from industrial, highrise, and institutional contexts and based on linear and nonlinear adaptation process. The base CLP model for warehouse context had an RMSE value of 0.467. Based on the agreement indices of the six adapted models, the model nonlinearly adapted from industrial context has the highest agreement to the base model of the warehouse context with an agreement index value of 0.459 and RMSE value of 0.939. The model linearly adapted from institutional context has the least agreement with the base model with an agreement index value of 0.144 and RMSE value of 2.267. Additionally, the nonlinearly adapted models from industrial and highrise contexts, as compared to respective the linear adapted models, had better agreement with the base model; the models also had a higher accuracy based on RMSE values. However, in terms of model accuracy, none of the adapted models performed better than the base model.
5.3. HighRise Context CLP Models
For the highrise context, six adapted models were developed from industrial, warehouse, and institutional contexts and based on linear and nonlinear adaptation process. The base or base CLP model for highrise context had an RMSE value of 0.992. Based on the agreement indices of the six adapted models, the model nonlinearly adapted from warehouse context has the highest agreement to the base model of the highrise context with an agreement index value of 0.427 and RMSE value of 3.851. The model linearly adapted from institutional context has the least agreement with the base model with an agreement index value of 0.181 and RMSE value of 4.627. Additionally, the nonlinearly adapted models from all three contexts, as compared to the linearly adapted models, had better or equal agreement with the base model. However, both linearly and nonlinearly adapted models had similar accuracy based on RMSE values. Similar to the contexts discussed above, none of the adapted models performed better than the base model.
5.4. Institutional Context CLP Models
For the institutional context, six adapted models were developed from industrial, warehouse, and highrise contexts and based on linear and nonlinear adaptation process. The base CLP model for institutional context had an RMSE value of 0.671. Based on the agreement indices of the six adapted models, the model linearly adapted from industrial context has the highest agreement to the base model of the institutional context with an agreement index value of 0.398 and RMSE value of 2.552. The model nonlinearly adapted from industrial context has the least agreement with the base model with an agreement index value of 0.199 and RMSE value of 2.552. However, a clear difference between linear and nonlinear adaptation options based on agreement or accuracy measures were not found in the institutional context case. Also, in terms of model accuracy, none of the adapted models performed better than the base model.
In summary, the review of the linear and nonlinear adaptation approaches indicated that linear adapted models were in better agreement with those of the base models for industrial and institutional contexts, and nonlinear adapted models were in better agreement with those of the base models for warehouse and highrise contexts. However, the use of nonlinear adaptation approach has resulted in reduced interpretability of the adapted models, due to the change in the shape and distribution and higher overlap of adapted MFs. Notably, the sensitivity analysis on fuzzy operators and defuzzification methods did not show significant improvement in adapted model’s accuracy. This finding supports the option used in past studies, such as Botta [3], which only used minimum operator for input aggregation and implication and centroid for defuzzification.
In terms of prediction accuracy, in all four contexts, none of the adapted models performed better than the base models. This is expected as the base models have been developed and further optimized to improve models’ accuracy [7]. The comparison of the adapted models’ accuracy with those of the base contextspecific models, before optimization process was carried out to fine tune the base model’s parameters as described in Tsehayae and Fayek [7], showed promising results for the industrial and warehouse contexts. The base industrial context model before optimization had an RMSE value of 1.582, and the most accurate linearly adapted model from warehouse context has an RMSE value of 1.831. Similarly, the base warehouse context model before optimization had an RMSE value of 0.586 and the most accurate linearly adapted model from highrise context has an RMSE value of 0.719. Considering the effort and cost required for collecting data on all CLP influencing variables and to develop and optimize new models, the use of context adaptation framework presented in this paper, which enables the reuse of existing CLP models through the transfer of knowledge from one context to another will provide a simpler and efficient alternative for developing CLP models.
6. Conclusions and Future Research
Construction labor productivity is one of the most studied areas in the construction research field, and severalFISbased predictive models have been developed; however, a framework for adapting such FISbased models from one context to another is missing. This paper developed a context adaptation framework for transferring the knowledge represented in FISbased CLP models from one context to another. The framework employed linear and genetic optimizationbased nonlinear MF transformation functions accompanied by sensitivity analysis for fuzzy operators and defuzzification methods of the adapted FIS models. Using four contextspecific CLP models for concreting activity under industrial, warehouse, highrise, and institutional building contexts, the developed context adaptation framework was implemented. Comparisons of the adapted models, using agreement indices and RMSE accuracy measures, with the base model of the four contexts uncovered many findings. The results of the investigation indicated that linearly adapted CLP models were similar to the base CLP models in industrial and institutional contexts, while the nonlinearly adapted CLP models were similar to the base CLP models in warehouse and highrise contexts. However, in terms of model accuracy, none of the adapted models performed better than the base model of a given context. Additionally, the sensitivity analysis on fuzzy operators and defuzzification methods did not show significant improvement in adapted model accuracy. Furthermore, the best adapted model for each context was validated and contextual similarities in terms of CLP prediction agreement indices between base and adapted models were examined.
The contributions of this paper can be grouped into three areas. First, the paper showed the value of context adaptation approaches using a practical contextsensitive application problem (CLP modeling). While past studies manly focused on demonstrating the value of context adaptation approaches using benchmark datasets and theoretical context independent MFs defined over a normalized universe of discourse, this study tested the context adaptation approaches using real world CLP datasets collected from six construction projects and contextdependent MFs defined over the actual universes of discourses of FIS model features. This study also investigated the effect of fuzzy operators and defuzzification methods in the context adaptation of FIS and showed their limited effect on the accuracy of the adapted models. Second, the paper has advanced the state of the art in fuzzy modeling in CLP studies by introducing and testing an approach for adapting MF using linear and genetic optimizationdriven nonlinear transformation functions, which provided a transparent approach for adapting MFs from base to adapted contexts. Finally, the paper developed a context adaptation framework, which enables researchers and industry practitioners to take full advantage of existing FISbased CLP models in the study of new contexts for which data availability is limited. The framework also improves the application of existing CLP models by construction companies as existing models can be adapted to suit the companies’ specific need or context. Also, the comparison of the adapted and original models demonstrated that, for the sake of CLP model development, similarities among unique construction contexts do exist. Such similarities will assist project managers to easily transfer past experiences and knowledge bases and lead to the better management of future projects.
Currently, additional data are being collected from ongoing construction projects to further test this study and its findings and to examine other nonlinear transformation functions so as to improve the prediction accuracy of adapted CLP models. Future research is focusing on the development of a framework for abstraction of various contextspecific CLP models to develop a universal or granular CLP model capable of predicting CLP in any context. This approach will explore the practicality and performance of a variety of granular approaches, including casebased reasoning, fuzzy clustering, and fuzzy regression, to identify and aggregate the most important relationships represented in the contextspecific models and produce a universal model that is better able to predict CLP.
Data Availability
All data generated or analyzed during the study are included in the submitted article.
Conflicts of Interest
The authors declare that there are no conflicts of interest regarding the publication of this paper.
Acknowledgments
The authors would like to express their sincere appreciation to all of the companies that participated in this study for their cooperation, time, and the valuable information they provided. The authors particularly recognize the graduate research assistants who diligently helped with data collection. This research was conducted under the NSERC Industrial Research Chair in Strategic Construction Modeling and Delivery (NSERC IRCPJ 428226–15), held by Dr. Aminah Robinson Fayek. The financial support of the industrial partners to this chair and of the Natural Sciences and Engineering Research Council of Canada is gratefully acknowledged.
References
 W. Yi and A. Chan, “Critical review of labor productivity research in construction journals,” Journal of Management in Engineering, vol. 30, no. 2, pp. 214–225, 2014. View at: Google Scholar
 K. M. ElGohary, R. F. Aziz, and H. A. AbdelKhalek, “Engineering approach using ANN to improve and predict construction labor productivity under different influences,” Journal of Construction Engineering and Management, vol. 143, no. 8, Article ID 04017045, 2017. View at: Google Scholar
 A. Botta, Automatic context adaptation of fuzzy systems [Ph.D. thesis], IMT Institute for Advanced Studies, Lucca, Italy, 2008.
 H. Mao, Estimating labour productivity using fuzzy set theory [M.Sc. thesis], University of Alberta, Edmonton, Alberta, Canada, 1999.
 N.F. Pan, “Assessment of productivity and duration of highway construction activities subject to impact of rain,” Expert Systems with Applications, vol. 28, no. 2, pp. 313–326, 2005. View at: Publisher Site  Google Scholar
 A. R. Fayek and A. Oduba, “Predicting industrial construction labor productivity using fuzzy expert systems,” Journal of Construction Engineering and Management, vol. 131, no. 8, pp. 938–941, 2005. View at: Publisher Site  Google Scholar
 A. A. Tsehayae and A. R. Fayek, “Developing and Optimizing ContextSpecific Fuzzy Inference SystemBased Construction Labor Productivity Models,” Journal of Construction Engineering and Management, vol. 142, no. 7, Article ID 4016017, 2016. View at: Publisher Site  Google Scholar
 A. Botta, B. Lazzerini, F. Marcelloni, and D. C. Stefanescu, “Context adaptation of fuzzy systems through a multiobjective evolutionary approach based on a novel interpretability index,” Soft Computing, vol. 13, no. 5, pp. 437–449, 2009. View at: Publisher Site  Google Scholar
 O. Cordón, F. Herrera, L. Magdalena, and P. Villar, “A genetic learning process for the scaling factors, granularity and contexts of the fuzzy rulebased system data base,” Information Sciences, vol. 136, no. 14, pp. 85–107, 2001. View at: Publisher Site  Google Scholar
 W. Pedrycz, R. R. Gudwin, and F. A. C. Gomide, “Nonlinear context adaptation in the calibration of fuzzy sets,” Fuzzy Sets and Systems, vol. 88, no. 1, pp. 91–97, 1997. View at: Publisher Site  Google Scholar
 M. Engwall, “No project is an island: Linking projects to history and context,” Research Policy, vol. 32, no. 5, pp. 789–808, 2003. View at: Publisher Site  Google Scholar
 R. R. Gudwin, F. A. Gomide, and W. Pedrycz, “Context adaptation in fuzzy processing and genetic algorithms,” International Journal of Intelligent Systems, vol. 13, no. 1011, pp. 929–948, 1998. View at: Publisher Site  Google Scholar
 R. R. Gudwin and F. Gomide, “Context adaptation in fuzzy processing,” in Proceedings of BrazilJapan Joint Symposium on Fuzzy Systems, Campinas, Brazil, 1994. View at: Google Scholar
 L. Magdalena, “Adapting the gain of an FLC with genetic algorithms,” International Journal of Approximate Reasoning, vol. 17, no. 4, pp. 327–349, 1997. View at: Publisher Site  Google Scholar
 D. T. Ho, Context dependent fuzzy modelling and its application [Ph.D. thesis], University of Nottingham, Nottingham, UK, 2013.
 W. Pedrycz and F. Gomide, Fuzzy Systems Engineering: toward HumanCentric Computing, John Wiley and Sons, Hoboken, New Jersey, US, 2007.
 P. Pulkkinen and H. Koivisto, “A dynamically constrained multiobjective genetic fuzzy system for regression problems,” IEEE Transactions on Fuzzy Systems, vol. 18, no. 1, pp. 161–177, 2010. View at: Publisher Site  Google Scholar
 L. Magdalena, “On the role of context in hierarchical fuzzy controllers,” International Journal of Intelligent Systems, vol. 17, no. 5, pp. 471–493, 2002. View at: Publisher Site  Google Scholar
 G. Klir and B. Yuan, Fuzzy Sets and Fuzzy Logic, Prentice Hall, Upper Saddle River, New Jersey, US, 1995.
 A. Awad and A. R. Fayek, “Adaptive learning of contractor default prediction model for surety bonding,” Journal of Construction Engineering and Management, vol. 139, no. 6, pp. 694–704, 2013. View at: Publisher Site  Google Scholar
 A. Idrus, M. F. Fadhil Nuruddin, and M. A. Rohman, “Development of project cost contingency estimation model using risk analysis and fuzzy expert system,” Expert Systems with Applications, vol. 38, no. 3, pp. 1501–1508, 2011. View at: Publisher Site  Google Scholar
 S. S. S. Ahmad, S. Ahmad, and W. Pedrycz, “Data and feature reduction in fuzzy modeling through particle swarm optimization,” Applied Computational Intelligence and Soft Computing, vol. 10, pp. 1–21, 2012. View at: Google Scholar
 C. Willmott, S. Robeson, and K. Matsuura, “A refined index of model performance,” International Journal of Climatology, vol. 32, no. 13, pp. 2088–2094, 2012. View at: Publisher Site  Google Scholar
 A. A. Tsehayae, Developing and optimizing contextspecific and universal construction labour productivity models [Ph.D. thesis], University of Alberta, Edmonton, Canada, 2015.
Copyright
Copyright © 2018 Abraham Assefa Tsehayae and Aminah Robinson Fayek. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.