Abstract

This paper describes a real life case example on the assessment process of morningness of individuals using genetic algorithm based hybrid fuzzy system. It is observed that physical and mental performance of human beings in different time slots of a day are majorly influenced by morningness orientation of those individuals. To measure the morningness of people various self-reported questionnaires were developed by different researchers in the past. Among them reduced version of Morningness-Eveningness Questionnaire is mostly accepted. Almost all of the linguistic terms used in questionnaires are fuzzily defined. So, assessing them in crisp environments with their responses does not seem to be justifiable. Fuzzy approach based research works for assessing morningness of people are very few in the literature. In this paper, genetic algorithm is used to tune the parameters of a Mamdani fuzzy inference model to minimize error with their predicted outputs for assessing morningness of people.

1. Introduction

With the preference of people to perform activities at early hours of a day or later hours or in night, the circadian rhythm of individuals differs. This difference is known as morning versus evening orientation or more simply morningness. These individual differences have greater impact in circadian phase positions on physiological and psychological variables which are controlling them [1]. It is related to the ease of an adjustment to and tolerance of the night or rotating shifts [2] and influences athletic [3] and academic performance [4] at different times of the day. Several self-reporting questionnaires have been developed to measure diurnal type or distinction between “Larks” and “Owls” [58]. The assumption guiding these questionnaires is that people who express preference for activities at the extremes of the 24 hours of the day perform physiologic and cognitive tasks in accord with the preference [9]. Factors modulating circadian preference are increasing interest in researchers [10] and these questionnaire techniques have increasing importance in preselection, placement, and counseling of personnel engaged in rotating shift work or night work.

Morningness scales, especially the Horne and Ostberg’s [5] Questionnaire (MEQ) is considered as the most popular and standardized for use in various countries and translated version like Posey and Ford [11] validated it in USA; Macacci and Zani [12] in Italy and Kerkhof [13] carried out a validation study of Dutch questionnaire; Ishihara et al., [14] validated in Japanese version; Benedito-Silva et al., [15] in Portuguese version; Adan and Almirall [16] in Spanish version; Sahu [17] in Bengali version in India. Finally, Adan and Almiral propose a reduced scale of MEQ (rMEQ) containing smallest possible items.

Several research works [18, 19] are made not only to support the reliability and validity of the more commonly used questionnaire but also to emphasize the methodological limitations that exist today and suggested some future avenues of work in order to overcome these limitations.

The linguistic terms which are used in preparation of rMEQ are imprecisely defined. As a result traditional tools very often remain inactive and do not provide satisfactory answers in analyzing collected data qualitatively. In this context fuzzy logic [20] seemed to be very much useful to handle the collected data in a proper justified way and identify morningness orientation in a more precise way. The study of fuzzy logic began in early 60s of the past century. In 1970s, fuzzy logic was combined with expert systems to become a fuzzy logic system that was then implemented in many industrial [21], medical [22], environmental [23], and agricultural [24] applications. But the application of fuzzy logic in the field of ergonomics especially assessing morningness of the people is yet to appear in the literature extensively.

A methodology [25] for assessing morningness of a group of people using adaptive neurofuzzy inference system (ANFIS) was developed in the recent past. Since it represents a first order Sugeno type fuzzy inference system (FIS), which is not particularly useful in classification applications, so, it is insufficient for diagnosis applications.

In this paper, genetic algorithm (GA) based Mamdani FIS (MFIS) has been proposed for assessing morningness of people. MFIS which has advantages in consequent parts is universally applicable and hence can be used for prognosis and diagnosis applications. But the problem with Mamdani model is the generation of fuzzy rule base which mostly depends on expert’s own expertise. As a result, in the absence of expert’s knowledge generation of fuzzy rules is a difficult task.

In this regard, clustering techniques are found very much helpful. Clustering algorithms not only are used extensively to organize and categorize data, but also are useful for data compression and model construction. Fuzzy clustering allows natural grouping of data in a large data set and provides a basis for constructing fuzzy rule-based system (FRBS). In the proposed methodology, subtractive clustering technique proposed by Chiu [26] is used for generating fuzzy rules which are then incorporated in a MFIS model. Basically, subtractive clustering principle is used to estimate the number of clusters and the initial locations of cluster centers. Each obtained cluster corresponds to a fuzzy rule. Chiu exploited subtractive clustering technique in a Takagi-Sugeno FIS, where the rule output is a linear function of inputs. But sometimes expert wants to classify the output variable in some predefined fuzzy classes. The number of classes in a data space is highly influenced by the parameter radius of neighborhood. So, identification of a suitable value of the radius of neighborhood for subtractive clustering is an important task. In this paper, radius of neighborhood for subtractive clustering is chosen so that the whole data space can be classified into three clusters and then cluster centers and corresponding spreads obtained by subtractive clustering are adopted in MFIS in order to generate fuzzy rules with fuzzy outputs. Then, parameters of the model thus obtained are tuned by using GA [2729] in order to minimize the error between the real output and the predicted output obtained by the model.

The remaining part of this paper is organized in the following manner. Section 2 describes in brief the concept of GA based MFIS (GAMFIS). Section 3 presents the architecture of the proposed GAMFIS. In Section 4, a case study on assessing morningness of a group of people along with their simulation results is presented to verify the feasibility of this FRBS. Section 5 includes the concluding remarks of this work.

2. The Basic Concepts of GAMFIS

Fuzzy set theory provides a powerful framework to cope with vague or ambiguous problems and can express linguistic values and human subjective judgments of natural language. Among the several types of FIS, MFIS is the most popular, powerful, and widely used methodology in developing fuzzy models and analyzing data. The basic assumption proposed by Mamdani [30] underlying the approach to fuzzy logic control is that, in the absence of an explicitly defined model and/or clear statement of control design objectives, informal knowledge of the operation of the given model can be codified in terms of IF-THEN rules or condition action rules and also can form the basis for a linguistic control strategy. The fuzzy control theories based on fuzzy sets are used for the inputs and they are related to output fuzzy sets by some rules, which describe the heuristic knowledge about the behaviour of the system. The process of fuzzification of the inputs, evaluation of the rules, aggregation of all required rules, and making an inference is known as fuzzy control. For complete specification of MFIS, a function has to be assigned for each of the following operators:(i)AND operator (usually T-norm) is used for the rule firing strength computation with AND’ed antecedents;(ii)OR operator (usually T-conorm) is used for calculating firing strength of a rule with OR’ed antecedents;(iii)implication operator (usually T-norm) is used for calculating qualified consequent membership functions based on given firing strength;(iv)aggregate operator (usually T-conorm) is used for aggregating qualified consequent membership functions to generate an overall output membership function;(v)defuzzification operator is used for transforming output membership functions to a crisp single output value.

In a GAMFIS, a GA evolves an MFIS by tuning fuzzy membership functions, learning fuzzy rules, or adapting the context. GA consists of three basic operations: reproduction, crossover, and mutation. Reproduction is the process where members of the population reproduced according to the relative fitness of the individuals, where the chromosomes with higher fitness have higher probabilities of having more copies in the coming generation. Crossover is usually applied to selected pairs of parents with a probability equal to a given crossover rate in order to exchange partially their information of the genes. Mutation is the occasional alteration of states at a particular string position. Mutation is essentially needed in some cases where reproduction and crossover alone are unable to offer the global optimal solution. It serves as an insurance policy which would recover the loss of a particular piece of information. After these three operations, the overall fitness of the population improves. Each population generated then goes through a series of evaluation, reproduction, crossover, and mutation, and the procedure is repeated until the termination condition is reached.

3. Methodological Developments

To develop the proposed methodology, the set of five questions in rMEQ is considered in Table 1.

To quantify the collected data on the basis of expert’s opinion, a preference scale is adopted on the basis of responses by the subjects.

It is difficult for a person to express his Feeling Best condition at a specific time of a day or it is troublesome to measure the tiredness during the first half hour after waking up in the morning in a precise way, due to fuzziness in human behaviours. So, the fuzziness is inherently involved with every question of the questionnaire. An FIS employing fuzzy IF-THEN rules can only model the qualitative aspects of human knowledge and reasoning processes without employing any precise quantitative analysis.

Once the responses of the group of people are obtained, the tasks in the design phase are the selection of fuzzy input and output parameters for the model, partitioning of input-output data space and developing a knowledge base, selection of suitable implication, aggregation, and defuzzification operators, and tuning of parameters of the MFIS by GA.

3.1. Selection of Fuzzy Input and Output Parameters

The parameters which are considered in this study as fuzzy inputs are average rising time for Feeling Best condition (), feelings within the first half hour after waking up in the morning (), sleeping time (), Feeling Best time in a day (), and self-assessment about morningness () and morningness () is considered as fuzzy output parameter.

3.2. Use of Subtractive Clustering for the Development of Knowledge Base System

The main part of the MFIS is the construction of knowledge base system which consists of data base and rule base. The data base defines the membership functions of fuzzy sets used in the fuzzy rules, whereas rule base contains a number of fuzzy IF-THEN rules. Clustering of numerical data forms the basis of many classification and system modeling algorithms. The purpose of clustering is to distill natural groupings of data from a large data set, producing a concise representation of a system’s behavior. When the cluster estimation method is applied to a collection of input/output data, each cluster center is in essence a prototypical data point that exemplifies a characteristic behavior of the system. Hence, each cluster center can be used as the basis of a rule that describes the system behavior. For identification of Mamdani fuzzy model, the subtractive clustering estimation method is used here as the basis of a fast and robust algorithm.

Three fuzzy sets, namely, morning (), intermediate (), and evening (), are considered to express the output variable morningness (). So, the output variable would have to classify in three predefined fuzzy classes. As the number of classes in a data space obtained by subtractive clustering is highly influenced by the parameter radius of neighborhood (), a value is assigned to the parameter as radius of neighborhood () in such a way that subtractive clustering produces three clusters in the input-output data space. The cluster centers and corresponding spreads obtained by subtractive clustering are represented in matrix form as follows:

These cluster centers and spreads have been exploited in a MFIS model with three fuzzy rules of the following form.

: If input 1 is close to and input 2 is close to and…….and input 5 is close to then the output is close to for .

The most commonly used Gaussian type membership functions are considered here for both premises and consequent parameters of each of the three fuzzy rules (see Figure 1).

Here, and are used as centers and width, respectively, of three Gaussian type fuzzy sets corresponding to the th variable.

3.3. Implication, Aggregation, and Defuzzification Operators Selection

In this paper, Mamdani model, in which three fuzzy rules are injected, is used with the following operators:(i)min operator for conjunction;(ii)max operator for union;(iii)min operator for implication;(iv)max operator for aggregation;(v)centre of area (COA) operator for defuzzification.

3.4. Tuning of MFIS Parameters by GA

Here, since Gaussian type membership functions are chosen for both premises and consequent parameters of each fuzzy rule, the Mamdani model thus obtained contains the Gaussian membership functions with a center and a width for each of the inputs and outputs. Thus, the total number of parameters is equal to number of membership functions × number of variables + number of variables; that is, there are a total 24 parameters which are involved in the proposed Mamdani model. The next task is to tune all parameters of the Mamdani model using GA in order to minimize the error between the real output and the predicted output obtained by the proposed methodology. Here, the root mean squared error (RMSE) between the two outputs for the training data set is chosen as objective function which is defined as where is the number of training data.

Each step of the tuning process is illustrated and detailed as follows.

Step 1. The first step is to create an initial population of possible models or chromosomes. The population of chromosomes is generally chosen randomly. There are no hard rules for determining the size of the population. Generally, the size is defined to range between 20 and 100. Large populations guarantee greater diversity and may produce more robust solutions. In the proposed methodology, initial populations are generated by using subtractive clustering repeatedly for different values of “” so that the number of clusters remains three in each case. As the number of classes in a data space obtained by subtractive clustering is highly influenced by radius of neighborhood (), the lower bound (LB) and upper bound (UB) for the value of radius of neighborhood () are identified in such a way that the number of clusters for the input-output data set becomes three. To determine the LB and UB within which every value of “” subtractive clustering results in three clusters, an M-code is developed for MATLAB.

Now, for any value of “” within the interval [LB, UB] subtractive clustering will produce three clusters in the input-output data space whose cluster centers and corresponding spreads are obtained in the following form:

Varying the value of “” within the interval [LB, UB], different sets of cluster centers and corresponding spreads are obtained which will together constitute the initial population for GA.

Step 2. The assignment of the fitness in GA serves as a guidance to lead the optimal solution. Hence, a fitness function composed of RMSE is proposed in this method to compare the possible models performance or prediction accuracy. The closer the value of RMSE to 0 is, the better the forecasting accuracy is. Hence, to improve the accuracy of the results, RMSE has to be minimized.

Step 3 (selection and mutation for all chromosomes in the mating pool). After each of the chromosomes is evaluated and associated with fitness, the current population undergoes the reproduction process to create the next generation of population. The reproduction process is the combination of three types of operations.(i)Selection of elite children which are the individuals in the current generation with the best fitness values: these individuals automatically survive to the next generation.The “Roulette wheel” selection scheme is used here to determine the members of the new generation population. After the selection (reproduction) process, the population is enriched with better individuals. Reproduction makes clones of good strings but does not create new ones.(ii)Crossover operator is applied to the mating pool with the hope that it creates a better offspring. In this method, single point crossover is used to combine the vectors of a pair of parents.(iii)After crossover, the strings are subjected to mutation. Mutation prevents the algorithm from being trapped in a local minimum. Mutation plays the role of recovering the lost genetic materials and randomly disturbing genetic information. Mutation children are created by introducing random changes or mutations to a single parent. There are many different forms of mutation for the different kinds of representation.

After these three operations, the overall fitness of the population is improved.

Step 4. Replace the current population with the offspring to form the next generation.

Step 5. If the end conditions are not satisfied, go to Step 2. Otherwise, stop and retain the best solution in current population.

The proposed methodology, GAMFIS, is schematically shown in Figure 2.

4. Morningness Assessment of a Group of Students

To illustrate the potentiality of the proposed morningness assessment process, an illustrative case example on assessing morningness of students at University of Kalyani, West Bengal, India, is presented. The sample of 530 postgraduate students is randomly taken from the university to collect their responses corresponding to each item of the rMEQ questionnaire on voluntary basis. Almost fifty percent of them are residential students and fifty percent are day boarders. All of them are acquainted with English. After describing details of the study, the English version of rMEQ was handed over to them. They filled up the questionnaire and returned it. The responses are quantified using the preference scale developed for this purpose. In this paper, whole data set is divided into two subsets. The first subset is the training set (~85% of whole data) by which an input-output relationship has been obtained. The second subset is testing set (~15% of whole data).

In the context of assessing morningness, three fuzzy sets morning (), intermediate (), and evening () are considered for the output variable morningness. So, the output variable is classified in three predefined fuzzy classes. Here, input-output data space has been partitioned into three clusters using subtractive clustering and the cluster centers and corresponding spreads thus obtained are used to develop MFIS. Using M-code written in MATLAB, the LB and UB of “” for which the subtractive clustering partitioned the input-output data space formed by the collected data into three clusters are obtained as 0.882 and 1.279, respectively. Now, varying the value of “” from 0.882 to 1.279 with an increment 0.001 an initial population of size 398 has been formed in which each individual represents the cluster centers and corresponding spreads for each of those specific values of “.”

After each of the individuals of a generation is evaluated and associated with fitness, the current population undergoes the reproduction process to create the next generation of population. Here the “Roulette wheel” selection scheme is used to determine the member of the new generation population. Once the new generation is obtained the mating pool has been formed and the crossover is carried out with a specific rate between 0 and 1. Since, crossover rate is one of the most influential parameters in GA, the whole process is performed for different values of crossover rate ranging between 0 and 1 with an increment of 0.05. Thus, a total of 21 experiments are performed to find the best value of crossover rate. Figure 3 shows that optimum value of the fitness function (RMSE) has been attained corresponding to the crossover rate of 0.8. Thus, GA has been performed with crossover rate 0.8 which is then followed by the mutation operation. GA has been run with the termination criteria as given in the Table 2.

4.1. Results and Discussions

All procedures are implemented with MATLAB R2008a. After the termination of the whole process the best cluster centers and the corresponding spreads (as given by Table 3) thus obtained are used to get the optimum MFIS for assessing morningness of an individual.

The RMSE between the real and predicted outputs after adjustment with GA is 0.1529. Figure 4 presents a comparison between target output and predicted output.

Thus a Mamdani fuzzy model tuned by GA is developed for assessing morningness of people and it is found that the RMSE is small. On the basis of the developed model degrees of morningness of any individual can be measured if he/she provides the input through the rMEQ questionnaire. In this context, if the average preference scale values of the responses made by the university students are considered, then the values corresponding to five different linguistic variables are found as , , , , and .

Then the assessment through the newly generated GA based Mamdani model is found as (Figure 5).

The membership value of morningness through the defined output fuzzy set corresponding to is calculated as , , and (Figure 6).

The result obtained by proceeding through this process reflects that the group of students is “intermediate” type with membership value of 0.785 and “morning” type with membership value of 0.143.

5. Conclusions

A morningness assessment model based on MFIS is developed through this paper which is then tuned by GA in order to minimize the error between the real and predicted output obtained by the fuzzy model. Here, GA is performed for various values of crossover rate and after sensitivity analysis the optimal value is identified which is then used for final execution of GA. The importance of this study is that on the basis of the morningness assessment of an individual by this proposed model an individual can be categorized more precisely as M, I, or E type with some membership grade. The higher grade for any of the abovementioned fuzzy sets implies the greater acceptability of the corresponding type in the assessment process of that individual. This precise membership grade may be utilized in predicting more productive time period of an individual and suitability for different shifts.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

The authors are thankful to the anonymous reviewers for their valuable comments and suggestions to improve the quality of the paper. The authors wish to convey deep gratitude to all the subjects who volunteered for the study and gladly gave consent. The authors are very much grateful to Dr. S. Sahu, Assistant Professor, Department of Physiology, University of Kalyani, Kalyani, India, for his kind support in collecting the data and also for his expert suggestions in developing the model.