Neural Networks

An Artificial Neural Network (ANN) is an information processing paradigm that is inspired by the way biological nervous systems works, such as the brain, process information. The key element of this paradigm is the structure of the information processing system. It is composed of a large number of highly interconnected processing elements (neurons) working together to solve specific problems. ANNs, it’s just like people, learn by example. An ANN is designed for a specific application, such as a data classification, through a learning process. Learning in biological systems involves adjustments to the synaptic connections that exist between the neurons. This is true of ANNs as well.

Why use neural networks?

Neural networks, with their ability to derive meaning from complicated or imprecise data, can be used to get patterns and detect trends that are too complex to be noticed by either humans or other computer techniques. A trained neural network can be thought of as an "expert" in the category of information it has been given to analyze. This expert can then be used to provide projections given new situations of interest and answer "what if" questions.
Other advantages include:
  1. Adaptive learning: An ability to learn how to do tasks based on the data given for training or initial experience.
  2. Self-Organization: An ANN can create its own organization or representation of the information it receives during learning time.
  3. Real Time Operation: ANN computations may be carried out in parallel, and special hardware devices are being designed and manufactured which take advantage of this capability.

2. Human and Artificial Neurons - investigating the similarities

2.1 How the Human Brain Learns?

Much is still unknown about how the brain trains itself to process information, so theories abound. In the human brain, a typical neuron collects signals from others through a host of fine structures called dendrites. The neuron sends out signals of electrical activity through a long, thin stand known as an axon, which splits into thousands of branches. At the end of each branch, a structure called a synapse converts the activity from the axon into electrical effects that inhibit or excite activity in the connected neurons. When a neuron receives excitatory input that is sufficiently large compared with its inhibitory input, it sends a spike of electrical activity down its axon. Learning occurs by changing the effectiveness of the synapses so that the influence of one neuron on another changes.





Components of neuron  The synapse

2.2 From Human Neurons to Artificial Neurons

We conduct these neural networks by first trying to find the essential features of neurons and their interconnections. We then typically program a computer to simulate these features. However because our knowledge of neurons is incomplete and our computing power is limited, our models are necessarily gross idealizations of real networks of neurons.
The neuron model.

3.1 A simple neuron

An artificial neuron is a device with many inputs and one output. The neuron has two modes of operation; the training mode and the using mode. In the training mode, the neuron can be trained to fire (or not), for particular input patterns. In the using mode, when a taught input pattern is detected at the input, its associated output becomes the current output. If the input pattern does not belong in the taught list of input patterns, the firing rule is used to determine whether to fire or not.
 A simple neuron

Architecture of neural networks

Feed-forward networks

Feed-forward ANNs (figure 4-1) allow signals to travel one way only; from input to output. There is no feedback (loops) i.e. the output of any layer does not affect that same layer. Feed-forward ANNs tend to be straight forward networks that associate inputs with outputs. They are widely used in pattern recognition. This type of organization is also referred to as bottom-up or top-down.

Feedback networks

Feedback networks (figure 4-2) can have signals travelling in both directions by introducing loops in the network. Feedback networks are very powerful and can get extremely complicated. Feedback networks are dynamic; their 'state' is changing continuously until they reach a balanced point. They remain at the balanced point until the input changes and a new equilibrium needs to be found. Feedback architectures are also referred to as interactive or recurrent, although the latter term is often used to denote feedback connections in single-layer organizations.
Figure 4.1 An example of a simple feed-forward network
Figure 4.2 An example of a complicated network

Network layers

The commonest type of artificial neural network consists of three groups, or layers, of units: a layer of "input" units is connected to a layer of "hidden" units, which is connected to a layer of "output" units. (Figure 4.1)
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifThe activity of the input units represents the raw information that is fed into the network.
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifThe activity of each hidden unit is determined by the activities of the input units and the weights on the connections between the input and the hidden units.
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifThe behavior of the output units depends on the activity of the hidden units and the weights between the hidden and output units.
This simple type of network is interesting because the hidden units are free to construct their own representations of the input. The weights between the input and hidden units determine when each hidden unit is active, and so by modifying these weights, a hidden unit can choose what it represents.
We also distinguish single-layer and multi-layer architectures. The single-layer organization, in which all units are connected to one another, to form the most general case and is of more potential computational power than hierarchically structured multi-layer organizations. In multi-layer networks, units are often numbered by layer, instead of following a global numbering.
The memorization of patterns and the subsequent response of the network can be categorized into two general paradigms:
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifAssociative mapping in which the network learns to produce a particular pattern on the set of input units whenever another particular pattern is applied on the set of input units. The associative mapping can generally be broken down into two mechanisms:
     http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.greenbal.gifAuto-association: an input pattern is associated with itself and the states of input and output units coincide. This is used to provide pattern completion, ie to produce a pattern whenever a portion of it or a distorted pattern is presented. In the second case, the network actually stores pairs of patterns building an association between two sets of patterns.
     http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.greenbal.gifHetero-association: is related to two recall mechanisms:
   http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bluedot.gifNearest-neighbor recall, where the output pattern produced corresponds to the input pattern stored, which is closest to the pattern presented, and
   http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bluedot.gifInterpolative recall, where the output pattern is a similarity dependent     interpolation of the patterns stored corresponding to the pattern presented. Yet another paradigm, which is a variant associative mapping is classification, ie when there is a fixed set of categories into which the input patterns are to be classified.
 http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gif Regularity detection: in which units learn to respond to particular properties of the input patterns. Whereas in associative mapping the network stores the relationships among patterns, in regularity detection the response of each unit has a particular 'meaning'. This type of learning mechanism is essential for feature discovery and knowledge representation.
 http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifFixed networks in which the weights cannot be changed, ie dW/dt=0. In such networks, the weights are fixed a priori according to the problem to solve.
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifAdaptive networks which are able to change their weights, ie dW/dt not= 0.
All learning methods used for adaptive neural networks can be classified into two major categories:
*      Supervised learning which incorporates an external teacher, so that each output unit is told what its desired response to input signals ought to be. During the learning process global information may be required. Paradigms of supervised learning include error-correction learning, reinforcement learning and stochastic learning.
An important issue conserving supervised learning is the problem of error convergence, ie the minimization of error between the desired and computed unit values. The aim is to determine a set of weights which minimizes the error. One well-known method, which is common to many learning paradigms, is the least mean square (LMS) convergence.
*      Unsupervised learning uses no external teacher and is based upon only local information. It is also referred to as self-organization, in the sense that it self-organizes data presented to the network and detects their emergent collective properties. Paradigms of unsupervised learning are Hebbian learning and competitive learning.

 Transfer Function

The behavior of an ANN (Artificial Neural Network) depends on both the weights and the input-output function (transfer function) that is specified for the units. This function typically falls into one of three categories:
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifLinear (or ramp)
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifThreshold
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifSigmoid
For linear units, the output activity is proportional to the total weighted output.
For threshold units, the output are set at one of two levels, depending on whether the total input is greater than or less than some threshold value.
For sigmoid units, the output varies continuously but not linearly as the input changes. Sigmoid units bear a greater resemblance to real neurones than do linear or threshold units, but all three must be considered rough approximations.
To make a neural network that performs some specific task, we must choose how the units are connected to one another (see figure 4.1), and we must set the weights on the connections appropriately. The connections determine whether it is possible for one unit to influence another. The weights specify the strength of the influence.
We can teach a three-layer network to perform a particular task by using the following procedure:
  1. We present the network with training examples, which consist of a pattern of activities for the input units together with the desired pattern of activities for the output units.
  2. We determine how closely the actual output of the network matches the desired output.
  3. We change the weight of each connection so that the network produces a better approximation of the desired output.

Neural Networks in Practice

Given this description of neural networks and how they work, what real world applications are they suited for? Neural networks have broad applicability to real world business problems. In fact, they have already been successfully applied in many industries.
Since neural networks are best at identifying patterns or trends in data, they are well suited for prediction or forecasting needs including:
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifWeather forecasting
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifIndustrial process control
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifData validation
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifRisk management
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/cs11/report.bullet.gifTarget marketing
But to give you some more specific examples; ANN are also used in the following specific paradigms: recognition of speakers in communications; diagnosis of hepatitis; recovery of telecommunications from faulty software; interpretation of multi-meaning Chinese words; undersea mine detection; texture analysis; three-dimensional object recognition; hand-written word recognition; and facial recognition. .

Neural networks in medicine

Artificial Neural Networks (ANN) are currently a 'hot' research area in medicine and it is believed that they will receive extensive application to biomedical systems in the next few years. At the moment, the research is mostly on modeling parts of the human body and recognizing diseases from various scans (e.g. cardiograms, CAT scans, ultrasonic scans, etc.).
Neural networks are ideal in recognizing diseases using scans since there is no need to provide a specific algorithm on how to identify the disease. Neural networks learn by example so the details of how to recognize the disease are not needed. What is needed is a set of examples that are representative of all the variations of the disease. The quantity of examples is not as important as the 'quantity'. The examples need to be selected very carefully if the system is to perform reliably and efficiently.

Modeling and Diagnosing the Cardiovascular System

Neural Networks are used experimentally to model the human cardiovascular system. Diagnosis can be achieved by building a model of the cardiovascular system of an individual and comparing it with the real time physiological measurements taken from the patient. If this routine is carried out regularly, potential harmful medical conditions can be detected at an early stage and thus make the process of combating the disease much easier.

Marketing

There is a marketing application which has been integrated with a neural network system. The Airline Marketing Tactician (a trademark abbreviated as AMT) is a computer system made of various intelligent technologies including expert systems. A feed forward neural network is integrated with the AMT and was trained using back-propagation to assist the marketing control of airline seat allocations. The adaptive neural approach was amenable to rule expression. Additionally, the application's environment changed rapidly and constantly, which required a continuously adaptive solution. The system is used to monitor and recommend booking advice for each departure. Such information has a direct impact on the profitability of an airline and can provide a technological advantage for users of the system. [Hutchison & Stephens, 1987]

 

Conclusion

The computing world has a lot to gain from neural networks. Their ability to learn by example makes them very flexible and powerful. Furthermore there is no need to devise an algorithm in order to perform a specific task; i.e. there is no need to understand the internal mechanisms of that task. They are also very well suited for real time systems because of their fast response and computational times which are due to their parallel architecture.
Perhaps the most exciting aspect of neural networks is the possibility that some day 'conscious' networks might be produced. There is a number of scientists arguing that consciousness is a 'mechanical' property and that 'conscious' neural networks are a realistic possibility.
Finally, I would like to state that even though neural networks have a huge potential we will only get the best of them when they are integrated with computing, AI, fuzzy logic and related subjects.

References:

A Novel Approach to Modeling and Diagnosing the Cardiovascular System
http://www.emsl.pnl.gov:2080/docs/cie/neural/papers2/keller.wcnn95.abs.html
An introduction to neural computing. Aleksander, I. and Morton, H. 2nd edition
Assimov, I (1984, 1950), Robot, Ballatine, New York.
DARPA Neural Network Study (October, 1987-February, 1989). MIT Lincoln Lab. Neural Networks, Eric Davalo and Patrick Naim
Industrial Applications of Neural Networks (research reports Esprit, I.F. Croall, J.P.Mason)
Klimasauskas, CC. (1989). The 1989 Neuro Computing Bibliography.
Learning internal representations by error propagation by Rumelhart, Hinton and Williams (1986).
Neural Networks at Pacific Northwest National Laboratory
http://www.emsl.pnl.gov:2080/docs/cie/neural/neural.homepage.html
Neural Networks by Eric Davalo and Patrick Naim
Pattern Recognition of Pathology Images
http://kopernik-eth.npac.syr.edu:1200/Task4/pattern.html

We Treat All Diseases

We Treat All Diseases
One day Juha wanted to open a private clinic for him, so he rented a small room and put this announcement on it: We treat all diseases with only 20 dinars, and if God does not write you a cure, we will give you double the amount.
The next day a man came and read the advatisement. He was very impressed by the idea and I thought of a bad idea. The man said to himself: What is this idiot, I will claim the disease now and go to the clinic and clear you O Juha t
o take you twice the amount without any fatigue or hardship.
The man went to the clinic and paid 20 dinars to Juha. He said to him: "I have been suffering from a serious illness for a long time. I do not feel the taste of eating. I miss the taste. I went to many doctors but no one could find a solution or cure for my condition.
Juha shook his head and then asked his nurse to give him a spoon of the can and put it in the patient's mouth.
The nurse then did so.
 The man shouted bitterly at the bitter taste of the medicine. He said to Juha with great nervousness: "What is this Juha? His taste is never unbearable." Sir, the taste has returned to you and now you have taste.
The fraudulent man went out of Juha's clinic and promise to retaliate and robbed him of all his money and possessions.
After a week  the same man returned to Juha and paid another 20 dinars. He said to Juha: "Doctor, I have been joking since I left you and I can never remember anything. I have lost my memory and please treat me now ..
Juha understood that the man wanted to fight him, he thought a little and then said with a malicious smile: If you allow me nurse nurse bring me 22 out of the box, and before completing his speech Juha man rose of his head saying: No I do not want this medicine, the ugly taste and Atigah .. Juha laughed, he says: Congratulations, sir, I have returned to you !! your memory.

Something You Dont Know About Islam!

Islam is a religion of peace, mercy, and forgiveness. The word Islam is derived from the word “Salam,” which means peace. Islam, therefore, is a religion of peace; it entails the total submission to the will of Allah, which means God in English. It is a total way of life for its followers, a religion of mutual understanding and reconciliation, a religion that educates its adherents on how to eat, dress, talk, and relate with others. 
So, what does the religion of Islam teach? Who are the followers of this religion? And how does the real Islam differs from the one portrayed by the Western media? This article tries to answer these questions.
Who is a Muslim?
The word Muslim simply referred to a male person who practices the religion of Islam. “What about a female follower of Islam?” you might probably ask. She is referred to as a Muslimah. For example, Ahmad is a Muslim; Fatima is a Muslimah. 

Having clarified that, the term Muslim is used to describe Muslims across all genders. A Muslim is anyone who gives total submission to the will of God, believes in the oneness of God, believes that God creates mankinds, angels, and jins. 
Every Muslim believes that God choose some among his creatures as messengers, and sends them to the mankinds to guide them, beginning from Adam (A.S) to Muhammad (peace be upon him).
In addition, a Muslim believes that God revealed some scriptures to his messengers. He also believes that all that has happen to him is from God, and also believes in the last day when God gather all his creatures and judge between them accordingly.
Qualities of a Pious Muslim
A pious Muslim or Muslimah is the one who follows the correct teachings of Quran and Sunnah. A pious Muslim has good relations with his fellow men and with his parents. Also, a pious Muslim is an example of sincere and good character to his wife, children, neighbors, and community at large. 
It is also important to note that a pious Muslim is not a saint; he often commits sins but frequently repent to his creature—God the Almighty. 
The Real Islam Vs the One Portrayed by the Western Media
The world’s media especially that of the West have the habit of labeling any act of violence carried out by Muslims as “terrorism.” However, when the same act is carried out by a non-Muslim, they will call it “domestic violence.”
The same act with different name!
Well, whatever they call it, Islam does not encourage terrorism. In fact, Islam clearly condemns it in the Holy Quran (5:32) where Allah says: "Killing of one soul is like killing of all humanity.”
Also, Imam Bukhari narrated that Prophet Muhammad (peace be upon him) said “Whoever kills a popular welcome not promising heaven.” 
Muslim scholars all over the world have condemned terrorism and issued a Sharia ruling against it. Though some Muslims kill innocent souls, this does not mean that Islam supports their action. When a drunkard driver hit a large number of passersby in New York last month, no one blames the car manufacturer that the terrorist used to carry out his attacks. 
You cannot blame a religion with over 1.6 billion people as well just for a terrorist act committed by a few so-called Muslims. According to a recent terrorism study, "Far right extremism violence caused 272 deaths between 1990-2016 more than twice as many as 130 deaths from Islamic extremism during the same period.”
Islam is a religion of kindness, mutual understanding, and tolerance. It instructs its followers to always do good and shun away from committing evil deeds, such as murder, terrorism, rape, and racism. 
It is a religion of peace not a religion of terrorism.