Artificial+Intelligence+and+Expert+System

**Artificial Intelligence (AI) and Expert Systems (ES) **
**Artificial Intelligence** -is the science and engineering of making intelligent machines, especially intelligent computer programs. IT is related to the similar task of using computers to understand human intelligence, but AI does not have a confine itself to methods that are biologically observable.

__//**Branches of AI **//__
What a program knows about the world in general the facts of the specific situation in which it must act, and its goals are all represented by sentences of some mathematical logical language. The program decides what to do by inferring that certain actions are appropriate for achieving its goals. The first article proposing this was [[|McC59]]. [[|McC89]] is a more recent summary. [[|McC96b]] lists some of the concepts involved in logical aI. [[|Sha97]] is an important text.
 * Logical AI **

AI programs often examine large numbers of possibilities, e.g. moves in a chess game or inferences by a theorem proving program. Discoveries are continually made about how to do this more efficiently in various domains.
 * Search **

When a program makes observations of some kind, it is often programmed to compare what it sees with a pattern. For example, a vision program may try to match a pattern of eyes and a nose in a scene in order to find a face. More complex patterns, e.g. in a natural language text, in a chess position, or in the history of some event are also studied. These more complex patterns require quite different methods than do the simple patterns that have been studied the most.
 * Pattern Recognition **

Facts about the world have to be represented in some way. Usually languages of mathematical logic are used.
 * Representation **

From some facts, others can be inferred. Mathematical logical deduction is adequate for some purposes, but new methods of non-monotonic inference have been added to logic since the 1970s. The simplest kind of non-monotonic reasoning is default reasoning in which a conclusion is to be inferred by default, but the conclusion can be withdrawn if there is evidence to the contrary. For example, when we hear of a bird, we man infer that it can fly, but this conclusion can be reversed when we hear that it is a penguin. It is the possibility that a conclusion may have to be withdrawn that constitutes the non-monotonic character of the reasoning. Ordinary logical reasoning is monotonic in that the set of conclusions that can the drawn from a set of premises is a monotonic increasing function of the premises. Circumscription is another form of non-monotonic reasoning.
 * Inference **

This is the area in which AI is farthest from human-level, in spite of the fact that it has been an active research area since the 1950s. While there has been considerable progress, e.g. in developing systems of non-monotonic reasoning and theories of action, yet more new ideas are needed. The Cyc system contains a large but spotty collection of common sense facts.
 * Common Sense Knowledge and Reasoning **

Programs do that. The approaches to AI based on connectionism and neural nets specialize in that. There is also learning of laws expressed in logic. [[|Mit97]] is a comprehensive undergraduate text on machine learning. Programs can only learn what facts or behaviors their formalisms can represent, and unfortunately learning systems are almost all based on very limited abilities to represent information.
 * <span style="font-family: 'Comic Sans MS',cursive;">Learning From Experience **

<span style="font-family: 'Comic Sans MS',cursive;">Planning programs start with general facts about the world (especially facts about the effects of actions), facts about the particular situation and a statement of a goal. From these, they generate a strategy for achieving the goal. In the most common cases, the strategy is just a sequence of actions.
 * <span style="font-family: 'Comic Sans MS',cursive;">Planning **

<span style="font-family: 'Comic Sans MS',cursive;">This is a study of the kinds of knowledge that are required for solving problems in the world.
 * <span style="font-family: 'Comic Sans MS',cursive;">Epistemology **

<span style="font-family: 'Comic Sans MS',cursive;">Ontology is the study of the kinds of things that exist. In AI, the programs and sentences deal with various kinds of objects, and we study what these kinds are and what their basic properties are. Emphasis on ontology begins in the 1990s.
 * <span style="font-family: 'Comic Sans MS',cursive;">Ontology **

<span style="font-family: 'Comic Sans MS',cursive;">A heuristic is a way of trying to discover something or an idea imbedded in a program. The term is used variously in AI. Heuristic functions are used in some approaches to search to measure how far a node in a search tree seems to be from a goal. Heuristic predicates that compare two nodes in a search tree to see if one is better than the other, i.e. constitutes an advance toward the goal, may be more useful. [My opinion].
 * <span style="font-family: 'Comic Sans MS',cursive;">Heuristics **

<span style="font-family: 'Comic Sans MS',cursive;">Genetic programming is a technique for getting programs to solve a task by mating random Lisp programs and selecting fittest in millions of generations. It is being developed by John Koza's group and here's a [|tutorial]. =**//__<span style="color: #000080; font-family: 'Comic Sans MS',cursive; font-size: 110%;">Applications of AI __//**= <span style="font-family: 'Comic Sans MS',cursive;">You can buy machines that can play master level chess for a few hundred dollars. There is some AI in them, but they play well against people mainly through brute force computation--looking at hundreds of thousands of positions. To beat a world champion by brute force and known reliable heuristics requires being able to look at 200 million positions per second.
 * <span style="font-family: 'Comic Sans MS',cursive;">Genetic Programming **
 * <span style="font-family: 'Comic Sans MS',cursive;">Game Playing **

<span style="font-family: 'Comic Sans MS',cursive;">In the 1990s, computer speech recognition reached a practical level for limited purposes. Thus United Airlines has replaced its keyboard tree for flight information by a system using speech recognition of flight numbers and city names. It is quite convenient. On the the other hand, while it is possible to instruct some computers using speech, most users have gone back to the keyboard and the mouse as still more convenient.
 * <span style="font-family: 'Comic Sans MS',cursive;">Speech Recognition **

<span style="font-family: 'Comic Sans MS',cursive;">Just getting a sequence of words into a computer is not enough. Parsing sentences is not enough either. The computer has to be provided with an understanding of the domain the text is about, and this is presently possible only for very limited domains.
 * <span style="font-family: 'Comic Sans MS',cursive;">Understanding Natural Language **

<span style="font-family: 'Comic Sans MS',cursive;">The world is composed of three-dimensional objects, but the inputs to the human eye and computers' TV cameras are two dimensional. Some useful programs can work solely in two dimensions, but full computer vision requires partial three-dimensional information that is not just a set of two-dimensional views. At present there are only limited ways of representing three-dimensional information directly, and they are not as good as what humans evidently use.
 * <span style="font-family: 'Comic Sans MS',cursive;">Computer Vision **

<span style="font-family: 'Comic Sans MS',cursive;">A ``knowledge engineer'' interviews experts in a certain domain and tries to embody their knowledge in a computer program for carrying out some task. How well this works depends on whether the intellectual mechanisms required for the task are within the present state of AI. When this turned out not to be so, there were many disappointing results. One of the first expert systems was MYCIN in 1974, which diagnosed bacterial infections of the blood and suggested treatments. It did better than medical students or practicing doctors, provided its limitations were observed. Namely, its ontology included bacteria, symptoms, and treatments and did not include patients, doctors, hospitals, death, recovery, and events occurring in time. Its interactions depended on a single patient being considered. Since the experts consulted by the knowledge engineers knew about patients, doctors, death, recovery, etc., it is clear that the knowledge engineers forced what the experts told them into a predetermined framework. In the present state of AI, this has to be true. The usefulness of current expert systems depends on their users having common sense.
 * <span style="font-family: 'Comic Sans MS',cursive;">Expert Systems **

<span style="font-family: 'Comic Sans MS',cursive;">One of the most feasible kinds of expert system given the present knowledge of AI is to put some information in one of a fixed set of categories using several sources of information. An example is advising whether to accept a proposed credit card purchase. Information is available about the owner of the credit card, his record of payment and also about the item he is buying and about the establishment from which he is buying it (e.g., about whether there have been previous credit card frauds at this establishment). <span style="font-family: 'Comic Sans MS',cursive;">Definitions lifted from: [|//John McCarthy//]<span style="font-family: 'Comic Sans MS',cursive;">[|of Stanford Edu]
 * <span style="font-family: 'Comic Sans MS',cursive;">Heuristic Classification **

===<span style="color: #000080; font-family: 'Comic Sans MS',cursive;">Fuzzy logic - <span style="font-family: 'Comic Sans MS',cursive;"> is a form of multi-valued logic derived from fuzzy set theory to deal with reasoning that is approximate rather than precise. ===

media type="youtube" key="jq0ELhpKevY" height="315" width="420"

<span style="color: #ff0000; font-family: 'Comic Sans MS',cursive; font-size: 150%;">Videos

1. .media type="youtube" key="oozFn2d45tg?fs=1" height="385" width="640" 2. media type="youtube" key="pjpWISEIl44?fs=1" height="385" width="640" 3. media type="youtube" key="pngRexsrmGk?fs=1" height="385" width="640" 4. media type="youtube" key="GpekuvG4JMg?fs=1" height="385" width="640" 5. media type="youtube" key="FthvUpHzwfA?fs=1" height="385" width="640"
 * //__<span style="color: #000080; font-family: 'Comic Sans MS',cursive;">Jeff Hawkings on AI __//**

<span style="color: #0000ff; font-family: 'Comic Sans MS',cursive;">media type="youtube" key="DsVUySikcVw?fs=1" height="385" width="480"
 * <span style="color: #0000ff; font-family: 'Comic Sans MS',cursive;">AI ROBOT by FORD **

<span style="color: #0000ff; font-family: 'Comic Sans MS',cursive;">media type="youtube" key="n8YYzK5TTFg?fs=1" height="385" width="480"

<span style="color: #0000ff; font-family: 'Comic Sans MS',cursive;">media type="youtube" key="xpNETVdgTBM?fs=1" height="385" width="480"
 * <span style="color: #0000ff; font-family: 'Comic Sans MS',cursive;">STEALTH x PLANES **