Tuesday, 12 May 2020

Artificial Neural Network



Artificial Neural Network

Introduction: 
“A computer system modeled on human brain or nervous system”- Wikipedia

The inventor of first neuro-computer Dr. Robert Hecht- Neilson defines a neural network as – 
“… a computing system made up of a number of simple highly interconnected processing elements which process information by their dynamic state response to external inputs”

An artificial neural network usually involves a large number of processors operating in parallel and arranged in tiers. The first tier receives the raw input information analogous to optic nerves in human vision processing. Each successive tier receives the output of preceding tier, rather than the raw input. The last tier produces output of the system.

Each processing node has its own small sphere of knowledge, including what it has seen and any rules it was originally programmed with, or developed for itself.

Definition: 
What is neural network? 
A neural network is an artificial representation of the human brain that tries to simulate its learning process. An artificial neural network is often called as Neural Network or Neural Net

Traditionally, the word neural network is referred to a network of biological neurons in nervous system that process and transmit the information. 
ANN is an interconnected group of artificial neurons that uses a mathematical model or computational model for information processing based on a connectionist approach to computation.

The artificial neurons may share some properties of biological neurons

ANN is an adaptive system that changes its structure based on external or internal information that flows through the network.

Neural computers mimic certain processing capabilities of human brain 
Neural computing is an information processing paradigm inspired by biological system , composed of large number if highly interconnected processing elements (neurons) working in union to solve specific problem.

An ANN is configured for a specific application such as pattern recognition, or data classification through a learning process.


A simple artificial neuron
  • Takes input
  • Calculate summation of inputs
  • Compare it with threshold being set during learning stage
  • Outputs the result 
 ANNs are non linear data driven self adaptive approach as opposed to traditional model based methods. They are powerful tools for modelling especially when relation between the underlying data is unknown.

ANNs can identify and learn correlated patterns between input data sets and corresponding target values. 
After training ANNs can be used to predict the outcome of new independent input data.

ANNs can imitate the learning process of human brain and can process problems involving non linear and complex data even if data is imprecise and noisy

A very important feature of ANN is their adaptive nature where learning by example replaces programming in solving problems

This feature makes computational models very appealing in application domains where one has little or incomplete understanding problem to be solved but where training data is readily available. These networks are “neural” in the sense that they are inspired by the neuroscience but not necessarily faithful models of biological neural phenomena. 
In fact majority of network are more closely related to traditional mathematical and/ or statistical models such as Non- Parametric Pattern classifiers, clustering algorithms, non linear filters, statistical regression models than they are to neurobiology models. 
NNs have been used in wide range of applications. They have been used for classification problems such as identifying underwater current sonar, recognizing speech and predicting the secondary structure of globular proteins. NNs have also been used in predicting stock market performance.

Characteristics of Neural Network:

1.                   The NNs exhibit mapping capabilities, that is, they can map input patterns to their associated output patterns.
2.                   NNs learn by example. Thus NN architectures can be trained with known examples of a problem before they are tested for their inference capabilities on unknown instances of problem. They can, therefore identify new objects previously untrained. 
3.                    The NNs posses the capability to generalize. Thus hey can predict new outcomes from past trends. 
4.                   The NNs are robust system and are fault tolerant. They
 can therefore recall full patterns from incomplete , partial or noisy patterns 
5.                   NNs can process information in parallel, at high speed, in a distributed manner.

Biological Neural Network



Introduction to Biological Neural Network: 

Human Brain consist of a large number, more than a billion of neural cells that processes information. Each cell works like a single processor. The massive interaction between all cells and their parallel processing only makes the brain’s abilities possible.
The features of Biological Neural Network are attributed to its structure and function. The fundamental unit of the network is called a Neuron or a Nerve cell.

 Its schematic structure is shown below:




The structure of neuron consists of a :

1.  Dendrites:  These are branching fibers that extend from cell body or soma. Tree like nerve fibers (dendrites) are associated with cell body and receive signals from other neurons.

2.   Soma or Cell body: Soma or a cell body of a neuron contains the nucleus and other structures. It supports chemical processing and production of neurotransmitters.

3.  Axon:  Extending from the cell body is a single long fibre called Axon, which eventually branches into strands and sub-strands.  It carries information away from the soma to synaptic sites of other neurons, muscles or glands.

4.  Axon Hillock:  It is the site of summation for incoming information. At any moment the collective influence of all neurons that conduct impulses to a given neuron will determine whether or not an action potential will be initiated at the axon hillock and propagated along the axon.

5.  Myelin Sheath: It consists of fat containing cells that insulate the axon from electrical activities. This insulation acts to increase the rate of transmission on signals. A gap exists between each myelin sheath cell along the axon. Since fat inhibits the propagation of electricity, the signals jump from one gap to the next.

6.  Node of Ranvier:  These are the gaps (about 1μm) between myelin sheath cells.  Since fat serves as a good insulator, the myelin sheaths speeds the rate of transmission of an electrical impulse along the axon.

7.  Synapse: It is a point of connection between two neurons or a neuron and a muscle or a gland. Electro-chemical communication between neurons takes place at these junctions.

8.  Terminal Buttons:  These are small knobs at the end of axon that release chemical called Neuro-Transmitters.


Information Flow: 



The transmission of a signal from one cell to another at a synapse is a complex chemical process in which specific transmitter substances are released from sending side of the junction. The effect is to raise or lower the electrical potential inside the body of receiving cells.
 If this potential reaches a threshold, a n electrical activity in the form of short impulses is generated. When this happens the cell is set to have fired. These electrical signals of fixed strength and duration are sent down to the axon. Generally, the electrical activity is confined to the interior of a neuron, whereas the chemical mechanism operates at the synapses.

Dendrites serve as receptor for signals from other neurons, whereas the purpose of axon is transmission of generated neural activity to other nerve cells (inter-neuron). Or muscle fibers(motor-neuron) or receptor neuron(which receive information from muscles or sensory organs)

Features:
1.  Size of cell body of typical neuron  ranges from 10-80 μm
2.  Gap at synaptic junction is about 200 nano-meters (nm) wide
3.  Total length of neuron varies from 0.01mm for internal neurons in brain to 1meter for neurons in the limbs.
4.  If the induced polarization potential is positive at the post- synaptic neuron then the synapse is termed as Exitatory
5.  If the induced polarization potential is negative at the post- synaptic neuron then the synapse is termed as Inhibitory


A Neuron


A Neuron

A neuron is a special biological cell that processes information. It is composed of a cell body or soma and two types of out-reaching tree like branches: the axon and the dendrites. The cell body has nucleus that contains information about hereditary traits and a plasma that holds the molecular equipments for producing material needed by the neuron.  A neuron receives signal (impulse) from other neurons through its dendrites (receivers) and transmits signals generated by its cell body along the axon (transmitter) which eventually branches into strands and sub strands. At the terminals of these strands are the synapses. A synapse is an elementary structure and functional unit between two neurons. When impulses reach the synapses terminal, certain chemicals called as Neurotransmitters are released. The neurotransmitters diffuse at synaptic gap to enhance or inhibit depending on the type of synapse, the receptor neuron’s own tendency to emit electrical impulses.  The synapse’s effectiveness can be adjusted by the signals passing through it so that synapses can learn from the activities in which they participate.
Neurons communicate with short train of impulses typically milliseconds in duration.

Stimulus⟶ Receptor⟶Neural Net⟶Effector⟶Response


Sunday, 10 May 2020

SQL- COMPLETE REFERENCE



ASP.NET





Credits: TutorialsPoint
www.tutorialspoint.com








Let Us C- Yashwant Kanetkar



The Complete Reference- C#



Operating System Notes





Credits: TutorialsPoint
www.tutorialspoint.com