Professional Documents
Culture Documents
aiml ses 2-1
aiml ses 2-1
aiml ses 2-1
Bayesian network -
Bayesian belief network (BBN) is a type of probabilistic graphical model used in artificial
intelligence to represent and reason about uncertainty.
It is a directed acyclic graph (DAG) in which nodes represent random variables and edges
represent the conditional dependencies between them.
Each node has a conditional probability table (CPT) that specifies the probability of that node
given its parents in the graph.
BBNs are useful for a wide range of applications such as decision making, diagnosis,
prediction, and planning.
They allow us to reason about uncertain situations by updating our beliefs in a principled
way as new evidence becomes available.
For example, in a medical diagnosis system, a BBN can be used to represent the relationships
between different symptoms and diseases.
By observing the symptoms, the BBN can update the probability of each disease and help
identify the most likely diagnosis.
Overall, BBNs provide a powerful framework for representing and reasoning about
uncertainty in complex systems
For example, if we're trying to diagnose a medical condition, we might have nodes for
symptoms like fever, headache, and fatigue, and nodes for possible diagnoses. The edges
between these nodes represent the relationships between symptoms and possible
diagnoses.
Each node in the BBN also has a table that shows how likely it is to occur given the state of its
parent nodes. We can use these tables to calculate the probability of different outcomes
based on the available evidence.
Overall, BBNs are useful for modeling uncertain situations, such as medical diagnosis or
predicting the outcome of a decision, and updating our beliefs as we receive new
information.
Bayesian networks are probabilistic, because these networks are built from
a probability distribution, and also use probability theory for prediction and anomaly
detection.
Real world applications are probabilistic in nature, and to represent the relationship
between multiple events, we need a Bayesian network. It can also be used in various
tasks including prediction, anomaly detection, diagnostics, automated insight,
reasoning, time series prediction, and decision making under uncertainty.
Bayesian Network can be used for building models from data and experts opinions,
and it consists of two parts:
The generalized form of Bayesian network that represents and solve decision problems
under uncertain knowledge is known as an Influence diagram.
A Bayesian network graph is made up of nodes and Arcs (directed links), where:
Phases of NLP
There are the following five phases of NLP:
1. Lexical Analysis and Morphological
The first phase of NLP is the Lexical Analysis. This phase scans the source code as a
stream of characters and converts it into meaningful lexemes. It divides the whole text
into paragraphs, sentences, and words.
Syntactic Analysis is used to check grammar, word arrangements, and shows the
relationship among the words.
In the real world, Agra goes to the Poonam, does not make any sense, so this
sentence is rejected by the Syntactic analyzer.
3. Semantic Analysis
4. Discourse Integration
Discourse Integration depends upon the sentences that proceeds it and also invokes
the meaning of the sentences that follow it.
5. Pragmatic Analysis
Pragmatic is the fifth and last phase of NLP. It helps you to discover the intended effect
by applying a set of rules that characterize cooperative dialogues.
PlayNext
Unmute
Duration 18:10
Loaded: 8.81%
Â
Fullscreen
Backward Skip 10sPlay VideoForward Skip 10s
The given figure illustrates the typical diagram of Biological Neural Network.
The typical Artificial Neural Network looks something like the given figure.
Dendrites Inputs
Synapse Weights
Axon Output
There are around 1000 billion neurons in the human brain. Each neuron has an
association point somewhere in the range of 1,000 and 100,000. In the human brain,
data is stored in such a manner as to be distributed, and we can extract more than one
piece of this data when necessary from our memory parallelly. We can say that the
human brain is made up of incredibly amazing parallel processors.
We can understand the artificial neural network with an example, consider an
example of a digital logic gate that takes an input and gives an output. "OR"
gate, which takes two inputs. If one or both the inputs are "On," then we get
"On" in output. If both the inputs are "Off," then we get "Off" in output. Here
the output depends upon input. Our brain does not perform the same task. The
outputs to inputs relationship keep changing because of the neurons in our
brain, which are "learning."
Input Layer:
As the name suggests, it accepts inputs in several different formats provided by the
programmer.
Hidden Layer:
The hidden layer presents in-between input and output layers. It performs all the
calculations to find hidden features and patterns.
Output Layer:
The input goes through a series of transformations using the hidden layer, which finally
results in output that is conveyed using this layer.
The artificial neural network takes input and computes the weighted sum of the inputs
and includes a bias. This computation is represented in the form of a transfer function.
Artificial neural networks have a numerical value that can perform more than one task
simultaneously.
Data that is used in traditional programming is stored on the whole network, not on a
database. The disappearance of a couple of pieces of data in one place doesn't prevent
the network from working.
After ANN training, the information may produce output even with inadequate data.
The loss of performance here relies upon the significance of missing data.
It is the most significant issue of ANN. When ANN produces a testing solution, it does
not provide insight concerning why and how. It decreases trust in the network.
Hardware dependence:
Artificial neural networks need processors with parallel processing power, as per their
structure. Therefore, the realization of the equipment is dependent.
ANNs can work with numerical data. Problems must be converted into numerical
values before being introduced to ANN. The presentation mechanism to be resolved
here will directly impact the performance of the network. It relies on the user's abilities.
Feedback ANN:
In this type of ANN, the output returns into the network to accomplish the best-
evolved results internally. As per the University of Massachusetts, Lowell Centre for
Atmospheric Research. The feedback networks feed information back into itself and
are well suited to solve optimization issues. The Internal system error corrections utilize
feedback ANNs.
Feed-Forward ANN:
A feed-forward network is a basic neural network comprising of an input layer, an output layer,
and at least one layer of a neuron. Through assessment of its output by reviewing its input,
the intensity of the network can be noticed based on group behavior of the associated
neurons, and the output is decided. The primary advantage of this network is that it figures
out how to evaluate and recognize input patterns.
These are just a few examples of the many types of neural networks that exist. Each
type of neural network has its own strengths and weaknesses, and is suited to
different types of tasks.
Machine Learning –
https://www.javatpoint.com/machine-learning
1. Supervised learning
2. Unsupervised learning
3. Reinforcement learning
1) Supervised Learning
Supervised learning is a type of machine learning method in which we provide sample
labeled data to the machine learning system in order to train it, and on that basis, it
predicts the output.
The system creates a model using labeled data to understand the datasets and learn
about each data, once the training and processing are done then we test the model
by providing a sample data to check whether it is predicting the exact output or not.
The goal of supervised learning is to map input data with the output data. The
supervised learning is based on supervision, and it is the same as when a student learns
things in the supervision of the teacher. The example of supervised learning is spam
filtering.
o Classification
o Regression
2) Unsupervised Learning
Unsupervised learning is a learning method in which a machine learns without any
supervision.
The training is provided to the machine with the set of data that has not been labeled,
classified, or categorized, and the algorithm needs to act on that data without any
supervision. The goal of unsupervised learning is to restructure the input data into new
features or a group of objects with similar patterns.
o Clustering
o Association
3) Reinforcement Learning
Reinforcement learning is a feedback-based learning method, in which a learning
agent gets a reward for each right action and gets a penalty for each wrong action.
The agent learns automatically with these feedbacks and improves its performance. In
reinforcement learning, the agent interacts with the environment and explores it. The
goal of an agent is to get the most reward points, and hence, it improves its
performance.
The robotic dog, which automatically learns the movement of his arms, is an example
of Reinforcement learning.
Machine Learning is one of the driving forces behind automation, and it is cutting
down time and human workload. Automation can now be seen everywhere, and the
complex algorithm does the hard work for the user. Automation is more reliable,
efficient, and quick. With the help of machine learning, now advanced computers are
being designed. Now this advanced computer can handle several machine-learning
models and complex algorithms. However, automation is spreading faster in the
industry but, a lot of research and innovation are required in this field.
2. Scope of Improvement
Machine Learning is a field where things keep evolving. It gives many opportunities
for improvement and can become the leading technology in the future. A lot of
research and innovation is happening in this technology, which helps improve software
and hardware.
Machine Learning is going to be used in the education sector extensively, and it will
be going to enhance the quality of education and student experience. It has emerged
in China; machine learning has improved student focus. In the e-commerce field,
Machine Learning studies your search feed and give suggestion based on them.
Depending upon search and browsing history, it pushes targeted advertisements and
notifications to users.
1. Data Acquisition
The whole concept of machine learning is about identifying useful data. The outcome
will be incorrect if a credible data source is not provided. The quality of the data is also
significant. If the user or institution needs more quality data, wait for it. It will cause
delays in providing the output. So, machine learning significantly depends on the data
and its quality.
The data that machines process remains huge in quantity and differs greatly. Machines
require time so that their algorithm can adjust to the environment and learn it. Trials
runs are held to check the accuracy and reliability of the machine. It requires massive
and expensive resources and high-quality expertise to set up that quality of
infrastructure. Trials runs are costly as they would cost in terms of time and expenses.
3. Results Interpretations
One of the biggest advantages of Machine learning is that interpreted data that we
get from the cannot be hundred percent accurate. It will have some degree of
inaccuracy. For a high degree of accuracy, algorithms should be developed so that
they give reliable results.
The error committed during the initial stages is huge, and if not corrected at that time,
it creates havoc. Biasness and wrongness have to be dealt with separately; they are not
interconnected. Machine learning depends on two factors, i.e., data and algorithm.
All the errors are dependent on the two variables. Any incorrectness in any variables
would have huge repercussions on the output.
5. Social Changes
Machine learning is bringing numerous social changes in society. The role of machine
learning-based technology in society has increased multifold. It is influencing the
thought process of society and creating unwanted problems in society. Character
assassination and sensitive details are disturbing the social fabric of society.
With the advancement of machine learning, the nature of the job is changing. Now, all
the work are done by machine, and it is eating up the jobs for human which were done
earlier by them. It is difficult for those without technical education to adjust to these
changes.
8. Highly Expensive
This software is highly expensive, and not everybody can own it. Government agencies,
big private firms, and enterprises mostly own it. It needs to be made accessible to
everybody for wide use.
9. Privacy Concern
As we know that one of the pillars of machine learning is data. The collection of data
has raised the fundamental question of privacy. The way data is collected and used for
commercial purposes has always been a contentious issue. In India, the Supreme
court of India has declared privacy a fundamental right of Indians. Without the user's
permission, data cannot be collected, used, or stored. However, many cases have come
up that big firms collect the data without the user's knowledge and using it for their
commercial gains.
Machine learning is evolving concept. This area has not seen any major developments
yet that fully revolutionized any economic sector. The area requires continuous
research and innovation.