The Development of Expert Mood Identifier System using Fuzzy Logic on Blackberry Platform

Similar documents
Fever Diagnosis Rule-Based Expert Systems

Fuzzy Expert System Design for Medical Diagnosis

Implementation of Inference Engine in Adaptive Neuro Fuzzy Inference System to Predict and Control the Sugar Level in Diabetic Patient

Artificial Intelligence For Homeopathic Remedy Selection

Computational Intelligence Lecture 21: Integrating Fuzzy Systems and Neural Networks

Comparison of Mamdani and Sugeno Fuzzy Interference Systems for the Breast Cancer Risk

The Wellbeing Course. Resource: Mental Skills. The Wellbeing Course was written by Professor Nick Titov and Dr Blake Dear

Available online at ScienceDirect. Procedia Computer Science 93 (2016 )

Artificially Intelligent Primary Medical Aid for Patients Residing in Remote areas using Fuzzy Logic

Novel Respiratory Diseases Diagnosis by Using Fuzzy Logic

International Journal of Computer Sciences and Engineering. Research Paper Volume-5, Issue-6 E-ISSN:

Fuzzy Logic Based Expert System for Detecting Colorectal Cancer

Appropriate resources

A Fuzzy expert system for goalkeeper quality recognition

A Fuzzy Expert System Design for Diagnosis of Prostate Cancer

Final Exam: PSYC 300. Multiple Choice Items (1 point each)

Fuzzy Expert System to Calculate the Strength/ Immunity of a Human Body

Understanding the Johari Window

Diagnosis Of the Diabetes Mellitus disease with Fuzzy Inference System Mamdani

A Review on Fuzzy Rule-Base Expert System Diagnostic the Psychological Disorder

Developing a Fuzzy Database System for Heart Disease Diagnosis

CHAPTER 4 ANFIS BASED TOTAL DEMAND DISTORTION FACTOR

Design and Implementation of Fuzzy Expert System for Back pain Diagnosis

Human Immunodeficiency Virus (HIV) Diagnosis Using Neuro-Fuzzy Expert System

Stepwise Knowledge Acquisition in a Fuzzy Knowledge Representation Framework

Suggested topics to review with your students

Fuzzy Logic 12/6/11. Outline. Motivation. Motivation

Question: I m worried my child is using illegal drugs, what should I do about it?

A Fuzzy Expert System for Heart Disease Diagnosis

Vol. 6, No. 3 March 2015 ISSN Journal of Emerging Trends in Computing and Information Sciences CIS Journal. All rights reserved.

Developing a fuzzy Likert scale for measuring xenophobia in Greece

Artificial Intelligence for Interactive Media and Games IMGD 400X (B 08) 1. Background and Motivation

A NEW DIAGNOSIS SYSTEM BASED ON FUZZY REASONING TO DETECT MEAN AND/OR VARIANCE SHIFTS IN A PROCESS. Received August 2010; revised February 2011

GCSE PSYCHOLOGY UNIT 2 FURTHER RESEARCH METHODS

ALZHEIMER S DISEASE, DEMENTIA & DEPRESSION

On the Representation of Nonmonotonic Relations in the Theory of Evidence

A Fuzzy Expert System for Risk Self-Assessment of Chronic Diseases

Scoring the Mood Screener and the CES-D. Ricardo F. Muñoz, Ph.D. University of California, San Francisco/San Francisco General Hospital

Why Is It That Men Can t Say What They Mean, Or Do What They Say? - An In Depth Explanation

An SVM-Fuzzy Expert System Design For Diabetes Risk Classification

Identifying Risk Factors of Diabetes using Fuzzy Inference System


Cheat Sheet: Emotional Eating

Dynamic Rule-based Agent

Personality Perspectives. Do You Really Know Who You Are Supervising?

Predicting Heart Attack using Fuzzy C Means Clustering Algorithm

What do people with autism generally experience difficulty with?

Source: Emotional Intelligence 2.0 by Travis Bradberry and Jean Greaves Copyright 2009 by Talent Smart

Pharmacologyonline 1: (2011) ewsletter Shamsara et al.

A prediction model for type 2 diabetes using adaptive neuro-fuzzy interface system.

FUZZY INFERENCE SYSTEM FOR NOISE POLLUTION AND HEALTH EFFECTS IN MINE SITE

Myers-Briggs Type Indicator Interpretive Report

keep track of other information like warning discuss with your doctor, and numbers of signs for relapse, things you want to

TTI Emotional Quotient

How to stop Someone who is ADDICTED ENABLING

Step 2 Challenging negative thoughts "Weeding"

ADDITIONAL CASEWORK STRATEGIES

The SpiritualityApps.net Travel Guide

Important. Copyright 2016 wrestletowin.com All Rights Reserved

SELF HYPNOSIS. Contrary to popular belief, hypnosis is not a state of sleep or a state in which you are unconscious or not aware.

Depression During and After Pregnancy

How People Who Can t Speak Can Sound Like...Themselves

M.O.D.E.R.N. Voice-Hearer

ECTA Handouts Keynote Address. Affective Education. Cognitive Behaviour Therapy. Affective Education. Affective Education 19/06/2010

AN ADVANCED COMPUTATIONAL APPROACH TO ACKNOWLEDGED SYSTEM OF SYSTEMS ANALYSIS & ARCHITECTING USING AGENT BASED BEHAVIORAL MODELING

Lesson Plan in Brief What To Know What To Do What To Say

LIFE INTEGRATION THERAPIES, PC., INC. KAY WHITEHEAD, MSW., LCSW., FT. 23 E.39 th St. INDIANAPOLIS, IN CLIENT HISTORY FORM

Contents. Chapter. A Closer Look at You. Section 17.1 Your Personality Section 17.2 Develop a Positive Attitude. Chapter 17 A Closer Look at You

UIC Solutions Suite Webinar Series Transcript for how-to webinar on Action Planning for Prevention & Recovery Recorded by Jessica A.

Assignment Question Paper I

Spring Natural Liver Cleanse

Design of a Fuzzy Rule Base Expert System to Predict and Classify the Cardiac Risk to Reduce the Rate of Mortality

Emotion Coaching. A tool to help you to work successfully with young people with SEN&D

APPLIED BEHAVIOR ANALYSIS (ABA) THE LOVAAS METHODS LECTURE NOTE

suicide Part of the Plainer Language Series

Context, information s meaning, and perception

What is Self-Esteem? Why is it Important? Where Does Self-Esteem Come From? How Can You Boost Self-Esteem?

Human health risk from trihalomethanes in drinking water evaluation with fuzzy aggregation

Emotional Intelligence Questionnaire (EIQ16)

Move Your Body. Program Workbook

Choosing Life: Empowerment, Action, Results! CLEAR Menu Sessions. Substance Use Risk 5: Drugs, Alcohol, and HIV

Influence & Persuasion Tools for Ethical and Effective Interrogation. Four Reasons for Failure. Successful I & I Strategy 3/11/2016

My Review of John Barban s Venus Factor (2015 Update and Bonus)

Choosing Life: empowerment, Action, Results! CLEAR Menu Sessions. Adherence 1: Understanding My Medications and Adherence

Understanding Alzheimer s Disease What you need to know

Spring - Restore Your Liver

Apply Your knowledge of the Psychology of Learning

The Memory Zone was a themed zone funded by The British Psychological Society and featured six psychologists:

Physical Activity. Image 1

ALCOHOL RELATED BRAIN DAMAGE (ARBD)

Motivation 2/7/18 NEVER GIVE UP! A force that Energizes people to act Directs behavior to attain specific goals Sustains behavior over time

A Practical Approach to Prescribe The Amount of Used Insulin of Diabetic Patients

The Role of Modeling and Feedback in. Task Performance and the Development of Self-Efficacy. Skidmore College

Influence & Persuasion Tools for Ethical and Effective Interrogation

GCSE. Psychology. Mark Scheme for June General Certificate of Secondary Education Unit B543: Research in Psychology

Brain Training and Self-Quantification

Get Help for. Cancer Pain

This guide is for parents, guardians, teachers, and therapists using the NeuroPlus system with children.

Writing Reaction Papers Using the QuALMRI Framework

Fakultät ETIT Institut für Automatisierungstechnik, Professur für Prozessleittechnik. Dr. Engin YEŞİL. Introduction to Fuzzy Modeling & Control

Transcription:

Journal of Computer Science 9 (6): 733-739, 2013 ISSN: 1549-3636 2013 doi:10.3844/jcssp.2013.733.739 Pulished Online 9 (6) 2013 (http://www.thescipu.com/jcs.toc) The Development of Expert Mood Identifier System using Fuzzy Logic on Blackerry Platform Octavia George, Maria Gorethi, Syerra Riswandi and Widodo Budiharto School of Computer Science, Bina Nusantara University, Jakarta, Indonesia Received 2013-01-15, Revised 2013-01-16; Accepted 2013-06-03 ABSTRACT In our daily life, deciding what caused the ad mood is not easy. This study will design an Expert Mood Identifier System for moile application. We propose a model that uses 6 variales as the inputs, they are intensity of Sleep (SL), intensity of Eat (ET), hours of using Phone (PH), Spare Time (ST), intensity of Sensitive (SN), intensity of Confidence (CF). These inputs, using Sugeno fuzzy logic, are then fuzzificated to linguistic variales, so that they ale to evaluated with the if-then rules. Result of the evaluation will show the highest possiility causes either in Love (LV) or density schedule. It will e defuzzificated to a crisp numer showing the percentage of what causes it. The experiment results are presented and show the Mood Identifier system is running well on BlackBerry platform and can e used successfully to identify the causes of ad mood with a solution for each case. Keywords: Fuzzy Logic, Blackerry, Bad Mood, Expert Systems 1. INTRODUCTION 2. MATERIALS AND METHODS Everyday our moods are so unexpected that it is So far the method using technology to identify the hard to know where they come from, why they occur and causes of mood is using an interactive voice response what can e done aout them. But these daily contrast in system. It is a chance to solve this prolem using our feelings are actually easier to understand and manage questionnaires with different method. Defining a feeling than most people realize. If someone is an introvert-that is not only yes or no and it is not an exact numer, ut it is, someone with more of a quiet, shy nature-what he can e represented with fuzzy set. For example, feeling does or says tends to depend a lot upon how he feels. In good and ad is sujective, it is not only good and other words, he is affected y his moods. If he is an ad, ut can e slightly good, or not too ad. Thus extroverts, who focus more on the outside world, it is we need a method that can use a imprecise and easier for him to ignore their moods. However, amiguous values as the inputs, like fuzzy logic. extroverts who ignore how they feel for too long can lose sight of their deeper human needs. As a result, they 2.1. Theory of Moods ecome stressed, no longer enjoy life and find that they ve lost their purpose. It is very important to know Based on APA Dictionary of Psychology, a mood what makes the mood change to worse and to solve it. In defines as any short-lived emotional state, usually of low this study, we will use the fuzzy logic to calculate what intensity (e.g., a cheerful mood an irritale mood). the causes of ad moods, with knowledge from the Moods are a ackground feeling that persists over time expert of psychology. State of the art of this research is a that define how someone are. Usually moods are less new model of Expert Mood Identifier system using intense and longer lasting than emotions, although the BlackBerry platform that very popular in Indonesia. lower intensity is not true in a case of a serious Corresponding Author: Octavia George, School of Computer Science, Bina Nusantara University-Jakarta, Indonesia 733

depression. It does not directly express, instead expressing it y the way of thinking, communicate, ehave and interpret the world. It is not the same as emotions, which are directly expressed or suppressed. Sometimes we can misunderstood it as personality-which is also can e seen from our daily ehavior-and makes it harder to identify the mood and what causes it. Another term used in the scientific literature to refer moods is affect, a term that many iological and ehavioral scientist use to indicate mood. It has a certain surface quality or immediacy associated with it. Affect level can e used to indicate oservale emotional reactions such as crying, or to rating of immediate feelings that the sujects make themselves (Miller, 2009; Thayer, 2001). According to Thayer (2001), moods are created y the health and illness, sleep, food, amount of recent exercise and even time of the day are very significant as well. It is something like a clinical thermometer, reflecting all the internal and external events that affect us. Moods are differentiated from emotions y intensity and duration. They are considered to e low-intensity long-lasting affective states, whereas emotions are considered high intensity, situation specific and rief. The psychology literature is replete with examples of how emotions and moods affect decision making, ut personality s role is also essential ecause of the differences in cognition helping to explain why different people reach different decisions while experiencing the same emotions (Santos et al., 2011). 2.2. Expert Systems for Moile Application Drastic increase occurred in the use of games for a fun and educational tool for students and effective discussion aout the use of adaptive games to enhance interested learning and entertaining to various aspects of education using moile application such as BlackBerry platform (Nicola, 2011). One of the well-known providers of moile games/applications that are used in Indonesia is BlackBerry devices from Research in Motion (RIM). BlackBerry Operating System enales the developers to develop open source Java-ased applications that can e easily commercialized (Rizk, 2009). Expert systems is a computer program, designed to make availale some of the skills of an expert to nonexperts (Siller and Buckley, 2005). It is characterized with expert knowledges, knowledge acquitition, solving prolem and descrie the solution. The expert knowledge can e stored into a knowledge ase, usually in a rule-ased system. It can e drawn y the lecturing or y interviewing. The 734 knowledges than used to compare with the information inputed y the nonexperts. The system will find a solution ased on the information and will descrie the solution like an expert do. In this study, the knowledge of psychologist is drawn y interviewing and it is used to find what causes the ad mood. 2.3. Fuzzy Logic Theory Fuzzy logic is a linguistic theory that models how to reason with vague rules of commons sense (Ross, 2010). It can control a complex and non-linier system even a system that hard to e represented mathematically. It is ale to put amiguous words or imprecise value as an input. Fuzzy logic first introduced y Lukasiewicz (1920). In 1930s, Max Black researched further more aout it and it was fading until Zadeh (1965) rediscovered it. He extended the work on possiility theory into a formal system of mathematical logic. This new logic for representing and manipulating fuzzy terms was called fuzzy logic (Negnevitsky, 2005). Figure 1 is an example of the classical logic of memership that can e represented mathematically with the indicator function Equation (1): 1,x A X A(x) = 0,x A (1) where, X A (x) is the indicator of an unamiguous memership of x in set A, the symol and denote contained in and not contained in, respectively. In this classical logic, if X A (x) is 1, then x is completely a memer of A and if X A (x) is 0, then x is completely not a memer of A. Fuzzy logic uses a fuzzy set to present the value of the variales. Fuzzy set is a set containing elements that have varying degrees of memership in the set. In the classical set, the memer of a crisp set would not e memers unless their memership is full in that set ((x) = 1). In fuzzy set, the memership need not e complete so that it can also e memers of other fuzzy sets on the same universe (Ross, 2010). In other words, the memership of an element may e etween 0 and 1. Instead of just lack and white, it employs the spectrum of colour as shown in Fig. 2. The fuzzy logic used in this study is Mamdani method, it was introduced y Mamdani and Assilian (1975) of London University (Negnevitsky, 2005). The format of Mamdani method:

Fig. 1. Memership function of classical logic (Negnevitsky, 2005) (a) () Fig. 2. Range of (a) classical Boolean logic and () fuzzy logic (Negnevitsky, 2005) Fig. 3. Proposed use case diagram for mood identifier systems 735

IF = x is A AND = y is B THEN = z if C where, x, y and z are linguistic variales; A, B and C are fuzzy sets. 2.4. Proposed Methods The use case diagram for our proposed system shown in Fig. 3. The system consists of a series of question and answer and the solution included with the quote for giving the motivation to the user. After we make an architecture of our application, we propose some rules ased on the knowledge ase from our psychologist that mastering aout the mood of human, such as. The rules of daily: IF eating is less AND sleeping less THEN daily is worst IF eating is less AND sleeping is normal THEN daily is worse IF eating is less AND sleeping is more THEN daily is worst IF eating is normal AND sleeping is less THEN daily is ad IF eating is normal AND sleeping is normal THEN daily is normal IF eating is normal AND sleeping is more THEN daily is ad IF eating is more AND sleeping is less THEN daily is worst IF eating is more AND sleeping is normal THEN daily is worse IF eating is more AND sleeping is more THEN daily is worst The rules for roken heart: IF social will is low AND social intensity is low AND dressing up is low THEN roken heart is very high IF social will is low AND social intensity is low AND dressing up is normal THEN roken heart is high IF social will is low AND social intensity is low AND dressing up is high THEN roken heart is medium IF social will is low AND social intensity is normal AND dressing up is low THEN roken heart is high 736 IF social will is low AND social intensity is normal AND dressing up is normal THEN roken heart is normal IF social will is low AND social intensity is normal AND dressing up is high THEN roken heart is normal IF social will is low AND social intensity is high AND dressing up is low THEN roken heart is high IF social will is low AND social intensity is high AND dressing up is normal THEN roken heart is normal IF social will is low AND social intensity is high AND dressing up is high THEN roken heart is normal IF social will is normal AND social intensity is low AND dressing up is low THEN roken heart is high IF social will is normal AND social intensity is low AND dressing up is normal THEN roken heart is normal For processing the input, we use Mamdani method. There are four steps in Mamdani method 2.5. Fuzzification The first step in Mamdani method is fuzzification, a process where the crisp inputs are converted to fuzzy numer and to put them on the right fuzzy set such as sown in Fig. 4 Equation (2): A : (x) [0,1], x X (2) If the input for the hours of sleeping is 10, the fuzzification result is: 11 10 1 normal(10) 11 8 3 10 9 1 more(10) 11 9 2 If the input for the times of eating is 4, the fuzzification result is: 2.6. Rule Evaluation 5 4 1 normal(4) 5 3 2 4 3 1 more(4) 5 3 2 The second step is to put the inputs to the rule and to implicate it with Min function Equation (3):

(a) () (c) (d) Fig. 4. Fuzzification diagram, sleeping diagram (a), eating diagram (), daily diagram (c) and financial prolems (d) A B A B ( (x) = min [x], [x] (3) IF eating is (0,5) AND sleeping is (0,333) THEN daily is min(0,5 ; 0,333) IF eating is (0,5) AND sleeping is (0,5) THEN daily is min (0,5 ; 0,5) IF eating is (0,5) AND sleeping is (0,333) THEN daily is min(0,5 ; 0,333) IF eating is (0,5) AND sleeping is (0,5) THEN daily is min(0,5 ; 0,5) Then the memership of daily normal is: = max (0,333;0, 666) = 0,666 2.8. Defuzzification The last step is to convert the fuzzy output into crisp output. In this study, we used the Center of Gravity (COG) function to defuzzify the output Equation (5): 2.7. Rule Aggregation The next step is to modify the output fuzzy set with the Max function Equation (4): ( ) [x ] max [x ], [x ] (4) sf i i kf i Now we have the output fuzzy set done: If we have another: = 0,333 = 0,5 dailyad = 0,333 daily worse = 0,5 daily worst = 0,666 737 COG= (x)x d a A x Or else: (x)x d a A x COG = a A a A (x)x (x)x (x)x COG daily = 53, 200684 (x) (x) 100 a A 0 daily 100 a A(x) 0 daily Then the crisp output of the daily is 53, 200684%. 3. RESULTS (5) Experiments performed on the Simulator and BlackBerry Bold with OS 7.0 with the result shown in Fig. 5.

Tale 1. Answer and result for ad mood and causes of ad mood in fuzzy Result ------------------------------------------------ Eat Sleep Social Will Social intensity Dressing Income Outcome Bad mood Causes Less Less Low Low Low Medium Low 74,15466% 88,75% Broken hear Normal Less Low Normal Low High Low 17,5% 47,5% Broken heart Normal Normal High Low Low Medium Low 15% 47,5% Broken heart More Normal High Normal High Medium High 16% 47,5% Finance More More Normal Normal Low Low High 74,15% 88,75% Finance 4. DISCUSSION We have developed the application and running well on BlackBerry platform. The system is ale to identify the possiility of cause of user s mood, as an example shown in Tale 1. The application can identify the cause of a ad mood with a percentage of truth until 80%. 5. CONCLUSION (a) () This research has developed a framework for Mood Identifier System using Fuzzy Logic. Application that implementation on BlackBerry device can measure the degree of mood from their activity and detect the causes as roken heart and financial prolems. This application can e run quickly on BlackBerry device ecause the design is simple and the question is short that can represent the result. The system has given the accurately and quickly result. The applications are successfully achieves the goals to detect the causes of ad mood. For future work, the model will e proposed mood detection that can detect many of the causes of ad mood. 6. REFERENCES (c) Fig. 5. Result of simulation BlackBerry Simulator, Main menu for starting tes test, (a) question for the test, () (c) and result for the test (d) From the various experiments, the system get the answer in Fig. 5d. The result gets from the rule, if ad mood degree is high, so is the cause, either roken heart or financial prolems as shown in Tale 1 (d) 738 Lukasiewicz, J., 1920. O logice trojwartosciowej. Ruch filozoficzny. Mamdani, E.H. and S. Assilian, 1975. An experiment in linguistic synthesis with a fuzzy logic controller. Int. J. Man-Mach. Stud., 7: 1-13. DOI: 10.1016/S0020-7373(75)80002-2 Miller, L., 2009. Mood Mapping: Plot Your Way to Emotional Health and Happiness. 1st Edn., Rodale, London, ISBN-10: 1905744455, pp: 256. Negnevitsky, M., 2005. Artificial Intelligence: A Guide to Intelligent Systems. 2nd Edn., Addison-Wesley, New York, ISBN-10: 0321204662, pp: 415. Nicola, W., 2011. Encouraging engagement in gameased learning. Int. J. Game-Based Learn., 1: 75-84.

Rizk, A., 2009. Beginning BlackBerry Development. 1st Edn., Apress, Berkeley, ISBN-10: 1430272252, pp: 300. Ross, T.J., 2010. Fuzzy Logic with Engineering Applications. 3rd Edn., Wiley, Oxford, ISBN-10: 047074376X, pp: 606. Santos, R., G. Marreiros, C. Ramos, J. Neves and Bulas- J. Cruz, 2011. Personality, emotion and mood in agent-ased group decision making. IEEE Intell. Syst., 26: 58-66. Siller, W. and J.J. Buckley, 2005. Fuzzy expert systems and fuzzy reasoning. 1st Edn., John Wiley and Sons, Hooken, ISBN-10:0471698490, pp: 350. Thayer, R.E., 2001. Calm Energy: How People Regulate Mood with Food and Exercise. 1st Edn., Oxford University Press, Oxford, ISBN-10: 0195131894, pp: 274. Zadeh, L.A., 1965. Fuzzy sets. Inform. Control, 8: 338-353. DOI: 0.1016/S0019-9958(65)90241-X 739