Skip to main content

What is ANN and CNN

An artificial neural network is a collection of smaller units called neurons, which are computing units modeled on the way the human brain processes information. Artificial neural networks borrow some ideas from the biological neural network of the brain, in order to approximate some of its processing results. These units or neurons take incoming data like the biological neural networks and learn to make decisions over time. Neural networks learn through a process called backpropagation.

Backpropagation uses a set of training data that match known inputs to desired outputs. First, the inputs are plugged into the network and outputs are determined. Then, an error function determines how far the given output is from the desired output. Finally, adjustments are made in order to reduce errors. A collection of neurons is called a layer, and a layer takes in an input and provides an output. Any neural network will have one input layer and one output layer. It will also have one or more hidden layers which simulate the types of activity that goes on in the human brain. Hidden layers take in a set of weighted inputs and produce an output through an activation function. A neural network having more than one hidden layer is referred to as a deep neural network.

Perceptrons are the simplest and oldest types of neural networks. They are single-layered neural networks consisting of input nodes connected directly to an output node. Input layers forward the input values to the next layer, by means of multiplying by a weight and summing the results. Hidden layers receive input from other nodes and forward their output to other nodes. Hidden and output nodes have a property called bias, which is a special type of weight that applies to a node after the other inputs are considered. Finally, an activation function determines how a node responds to its inputs. The function is run against the sum of the inputs and bias, and then the result is forwarded as an output. Activation functions can take different forms, and choosing them is a critical component to the success of a neural network.

Convolutional neural networks or CNNs are multilayer neural networks  that take  inspiration  from the animal visual cortex. CNNs are useful in applications such as image processing, video recognition, and natural language processing. A convolution is a mathematical operation, where a function is applied to another function and the result is a mixture of the two functions. Convolutions are good at detecting simple structures in an image, and putting those simple features together to construct more complex features.

In a convolutional network, this process occurs over a series of layers, each of which conducts a convolution on the output of the previous layer. CNNs are adept at building complex features from less complex ones. Recurrent neural networks or RNNs, are recurrent because they perform the same task for every element of a sequence, with prior outputs feeding subsequent stage inputs. In a general neural network, an input is processed through a number of layers and an output is produced with an assumption that the two successive inputs are independent of each other, but that may not hold true in certain scenarios. For example, when we need to consider the context in which a word has been spoken, in such scenarios, dependence on previous observations has to be considered to produce the output. RNNs can make use of information in long sequences, each layer of the network representing the observation ata certain time.

Comments

Popular posts from this blog

What is Artificial Intelligence,its type and applications

AI is a part of Computer Science.AI is anything that makes machine more intelligent. AI is a technology which can not replace human intelligence but rather it can extend human capabilities.Now a days AI is most wanted and powerful technology.Every industry wants to have its AI system because it can process very large amount of data in less time. How does AI learn ? The intelligence which machine having is only provided by us.So basically we provide to machine  ability to examine and create machine learning models based on inputs and desired output and we do this based on supervised learning,unsupervised learning and reinforcement learning. Types of AI based on Strength Weak or Narrow AI- Narrow AI is that applied on specific domain.It can perform specific task but can not learn new things its own.It can only make decision based on programmed algorithms and trained data.For example AI powered based searches,virtual assistant,self driving cars,language translato...

Can AI be dangerous

CAN AI BE DANGEROUS? Most researchers agree that a superintelligent AI is unlikely to exhibit human emotions like love or hate, and that there is no reason to expect AI to become intentionally benevolent or malevolent.  Instead, when considering how AI might become a risk, experts think two scenarios most likely: The AI is programmed to do something devastating:   Autonomous weapons are artificial intelligence systems that are programmed to kill. In the hands of the wrong person, these weapons could easily cause mass casualties. Moreover, an AI arms race could inadvertently lead to an AI war that also results in mass casualties. To avoid being thwarted by the enemy, these weapons would be designed to be extremely difficult to simply “turn off,” so humans could plausibly lose control of such a situation. This risk is one that’s present even with narrow AI, but grows as levels of AI intelligence and autonomy increase. The AI is programm...

What is deep learning and how it is improving the machine learning

While Machine Learning is a subset of Artificial Intelligence , Deep Learning is a specialized subset of Machine Learning . Deep Learning layers algorithms to create a Neural Network, an artificial replication of the structure and functionality of the brain, enabling AI systems to continuously learn on the job and improve the quality and accuracy of results. This is what enables these systems to learn from unstructured data such as photos, videos, and audio files. Deep Learning, for example, enables natural language understanding capabilities of AI systems, and allows them to work out the context and intent of what is being conveyed. Deep learning algorithms do not directly map input to output. Instead, they rely on several layers of processing units. Each layer passes its output to the next layer, which processes it and passes it to the next. The many layers is why it’s called deep learning. When creating deep learning algorithms,developers and engineers configure the number...