Wednesday, June 5, 2019

The expert system

The capable organisationAbstractThe title for this report is upright System. Statistic anyy, the percentage of current organizations implementing salutary arrangings for their usage is very minimal. This is due to the restraining forces of implementing upright remains outweigh its driving force. Yet, as the technologies ar frequently being get alongd, the constraints of implementing expert placements argon getting easier to overcome. Hence, the reason I chose this title for my report is due to my lovesome interest in the future of expert body where it may potentially be apply domestically for providing the best solutions for complex problems. Also, the association gained from this research get out contribute a lot for my closing year project which entrust include in a simple expert form of formulas. This report get out be explaining what an expert system is, the comp angiotensin converting enzyments of expert system, what a acquaintance- metrical footd expert system is, the features of expert system, the advantages of development expert system, the drawbacks of using expert system and finally suggestions of implementing expert system into e-commerce systems.In the appendix develop, the pictures which I gift found from the Internet will be included in for providing transgress understanding regarding the details of expert system.What is good System?According to Wikipedia, an expert system is an advanced computer application that is implemented for the theatrical role of providing solutions to complex problems, or to clarify un genuineties through the use of non-algorithmic programs where unremarkably human expertise will be needed. Expert systems atomic number 18 most honey oil in complex problem domain and be considered as astray apply alternatives in searching for solutions that use ups the existence of specific human expertise. The expert system is besides able to justify its get outd solutions based on the familiarity and selective education from past users. Normally expert systems are used in fashioning business marketing strategic decisions, analyzing the performance of real time systems, configuring computers and perform legion(predicate) some opposite functions which normally would require the existence of human expertise.The difference between an expert system with a normal problem-solving system is that the latter is a system where both programs and data structures are encoded, while for expert system only the data structures are hard-coded and no problem-specific information is encoded in the program structure. Instead, the knowledge of a human expertise is captured and codified in a process known as knowledge calculateing. Hence, whenever a particular problem requires the assistance of a certain human expertise to try a solution, the human expertise which has been codified will be used and processed in ensnare to provide a rational and analytical solution. This knowledge-based expert system enables the system to be frequently added with new knowledge and adapt accordingly to meet new requirements from the ever-changing and unorthodox environment.Components of Expert SystemAn expert system has many core system components to function and interfaces with individuals of various roles. In the appendix area, on that point will be a diagram (Figure 1.1) displaying expert system components and human interfaces. The major components areKnowledge base a set of endures as representation of the expertise, mostly in IF so statements.Working terminus the data which is specific to a problem being solved. conclusion engine the code at the core of the system which derives recommendations from the knowledge base and problem-specific data in working storage.User interface the code that controls the dialog between the user and the system. there are certain major roles of individuals who interact with the expert system to fully exploit its functionality and capabilit y. They are theDomain expert the individual or individuals whose expertises are solving the problems the system is intended to solveKnowledge engineer the individual who encodes the experts knowledge in a form that notify be used by the expert systemUser the individual who will be consulting with the system to get advice which would have been provided by the expert.Majority of the expert systems are built with expert system shells which contains an certainty engine and user interface. The shell will be used by a knowledge engineer to build a system catered for specific problem domain. Sometimes expert systems are to a fault built with rule developed shells for certain applications. In this scenario, there will be anformer(a) additional individualSystem engineer the individual who builds the user interface, designs the declarative format of the knowledge base, and implements the consequence engine.Depending on the size of the project, the knowledge engineer and the system eng ineer might be the same person. For a custom built system, the design of the format of the knowledge base and the coding of the domain knowledge are closely related. The format has a significant effect on the coding of the knowledge.One of the major hurdles to overcome in building expert systems is the knowledge engineering science process. The process of the codifying the expertise into a required rule format can be a challenging and tedious task. One major advantage of a customized shell is that the format of the knowledge base can be designed to facilitate the knowledge engineering process.Since the major challenge in expert system development is the building of the knowledge base, it is encouraged that offer and difference between the experts representation of the knowledge and the representation in the knowledge base should be minimized. With a customized system, the system engineer can implement a knowledge base whose structures are as close as possible to those used by the domain expert.Knowledge-based Expert SystemsNot all expert systems have learning components to adapt in new environments or to meet new requirements. But a common element each expert system possesses is that formerly the system is fully developed it will be tested and be assuren by being placed in the same real solid ground problem solving situation, typically as an aid to human workers or a supplement to some information system.Although reference books are able to provide a tremendous amount of knowledge, users have to read, comprehend and interpret the knowledge for it to be used. Conventional computer programs are built to perform functions using formulaic decision-making system of logic having only little knowledge along with the basic algorithm for performing the specific functions and fulfill the necessary boundary conditions.The so-called knowledgebase was created in shoot for of utilizing some knowledge representation formalism to capture and store the Subject Matter Experts (SME) knowledge. The process includes gathering that knowledge from the SME and codifying it according to a standardized format. Knowledge-based expert systems collect the small segments of human knowledge and combined into a set of knowledge-base which is used to aid in solving a complex problem. Any other problem that is within the jog and domain of the knowledge-base can besides be solved using the same program without reprogramming.Knowledge-based expert systems solve problems which normally require human intelligence. These said expert systems represent the expertise knowledge as data or rules within a system. These rules and data can be used and called upon for reference when needed to solve complex problems.When compared to conventional programming, the system has the ability to reason the process with explanations by back-traces and calculate the takes of confidence and deal with uncertainty. The knowledge has to be codified into programming code, hence as the kno wledge changes, the program has to be changed accordingly as head and then rebuilt.Expert System FeaturesThere are a number of features which are commonly used in expert systems. These features allows the users to fully utilize the expert systems capability conveniently in providing the most logical and well-founded decision in a problematic situation.Backward chaining an demonstration technique which continuously break a goal into smaller sub-goals which are easier to prove via IF THEN rulesDealing with uncertainties the system has the capability to handle and reason with conditions that are uncertain and data which are not precisely knownForward chaining an inference technique which deduce a problem solution from initial data via IF THEN rulesData representation the method where the specific problem data is stored and accessed in the systemUser interface that portion of the code which creates an easy to use systemExplanations the ability of the system to explain the reaso ning process that it used to exceed a recommendation.Inference ruleAn inference rule is a statement that has two parts, antecedent which is an if clause and outcome which is a then clause. This rule is what the expert systems rely on and provides the capability to find solutions to diagnose and prescribe problems. An example of an inference rule isIf the song choice is in Latin, and the singers are in a group, thusly the song choice is clearly from Il Divo.An expert systems rule base stores many inference rules such as this. They are stored in as separate rules and the inference engine will draw conclusions by going through all of them. Rules can be removed and added without affecting others since they are non-connected, further it will subsequently affect which conclusions are to be reached. Inference rules has the cleanse upper hand compared with traditional programming due to the fact that inference rules are able to imitate human reasoning and justify the solutions prone. Thus, when a conclusion is drawn, the system is able to justify its course of solution and convince the user. Furthermore, since the expert system uses knowledge in a form identical to a certain expert, the solution provided will be not so different from an actual experts advice.ChainingWhen using inference rules, two main methods of reasoning used are backward chaining and forward chaining.Forward ChainingForward chaining begins under the condition that the data is gettable and inference rules are used to reason more data until a desired goal is reached. An inference engine using forward chaining searches the inference rules until it finds one in which the if clause is known to be true. It then concludes the then clause and adds this information to its data. It would continue to do this until a goal is reached. Due to the reason that the data available determines which inference rules are used, this method is similarly called data driven. A large number of expert systems require the use of forward chaining.The data driven attack is practical when combinatorial explosion creates a analysemingly infinite number of possible right answers where no definite answer is specified.Forward chaining starts with the available data and uses inference rules to extract more data until a goal is reached. An inference engine using forward chaining searches the inference rules until it finds one where the antecedent (If clause) is known to be true. When found it can conclude, the consequence (Then clause), resulting in the addition of new information to its data.Inference engines will iterate through this process until a goal is reached. For example, intend that the goal is to conclude the color of a pet named Fritz, give that he croaks and eats travel, and that the rule base contains the following four rules If X croaks and eats flies Then X is a frog If X chirps and sings Then X is a canary If X is a frog Then X is parkland If X is a canary Then X is yellowThis rule base would be searched and the first rule would be selected, because its antecedent (If Fritz croaks and eats flies) matches our data. now the consequents (Then X is a frog) is added to the data. The rule base is again searched and this time the third rule is selected, because its antecedent (If Fritz is a frog) matches our data that was just confirmed. Now the new consequent (Then Fritz is green) is added to our data. Nothing more can be inferred from this information, but we have now accomplished our goal of determining the color of Fritz.Due to the fact that the data determines which rules are selected and used, this method is called data-driven, in contrast to goal-driven backward chaining inference.One of the advantages of forward-chaining over backward-chaining is that the reception of new data can trigger new inferences, which absorbs the engine better accommodate to dynamic situations in which conditions are likely to change.Backward ChainingBackward chaining starts with a list of goals or hypothesis and works backwards from the consequent (Then clause) to the antecedent (If clause) to see if there is data available that will support any of these consequents. An inference engine using backward chaining would search the inference rules until it finds one which has a consequent that matches a desired goal. If the antecedent of that rule is not known to be true, then it is added to the list of goals. In order for ones goal to be confirmed one moldiness also provide data that confirms this new rule. An example of a system that uses backward chaining will be Google search engine.The aim of the system is to tack together the best choice from many enumerated possibilities. For example, an identification problem falls in this category. Diagnostic systems also fit this model, since the aim of the system is to pick the correct diagnosis.The knowledge is structured in rules which describe how each of the possibilities might be selected. The rule breaks the problem into sub-problems. For example, the following top level rules are in a system which identifies birds.IFfamily is albatross andcolor is whiteTHENbird is laysan albatross.IFfamily is albatross andcolor is darkTHENbird is black footed albatross.The system would try all of the rules which gave information satisfying the goal of identifying the bird. Each would trigger sub-goals. In the case of these two rules, the sub-goals of determining the family and the color would be pursued. The following rule is one that satisfies the family sub-goalIForder is tubenose andsize large andwings long narrowTHENfamily is albatross.The sub-goals of determining color, size, and wings would be satisfied by asking the user. By having the lowest level sub-goal satisfied or denied by the user, the system effectively carries on a dialog with the user. The user sees the system asking questions and responding to answers as it attempts to find the rule which aright identifies the bird.Note that the goals always match the affirmed versions of the consequents of implications and even then, their antecedents are then considered as the new goals which ultimately must match known facts which are normally defined as consequents whose antecedents are always true.Due to the reason that the list of goals determines which rules are selected and used, this method is called goal-driven, in contrast to data-driven forward-chaining inference. The backward chaining approach is ofttimes employ by expert systems.For a data driven system, the system must be initially populated with data, in contrast to the goal driven system which gathers data as it needs it. Figure 1.2 illustrates the difference between forward and backward chaining systems for two simplified rules. The forward chaining system starts with the data of a=1 and b=2 and uses the rules to derive d=4. The backward chaining system starts with the goal of determination a take to be for d and uses the two rules to reduce that to th e problem of finding values for a and b.UncertaintyOften times in structured selection problems the final answer is not known with complete certainty. The experts rules might be vague, and the user might be unsure of answers to questions. This can be easily seen in medical diagnostic systems where the expert is not able to be definite about the relationship between symptoms and diseases. In fact, the doctor might offer multiple possible diagnoses.For expert systems to work in the real world they must also be able to deal with uncertainty. One of the simplest schemes is to associate a numeric value with each piece of information in the system. The numeric value represents the certainty with which the information is known. There are numerous ways in which these numbers can be defined, and how they are combined during the inference process.Data modelFor all rule based systems, the rules refer to data. The data representation can be simple or complex, depending on the problem. The mos t fundamental scheme uses attribute-value pairs. Examples are color-white, and size-large.When a system is reasoning about multiple objects, it is necessary to include the object as well as the attribute-value. For example the piece of furniture placement system might be dealing with multiple chairs with different attributes, such as size. The data representation in this case must include the object.Once there are objects in the system, they each might have multiple attributes. This leads to a record-based structure where a single data item in working storage contains an object name and all of its associated attribute-value pairs.Frames are a more complex way of storing objects and their attribute-values. Frames add intelligence to the data representation, and allow objects to inherit values from other objects. Furthermore, each of the attributes can have associated with it procedures (called demons) which are executed when the attribute is asked for, or updated.In a furniture plac ement system each piece of furniture can inherit default values for length. When the piece is placed, demons are activated which automatically adjust the available space where the item was placed.User InterfaceThe acceptability of an expert system depends to a great extent on the quality of the user interface. The easiest to implement interfaces communicate with the user through a scrolling dialog as illustrated in figure 1.4. The user can enter commands, and respond to questions. The system responds to commands, and asks questions during the inferencing process.More advanced interfaces make heavy use of pop-up menus, windows, mice, and similar techniques as shown in figure 1.5. If the machine supports it, graphics can also be a powerful tool for communicating with the user. This is especially true for the development interface which is used by the knowledge engineer in building the system.Providing ExplanationsOne of the more interesting features of expert systems is their ability to explain themselves. Given that the system knows which rules were used during the inference process, it is possible for the system to provide those rules to the user as a means for explaining the results.This type of explanation can be very dramatic for some systems such as the bird identification system. It could report that it knew the bird was a black footed albatross because it knew it was dark colored and an albatross. It could similarly justify how it knew it was an albatross.At other times, however, the explanations are relatively useless to the user. This is because the rules of an expert system typically represent empirical knowledge, and not a deep understanding of the problem domain. For example a car diagnostic system has rules which relate symptoms to problems, but no rules which describe why those symptoms are related to those problems.Explanations are always of extreme value to the knowledge engineer. They are the program traces for knowledge bases. By looking at ex planations the knowledge engineer can see how the system is behaving, and how the rules and data are interacting. This is an valuable diagnostic tool during development.Why Use Expert System?In this section, the advantages and disadvantages of implementing the expert systems are provided. Then, the pros and cons will be reviewed according to my viewpoint and I will conclude as to why expert system SHOULD be implemented as a wiser alternative in obtaining the best solutions in overcoming complex problems.The Advantages of Using Expert SystemExpert system has been reliably used in the business world to gain tactical advantages and forecast the markets condition. In this globalization era where every decision made in the business world is critical for success, the assistance provided from an expert system is undoubtedly essential and highly reliable for an organization to succeed. Examples given below will be the advantages for the implementation of an expert systemProviding consisten t solutions It can provide consistent answers for repetitive decisions, processes and tasks. As long as the rule base in the system remains the same, regardless of how many times similar problems are being tested, the final conclusions drawn will remain the same. Provides reasonable explanations It has the ability to clarify the reasons why the conclusion was drawn and be why it is considered as the most logical choice among other alternatives. If there are any doubts in concluding a certain problem, it will prompt some questions for users to answer in order to process the logical conclusion.Overcome human limitations It does not have human limitations and can work almost the clock continuously. Users will be able to frequently use it in seeking solutions. The knowledge of experts is an invaluable asset for the company. It can store the knowledge and use it as long as the organization needs.Easy to adapt to new conditions Unlike humans who often have tump overs in adapting in new environments, an expert system has high adaptability and can meet new requirements in a short period of time. It also can capture new knowledge from an expert and use it as inference rules to solve new problems.The Disadvantages of Using Expert SystemAlthough the expert system does provide many significant advantages, it does have its drawbacks as well. Examples given below will be the disadvantages for the implementation of an expert systemLacks common sense It lacks common sense needed in some decision making since all the decisions made are based on the inference rules set in the system. It also cannot make creative and innovative responses as human experts would in unusual circumstances.High implementation and maintenance appeal The implementation of an expert system will be a financial burden for smaller organizations since it has high development cost as well as the subsequent recurring costs to upgrade the system to adapt in new environment.Difficulty in creating infe rence rules Domain experts will not be able to always explain their logic and reasoning needed for the knowledge engineering process. Hence, the task of codifying out the knowledge is highly complex and may require highMay provide ill-use solutions It is not error-free. There may be errors occurred in the processing due to some logic mistakes made in the knowledge base, which it will then provide the harm solutions.SummaryIt is entirely subjective as to whether the advantages of expert system overweigh the disadvantages of implementing it. It depends on the organizations viewpoint as to which objectives have the higher priority, whether in cutting cost or in producing a higher quality decision-making. However, in my opinion, the implementation of expert system is critical in providing the better service towards customers as well as possessing the competitive advantages over strong competitors.Cutting Cost VS Better Quality of ServicesIf an organization is financially stable, the expert system is worth disbursement money and resources on, based on its fame and history of delivering many positive results. Though some organizations may have the cost-cutting objective as the top priority, if a wrong decision is made, it could lead to heavier financial loss. Adding insult to injury, the organizations reputation will be tarnished and customers may lose confidence towards the services of the organization.Expert System VS Human Expertsanother(prenominal) main constraint of implementing the expert system would be the process of capturing the knowledge and codifying it into the system. However, an expert will not be available to provide his expertise around the clock. Hence, the importance of having the knowledge available all the time for critical decision-making far overweighs the difficulty that the organization will face in capturing the said knowledge.Humans also have limitations as to how much knowledge a human is able to digest and comprehend. As for expert system, it is able to store as much knowledge as possible base on its storage space. Hence, in terms of performance, expert system is capable to perform as good if not better then human.Implementing Expert System into e-Commerce SystemIt has yet to be common for e-commerce systems to be implementing expert system to enhance its capability and experience for web users. There are still not many web developers willing to embed an expert system into their e-commerce system, mainly due to its difficulty in the knowledge engineering process to codify the human expertise. Yet, it is plausible to have a less complex expert system embedded in an e-commerce system to aid customers make decisions. The appropriate inference technique to be used in an e-commerce system will be forward chaining method, since customers will be providing part by part of data which will then be compared with the rule base to finally draw a conclusion.Providing questionnairesThrough forward chaining method, the prope rly organized questionnaires will be able to obtain parts of small information from customers who couldnt make their decision upon which item to be bought. Every single question will have its purpose in determining the condition of the customers thoughts and liking, and then the answer provided will be compared with the rule base in the expert system to draw a final conclusion. This data-driven method is simple and productive since the process of codifying the human expertise of recommending an item that suits the customers liking isnt that complex.Example of capitulumnaireThe questionnaire below is used for the purpose of attaining small parts of information from the customer and the answers provided will be compared to the rule base in order to generate a decision for himQuestion 1What is your budget range? (Determining the range of performance from the desktop)A. RM 2000 B. lt RM 3000C. RM 5000Inference RulesIf X budget is less than RM2000 Then X needs no NVIDIA graphic cardI f X budget is less than RM3000 Then X needs NVIDIA graphic card(s)If X budget is more than RM5000 Then X needs NVIDIA graphic card(s) with better computer accessoriesNote If user chose RM 2000 Question 2 will be skipped.Question 2What are the games you mostly play? (Determining the graphic card requirements)A. Massive Multiplayer Online Role Playing Games (MMORPG)B. First-Person-Shooting (FPS)C. AllInference RulesIf X needs NVIDIA graphic card(s) AND X plays MMORPG Then X needs NVIDIA GTX 260If X needs NVIDIA graphic card(s) with better computer accessories AND X plays MMORPG Then X needs NVIDIA GTX 260 and High solvent MonitorIf X needs NVIDIA graphic card(s) AND X plays FPS Then X needs NVIDIA GT 9600If X needs NVIDIA graphic card(s) with better computer accessories AND X plays FPS Then X needs NVIDIA GT 9600 and Gaming Laser MouseQuestion 3How frequent do you download files such as songs and movies from the internet? (Determining the needed storage space)A. SeldomB. Often Inference RulesIf X rarely download files Then X needs 320GB storage spaceIf X often download files Then X needs 500GB storage spaceProviding ExplanationsBased on the questionnaire above, if a customer selects C, B, and B, the explanation will be givenThe user selects NVIDIA GT 9600, Gaming Laser Mouse and 500 GB storage space.User plays First-Person-Shooting games which require middle-performance of graphic card and a gaming laser reversal to increase precision of mouse-controlling. User often downloads files and requires large storage space.If a customer selects C, A, and A, the explanation will be givenThe user selects NVIDIA GTX 260, High Resolution Monitor and 320GB storage space.User plays MMORPG which require high-performance of graphic card and a high resolution monitor to enhance the gaming experience. User seldom downloads files and requires moderate storage space.ConclusionTo conclude this report, expert system is undeniably reliable in terms of providing reasonable a nd highly valuable decisions. Knowledge and experiences from a human expert can lead to the critical decision-making in achieving success. Yet, as humans have limitations in terms of how much of knowledge is comprehendible by a person and the possible fatigue of dealing with too much work, the expert system doesnt have any.As knowledge is a valuable asset to an organization, retaining the experts knowledge is critical for the future of the organization. The expert system can play a vital role in storing and retaining the knowledge from a human expert. This saves the trouble of having the need to hire experts within the same domain for years.The rapid change and improvement of technologies will gradually decrease the cost for implementing an expert system. This will significantly reduce the financial burden for small companies in deciding the implementation of expert system. In the business world, organizations often faced trouble in making tough decisions and overcome complex probl ems. Customers often require computerized systems to support their decision-making. All these criteria can be met with the implementation of the expert system.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.