Professional Documents
Culture Documents
Day 76
DIY Solution
Answer: A feedforward neural network signals travel in one direction from input to
output. There are no feedback loops, the network considers only the current input.
It cannot memorize previous inputs (e.g., CNN).
Answer: The main difference between a CNN and an RNN is the ability to process
temporal information data that comes in sequences, such as a sentence. Recurrent
neural networks are designed for this very purpose, while convolutional neural
networks are incapable of effectively interpreting temporal information. As a result,
CNNs and RNNs are used for completely distinct purposes, and there are differences
in the structures of the neural networks themselves to fit those different use cases.
CNNs employ filters within convolutional layers to transform data, whereas RNNs
are predictive, reusing activation functions from other data points in the sequence
to generate the next output in a series.
Once you look at the structure of both types of neural networks and understand
what they are used for, the difference between CNN and RNN becomes more clear.
Q4. Advantages and disadvantages of RNN.
Answer:
Advantages of RNN
• The principal advantage of RNN over ANN is that RNN can model a collection of records
(i.e., time collection) so that each pattern can be assumed to be dependent on
previous ones.
• Recurrent neural networks are even used with convolutional layers to extend the
powerful pixel neighborhood.
Disadvantages of RNN
Answer:
Taking a sequence of words as input, we try to predict the possibility of the next
word. This can be considered to be one of the most useful approaches for the
translation since the most likely sentence would be the one that is correct. In
this method, the probability of the output of a particular time-step is used to
sample the words in the next iteration.
2. Machine Translation
RNNs in one form or the other can be used for translating text from one
language to other. Almost all of the translation systems being used today use
some advanced version of a RNN. The input can be the source language and the
output will be in the target language which the user wants.
3. Speech Recognition
RNNs can be used for predicting phonetic segments considering sound waves
from a medium as an input source. The set of inputs consists of a phoneme or
acoustic signals from the audio which is processed in a proper manner and
taken as inputs. The RNN network will compute the phonemes and then
produce a phonetic segment along with the likelihood of output. The steps used
in speech recognition are as follows:-
• The input data is first processed and recognized through a neural network.
The result consists of a varied collection of input sound waves.
• Then input sound waves are classified into phonetic segments and are
pieced together into cohesive words using a RNN application. The output
consists of a pattern of phonetic segments put together into a singular whole in
a logical manner.
4. Generating Image Descriptions
5. Video Tagging
RNNs can be used for video search where we can do an image description of a
video divided into numerous frames.
6. Text Summarization
At its core, the algorithm is designed to consider one unit of the image as input
and produce the description of the image in the form of multiple groups of
output .